]> git.lyx.org Git - lyx.git/blobdiff - src/Undo.h
More requires --> required, for C++2a.
[lyx.git] / src / Undo.h
index dd7035816d9287a2cbbdee858c9943e0aa3fe5d2..c2b9b5d074b4e6e8fbef33e40e5aac73e74df3b3 100644 (file)
@@ -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;