diff options
author | mae <qt-info@nokia.com> | 2009-08-20 16:04:22 (GMT) |
---|---|---|
committer | mae <qt-info@nokia.com> | 2009-08-20 16:10:55 (GMT) |
commit | 735bed15d94c441c0d071bfbe26bc088791275b9 (patch) | |
tree | 75e0b5f3d01ffcc00a92d8a88c3cbd36f8b2e7db /src/gui/text/qfont_win.cpp | |
parent | 9933000d86bd9560769cb900b9e22083a073d837 (diff) | |
download | Qt-735bed15d94c441c0d071bfbe26bc088791275b9.zip Qt-735bed15d94c441c0d071bfbe26bc088791275b9.tar.gz Qt-735bed15d94c441c0d071bfbe26bc088791275b9.tar.bz2 |
Fix undo/redo of single-command edit blocks
(with QTextCursor::beginEditBlock() and QTextCursor::endEditBlock())
Previously QTextDocument would treat single command blocks as if there
was no block, i.e. command compression would occur, causing
tst_QTextDocument::testUndoBlocks() to fail. The patch completes the
insufficient block-flag of QTextUndoCommand with an addition flag block_end.
The block-flag itself is renamed to block_part.
Reviewed-by: con
Diffstat (limited to 'src/gui/text/qfont_win.cpp')
0 files changed, 0 insertions, 0 deletions