]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_scriptinset.C
code cosmetics to the iterator fix
[lyx.git] / src / mathed / math_scriptinset.C
index cf23765572186e00b490bb7606b1210e4e5316e8..fc6f7601f1f5371bbf532116b5662f934f309867 100644 (file)
@@ -245,7 +245,7 @@ void MathScriptInset::draw(PainterInfo & pi, int x, int y) const
        else {
                nuc().setXY(x + dxx(), y);
                if (editing(pi.base.bv))
-                       drawStr(pi, pi.base.font, x + dxx(), y, ".");
+                       pi.draw(x + dxx(), y, ".");
        }
        ScriptChanger dummy(pi.base);
        if (hasUp())
@@ -556,7 +556,7 @@ void MathScriptInset::notifyCursorLeaves(LCursor & cur)
 {
        MathNestInset::notifyCursorLeaves(cur);
 
-       lyxerr << "MathScriptInset::notifyCursorLeaves: 1 " << cur << endl;
+       //lyxerr << "MathScriptInset::notifyCursorLeaves: 1 " << cur << endl;
 
        // remove empty scripts if possible
 if (1) {
@@ -569,7 +569,7 @@ if (1) {
        }
 }
 
-       lyxerr << "MathScriptInset::notifyCursorLeaves: 2 " << cur << endl;
+       //lyxerr << "MathScriptInset::notifyCursorLeaves: 2 " << cur << endl;
 }