QSyntaxHighligher and QTextBlockUserData storage



  • Hi all,

    I wanted to know how are the QSyntaxHighligher and QTextBlockUserData classes working. Basically, is the text highlighted when it is displayed, or is it highlighted for the whole document and stored in memory ? If I store data in the block, is the data kept if the block is not visible ?
    I'm working on a project where I may have to open large files, with a lot of formatting and custom data, so to save memory I want to know if I can use these classes "as-is", or if I need to make some custom implementation.

    Thanks in advance :)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.