Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.2
-
None
-
Windows 11, MSVC 2019 32bit
Description
After some testing, two scenarios appear to be repeatable 100% :
- Inserting more than one char at once at the beginning of the document, like paste (previously copied text) more than one char at the very start, either by selecting previously inserted characters or not will give wrong values (Seems like this was already reported here)
- Inserting a new line (\n) in a QListText :
- position is always equal to 2
- charsRemoved is equal to the number of all previously inserted text until the end of the list (last '\n' excluded)
- charsAdded is equal to charsRemoved + 1 (Speculating the '+ 1 ' is for the new inserted char, which is the newly inserted '\n')