summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_script_qscriptengine.cpp
diff options
context:
space:
mode:
authormae <qt-info@nokia.com>2010-04-07 11:13:15 (GMT)
committermae <qt-info@nokia.com>2010-04-07 11:13:15 (GMT)
commitaeaa61a4b8ad7339bd5d1a32374c05253ce971da (patch)
tree31c2339cf4837b1052dd7baab018253dfee072f0 /doc/src/snippets/code/src_script_qscriptengine.cpp
parent82e224ee5e5388e8b5be186db6a60339e7b8fba3 (diff)
downloadQt-aeaa61a4b8ad7339bd5d1a32374c05253ce971da.zip
Qt-aeaa61a4b8ad7339bd5d1a32374c05253ce971da.tar.gz
Qt-aeaa61a4b8ad7339bd5d1a32374c05253ce971da.tar.bz2
Fix QTextDocument::undo() cursor positioning
When doing block undo operations, QTextDocument used the change position of the last undo command for positioning the cursor. This is incorrect if the last commands are of type QTextUndoCommand::Removed but split because of the text fragments. The bug is highly noticable in creator when inserting snippets and doing undo afterwards. The change adds an auto test.
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptengine.cpp')
0 files changed, 0 insertions, 0 deletions