Unsolved Multiple QTextBlocks in same paragraph
-
I found a previous question on here from 2012, which no one answered.
I'm curious it is possible to have a paragraph made up of multiple QTextBlocks when viewed in QTextEdit (by subclassing QTextBlock, changing QAbstractTextDocumentLayout, anything). I would really like to be able to "track" and add userData to individual sentences, and even sequences of words, inside a single paragraph. Even if that means having to track paragraph markers within a QTextBlock's userData.