X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FCursor.h;h=0e01c63b51f48548ae6d6f26f6282f45304a4cc3;hb=416d19ff84f021bf087cc1a591fe61176f39b40d;hp=719a2cbd4f8138e49259badd6abd6ac065cb22ce;hpb=5577e877bb0a25a0919db09b10effe9f54ff1333;p=lyx.git diff --git a/src/Cursor.h b/src/Cursor.h index 719a2cbd4f..0e01c63b51 100644 --- a/src/Cursor.h +++ b/src/Cursor.h @@ -111,7 +111,7 @@ public: */ bool selHandle(bool selecting); /// - docstring selectionAsString(bool label) const; + docstring selectionAsString(bool with_label) const; /// docstring currentState() const; @@ -280,7 +280,8 @@ public: void recordUndo(UndoKind kind = ATOMIC_UNDO) const; /// Convenience: prepare undo for the inset containing the cursor - void recordUndoInset(UndoKind kind = ATOMIC_UNDO) const; + void recordUndoInset(UndoKind kind = ATOMIC_UNDO, + Inset const * inset = 0) const; /// Convenience: prepare undo for the whole buffer void recordUndoFullDocument() const;