In QTextDocument (when you load from *.txt files) a paragraph is a line. Maybe that is what's confusing for you.
Now I have a question:
Does anyone know how to query the syntax highlighter for it's state? I want to know the state at a random offset of some random paragraph.




Reply With Quote
Bookmarks