]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macro.h
forward search in math insets. ugly. seems to work. don't ask why.
[lyx.git] / src / mathed / math_macro.h
index 036152a984172e505bb5d4ed165ff02fb7c5b5ad..2c3fdcfadadd270248b0519f2d504034d74302e0 100644 (file)
@@ -51,9 +51,9 @@ public:
        void dump() const;
 
        ///
-       bool idxUp(idx_type &, pos_type &) const;
+       bool idxUp(idx_type &) const;
        ///
-       bool idxDown(idx_type &, pos_type &) const;
+       bool idxDown(idx_type &) const;
        ///
        bool idxLeft(idx_type &, pos_type &) const;
        ///
@@ -63,6 +63,8 @@ public:
        void validate(LaTeXFeatures &) const;
        ///
        bool isMacro() const { return true; }
+       ///
+       bool match(MathInset *) const { return false; }
 
        ///
        void normalize(NormalStream &) const;
@@ -84,6 +86,8 @@ private:
        bool editing() const;
        ///
        bool defining() const;
+       ///
+       void updateExpansion() const;
 
        ///
        MathAtom & tmplate_;