Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.15, 6.5, 6.7, 6.8, 6.9, 6.10, 6.11, 6.12
-
None
Description
While fundamentally adequate and sufficient, the documentation related to QTextDocumentFragment (in its own class docs or in related ones) may lead to believe that it may be a "simpler" (and possibly faster/lighter) object to use than a QTextDocument in some contexts.
In reality, that class internally creates a further internal QTextDocument to manage and access the given fragment.
Despite the fact that the above mentioned contexts may be rare, being aware of such implicitly created objects may be quite relevant, and should be clearly addressed in the documentation.