]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macroarg.h
forward search in math insets. ugly. seems to work. don't ask why.
[lyx.git] / src / mathed / math_macroarg.h
index c8855d9a87d1d177703ceef742d94c9117ae95ca..b200bcc5045fbf18d510c13b49fc3f7b9d46799e 100644 (file)
@@ -18,17 +18,18 @@ public:
        ///
        MathInset * clone() const;
        ///
+       bool isActive() const { return false; }
+       ///
        void metrics(MathMetricsInfo const & st) const;
        ///
        void draw(Painter &, int x, int y) const;
        ///
-       void write(MathWriteInfo & os) const;
-       ///
-       void writeNormal(std::ostream &) const;
-       ///
        void substitute(MathMacro const & macro);
+
        ///
-       bool isActive() const { return false; }
+       void normalize(NormalStream &) const;
+       ///
+       void write(WriteStream & os) const;
 
 private:
        /// A number between 1 and 9
@@ -37,6 +38,8 @@ private:
        char str_[3];
        ///
        bool expanded_;
+       ///
+       mutable MathMetricsInfo mi_;
 };
 
 #endif