Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
Multiple QTextBlocks in same paragraph
Adamxxk last edited by
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.