summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/offscreen
diff options
context:
space:
mode:
authorDan Cape <dcape@qnx.com>2015-08-21 14:37:45 -0400
committerDan Cape <dcape@qnx.com>2016-03-02 16:00:02 +0000
commit36ecf2c025a95b54f7cf53315b36dad4a6d86d0f (patch)
treed9c0e28ae183ff324388f2ebc256fe7824c0c7d7 /src/plugins/platforms/offscreen
parent6691df5336faef47f173b6f36410203392573ddc (diff)
Fix QTextEdit/QQuickTextEdit undo bug - Part #2
If a user selected the text "foo" and typed "bar", upon pressing undo, the text would change to "b". This is incorrect and does not match the functionality of QLineEdit or the default behaviours of Windows/OSX/Ubuntu. This was fixed by a change made to always merge two sequential inserts if they are not part of the same block. Previously the selection delete and the "b" were part of one edit block and "ar" was part of another. With this change, the selection delete and "bar" are part of the same edit block. Unit test changes are part of a separate review (Part #1) since they required changes in qtdeclarative. [ChangeLog][QtGui][Important Behavior Changes] Fixed QTextEdit to match undo functionality of QLineEdit to group two sequential inserts into one undo action. Task-number: QTBUG-38825 Change-Id: I76bf30e331e3526277c3e0ade58cf95b611fc117 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/offscreen')
0 files changed, 0 insertions, 0 deletions