Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
4.5.2, 5.0.2
-
None
Description
Steps to reproduce / test case
Create an instance of QTextDocument with text "abc" and access its characterCount() method, this will return an character count of 4 instead of 3.
The QTextDocument seems to contain the single paragraph separator also when it is non-empty.
A testcase project is attached.
Attachments
Issue Links
- relates to
-
QTBUG-80662 Update QTextDocument::characterCount() for Qt 6
- Reported