]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathMacro.h
* src/frontends/controllers/Dialog.{cpp,h}:
[lyx.git] / src / mathed / MathMacro.h
index 5d1428c7c0ee6c6a68669f0ff85ef8a307bd2d60..1978df228e2efa74bffb9c60488f15217012a4ba 100644 (file)
@@ -48,10 +48,14 @@ public:
        /// target pos when we enter the inset from the right by pressing "Left"
        bool idxLast(Cursor &) const;
        ///
+       bool idxUpDown(Cursor & cur, bool up) const;
+       ///
        virtual bool notifyCursorLeaves(Cursor &);
        ///
        docstring name() const;
        ///
+       int kerning() const { return kerning_; }
+       ///
        void setExpansion(MathData const & exp, MathData const & args) const;
 
        ///
@@ -72,8 +76,6 @@ private:
        virtual std::auto_ptr<Inset> doClone() const;
        ///
        void updateExpansion() const;
-       ///
-       void expand() const;
 
        /// name of macro
        docstring name_;
@@ -81,6 +83,12 @@ private:
        mutable MathData tmpl_;
        /// the macro substituted with our args
        mutable MathData expanded_;
+       ///
+       mutable MacroData macroBackup_;
+       ///
+       mutable bool editing_;
+       ///
+       mutable int kerning_;
 };