]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.h
hyperref support for tex2lyx
[lyx.git] / src / Cursor.h
index 719a2cbd4f8138e49259badd6abd6ac065cb22ce..0e01c63b51f48548ae6d6f26f6282f45304a4cc3 100644 (file)
@@ -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;