[Qt-interest] QPlainTextEdit and files larger than 1G
anders.bakken at nokia.com
anders.bakken at nokia.com
Thu Oct 29 01:52:50 CET 2009
I have a little Qt-based LGPL project that does this kind of thing (with limited formatting as well).
Feel free to check it out here:
http://github.com/Andersbakken/LazyTextEdit
It's functional and I don't know about a whole lot of bugs.
Anders
________________________________________
From: qt-interest-bounces at trolltech.com [qt-interest-bounces at trolltech.com] On Behalf Of ext Thiago Macieira [thiago at kde.org]
Sent: Wednesday, October 28, 2009 10:37 AM
To: qt-interest at trolltech.com
Subject: Re: [Qt-interest] QPlainTextEdit and files larger than 1G
Em Quarta-feira 28 Outubro 2009, às 17:51:22, você escreveu:
> Also, I wonder how "kate" handles this since "kate" seems not to have any
> problems reading the file and scrolling thorugh it.
Kate has its own paging code. It reads chunks of the file and may save the
processed data to disk. It doesn't try to keep the entire Unicode decoding of
the file in memory, much less the entire rendered data.
That's the kind of stuff that QPlainTextEdit does not have. It was never meant
to be used with huge files.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
More information about the Qt-interest-old
mailing list