]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macroarg.C
forward search in math insets. ugly. seems to work. don't ask why.
[lyx.git] / src / mathed / math_macroarg.C
index 6a6a639b43e079f852bcc3cc8e9b48cda67fb24e..179b32fad681e3bf81d3122de3886a0934b750db 100644 (file)
@@ -6,7 +6,7 @@
 #include "math_macro.h"
 #include "math_defs.h"
 #include "math_mathmlstream.h"
-#include "support.h"
+#include "math_support.h"
 #include "debug.h"
 
 
@@ -30,9 +30,9 @@ MathInset * MathMacroArgument::clone() const
 }
 
 
-void MathMacroArgument::write(MathWriteInfo & os) const
+void MathMacroArgument::write(WriteStream & os) const
 {
-       os << '#' << number_;
+       os << str_;
 }
 
 
@@ -58,9 +58,9 @@ void MathMacroArgument::draw(Painter & pain, int x, int y) const
 }
 
 
-void MathMacroArgument::writeNormal(NormalStream & os) const
+void MathMacroArgument::normalize(NormalStream & os) const
 {
-       os << "[macroarg " << number_ << "] ";
+       os << "[macroarg " << str_ << "] ";
 }