Details
-
Suggestion
-
Resolution: Out of scope
-
P4: Low
-
4.1.0
-
None
Description
There should be a function that returns a QTextDocument from QTextDocumentFragment which in turn was created from QTextCursor. This could be useful to programmatically get the selected region of a 'big' QTextDocument as a QTextDocument. Currently that's simply not possible, and if you have some custom formats in QTextDocument, those are not accessible.