]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_cursor.h
remove unneeded member
[lyx.git] / src / mathed / math_cursor.h
index f6bad5629b27696c6a74b025197a2e33550e2d44..96d0348085baebb5a80f0bfa5afc51de198e5ad9 100644 (file)
@@ -60,6 +60,8 @@ public:
        ///
        explicit MathCursor(InsetFormulaBase *, bool left);
        ///
+       ~MathCursor();
+       ///
        void insert(MathAtom const &);
        ///
        void insert(MathArray const &);
@@ -115,7 +117,7 @@ public:
        /// go up to the hull inset
        void popToEnclosingHull();
        ///
-       InsetFormulaBase * formula();
+       InsetFormulaBase * formula() const;
        /// current offset in the current cell
        pos_type pos() const;
        /// current cell
@@ -238,6 +240,8 @@ public:
        /// how deep are we nested?
        unsigned depth() const;
 
+       /// local dispatcher
+       int dispatch(string const & cmd);
        /// describe the situation
        string info() const;
        /// dump selection information for debugging
@@ -247,7 +251,9 @@ public:
        /// moves on
        void setSelection(cursor_type const & where, size_type n);
        ///
-       void insert(char);
+       void insert(char c);
+       ///
+       void insert(string const & str);
        /// lock/unlock inset
        void insetToggle();