]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_cursor.h
prepare writing info messages to the minibuffer
[lyx.git] / src / mathed / math_cursor.h
index 6e2742fd6505e64415185e9b946663798f44836f..82e5a28d59285776ea13f2b3954c3a696d49999c 100644 (file)
@@ -124,8 +124,10 @@ public:
        bool toggleLimits();
        /// interpret name a name of a macro
        void macroModeClose();
-       ///
+       /// are we currently typing the name of a macro?
        bool inMacroMode() const;
+       /// are we currently typing '#1' or '#2' or...?
+       bool inMacroArgMode() const;
        
        // Local selection methods
        ///
@@ -229,6 +231,8 @@ public:
        /// reference to the last item of the path, i.e. "The Cursor"
        MathCursorPos const & cursor() const;
 
+       /// describe the situation
+       string info() const;
        /// dump selection information for debugging
        void seldump(char const * str) const;
        /// dump selection information for debugging