]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathMacro.h
simplify GuiToc / TocWidget interaction. Much can still be simplified...
[lyx.git] / src / mathed / MathMacro.h
index 276cbdb21f222fda328bce6d05e45f3524e537e8..a4928f1cd58f7f4ded1d5e47ac319107411c1dc4 100644 (file)
@@ -46,7 +46,7 @@ public:
        void cursorPos(BufferView const & bv, CursorSlice const & sl,
                bool boundary, int & x, int & y) const;
        ///
-       void edit(Cursor & cur, bool left);
+       void edit(Cursor & cur, bool front, EntryDirection entry_from);
        ///
        Inset * editXY(Cursor & cur, int x, int y);
 
@@ -155,6 +155,8 @@ private:
        DisplayMode displayMode_;
        /// expanded macro with ArgumentProxies
        InsetMathSqrt expanded_;
+       /// macro definition with #1,#2,.. insets
+       MathData definition_;
        /// number of arguments that were really attached
        size_t attachedArgsNum_;
        /// optional argument attached? (only in DISPLAY_NORMAL mode)