]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.h
Get rid of unused SessionInfoSection.
[lyx.git] / src / Cursor.h
index c5277927c84c0264686a4672f8b193937177d50f..dc6214777ac3d35791ec8c5714e4950032ce54de 100644 (file)
@@ -95,7 +95,12 @@ public:
        DocIterator selectionBegin() const;
        /// access start of selection
        DocIterator selectionEnd() const;
-       /// FIXME: document this
+       /**
+        * Update the selection status and save permanent
+        * selection if needed.
+        * @param selecting the new selection status
+        * @return whether the selection status has changed
+        */
        bool selHandle(bool selecting);
        ///
        docstring selectionAsString(bool label) const;
@@ -242,6 +247,12 @@ public:
        /// makes sure the next operation will be stored
        void finishUndo() const;
 
+       /// open a new group of undo operations. Groups can be nested.
+       void beginUndoGroup() const;
+
+       /// end the current undo group
+       void endUndoGroup() const;
+
        /// The general case: prepare undo for an arbitrary range.
        void recordUndo(UndoKind kind, pit_type from, pit_type to) const;