Hi! El mié., 26 ago. 2020 16:59, Scott Bloom <[email protected]> escribió:
> From: Development <[email protected]> On Behalf Of Ville > Voutilainen > Sent: Wednesday, August 26, 2020 12:08 AM > To: Lars Knoll <[email protected]> > Cc: Qt development mailing list <[email protected]> > Subject: Re: [Development] qsizetype and classes working with QStrings or > QList > > On Wed, 26 Aug 2020 at 09:39, Lars Knoll <[email protected]> wrote: > > > QtGui: > > > * QTextCursor > > > * QTextDocument (find offset, character{At,Count}) > > > * QTextLayout > > > * QValidator and subclasses (validate offset) > > > > These here are questionable. Editing a text file with more than 2G > characters? Sounds unlikely. > > Disagree here. There is good reason many in my industry (Electronic > design automation) use the Scintilla editor widget inside Qt apps. > Specifically to handle extremely large, in both line count and column > count, files. > > Many of the text files we work with, are generated library definitions for > silicon definitions. A 5+ gb file is not uncommon. Or files with a truth > table definition with 5000-1000 columns. I kid you not. > > Its one thing to not handle it, and say "too big to open" its another to > attempt to and crash because the internal integers cant handle it. > > Scintilla handles these massive files relatively easily. > Yes, this files terms to be huge and are a valid case after all. >
_______________________________________________ Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
