Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QSyntaxHighligher and QTextBlockUserData storage

QSyntaxHighligher and QTextBlockUserData storage

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nekkro-kvlt
    wrote on last edited by
    #1

    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 :)

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved