]> git.lyx.org Git - features.git/blobdiff - src/Cursor.h
Allow to undo partly math autocorrect
[features.git] / src / Cursor.h
index 38ddad3502c314f36410d66c76965e567d4ce467..3d3db5daa2b78bd2c481ddcbc6536caf6c58453d 100644 (file)
@@ -183,6 +183,8 @@ public:
        void beginUndoGroup() const;
        /// end the current undo group
        void endUndoGroup() const;
+       /// end abruptly the current group and create a new one wih the same nesting level
+       void splitUndoGroup() const;
 
        /// The general case: prepare undo for an arbitrary range.
        void recordUndo(pit_type from, pit_type to) const;