]> git.lyx.org Git - features.git/blobdiff - src/Cursor.h
Allow to undo partly math autocorrect
[features.git] / src / Cursor.h
index f3acd9909fa4412cfcccb20ceb775e1840f11552..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;
@@ -241,9 +243,10 @@ private:
 
        // FIXME: make them private
 public:
-       /// the current font settings
+       /// The current font settings. This holds the settings for output.
        Font current_font;
-       /// the current font
+       /// The current display font. This holds the settings of the text
+       /// in the workarea.
        Font real_current_font;
 };