]> 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 4a9bf76ce12c0f0160deab6cb8f2e03da4678092..179b32fad681e3bf81d3122de3886a0934b750db 100644 (file)
@@ -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_ << "] ";
 }