]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.h
Revert 23154.
[lyx.git] / src / Cursor.h
index 95cb4cc893f4f2ba4d3a5daa89fe82629a7829d5..073880d9eba60c0c66a6f715cb3aaa4fc37c0e0c 100644 (file)
@@ -350,6 +350,8 @@ public:
        bool inMacroMode() const;
        /// get access to the macro we are currently typing
        InsetMathUnknown * activeMacro();
+       /// get access to the macro we are currently typing
+       InsetMathUnknown const * activeMacro() const;
 
        /// replace selected stuff with at, placing the former
        // selection in given cell of atom
@@ -396,7 +398,7 @@ public:
  * Sure that the cursor old is valid, i.e. all inset pointers
  * point to valid insets! Use Cursor::fixIfBroken if necessary.
  */
-bool notifyCursorLeaves(DocIterator const & old, Cursor & cur);
+bool notifyCursorLeaves(Cursor const & old, Cursor & cur);
 
 
 } // namespace lyx