Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
4.5.3
-
None
-
All platforms.
-
965d0b477c13e2f92866cecb73064c3f0d722714
Description
The documentation for QTextCursor::charFormat() correctly states "Returns the format of the character immediately before the cursor position()."
However, the introduction of the same document directly contradicts this:
"When we refer to "current character" we mean the character immediately after the cursor position() in the document; ... The format of the current character is returned by charFormat(), "
The intro needs to be corrected.
I suspect this is not the only place in this document that has this problem: there is probably a bigger issue of before vs. after cursors that warrants someone looking through the dox in a more methodical way.