X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FUndo.h;h=c2b9b5d074b4e6e8fbef33e40e5aac73e74df3b3;hb=62af7ee772f16f154225d2d0b65d77f4376b6001;hp=dd7035816d9287a2cbbdee858c9943e0aa3fe5d2;hpb=86398b5d9135b05d368a0a4af45510d6d0827ac0;p=lyx.git diff --git a/src/Undo.h b/src/Undo.h index dd7035816d..c2b9b5d074 100644 --- a/src/Undo.h +++ b/src/Undo.h @@ -96,6 +96,8 @@ public: void endUndoGroup(); /// end the current undo group and set UndoElement::cur_after if necessary. void endUndoGroup(CursorData const & cur_after); + /// end abruptly the current group and create a new one wih the same nesting level + void splitUndoGroup(CursorData const & cur); /// return true if an undo group is open and contains at least one element bool activeUndoGroup() const;