summaryrefslogtreecommitdiffstats
path: root/LICENSE.GPL3
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2020-04-21 09:55:05 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2021-11-29 13:25:31 +0100
commit8fbedf2196a292fe2affcf83ddc846b9c852772a (patch)
treec167c1dc37a375a55c80daa9cfd396ba204fcd06 /LICENSE.GPL3
parenta892a7b2caf4e915acb0cb1f6007d63c1d0fb40b (diff)
QTextDocument: fix an off-by-one in the changed signal for lists
When blocks are added or removed in block groups, i.e. items added or removed from text lists, the whole group is marked as changed, but the calculation of the before/after group length would be one off. That was reflected in the contentsChange signal. Add unit test. Since the whole group changes when list items are added, text is removed and the change-begin is not where the cursor was when the change was made. Fixes: QTBUG-82455 Pick-to: 6.2 5.15 Change-Id: I99ee2cfef4944fcac8aca492741fd0f3b0de4920 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'LICENSE.GPL3')
0 files changed, 0 insertions, 0 deletions