Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
4.0.1
-
None
Description
If you do the following
cursor.beginEditBlock();
cursor.inserText("A");
cursor.endEditBlock();
cursor.beginEditBlock();
cursor.inserText("B");
cursor.endEditBlock();
document->undo();
then the undo() call will remove both the A and the B, but the docs for QTextCursor::endEditBlock() indicates that it shouldn't.