}
-
-auto_ptr<InsetBase> MathScriptInset::clone() const
+auto_ptr<InsetBase> MathScriptInset::doClone() const
{
return auto_ptr<InsetBase>(new MathScriptInset(*this));
}
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())
{
MathNestInset::notifyCursorLeaves(cur);
- lyxerr << "MathScriptInset::notifyCursorLeaves: 1 " << cur << endl;
+ //lyxerr << "MathScriptInset::notifyCursorLeaves: 1 " << cur << endl;
// remove empty scripts if possible
if (1) {
}
}
- lyxerr << "MathScriptInset::notifyCursorLeaves: 2 " << cur << endl;
+ //lyxerr << "MathScriptInset::notifyCursorLeaves: 2 " << cur << endl;
}
-void MathScriptInset::priv_dispatch(LCursor & cur, FuncRequest & cmd)
+void MathScriptInset::doDispatch(LCursor & cur, FuncRequest & cmd)
{
//lyxerr << "MathScriptInset: request: " << cmd << std::endl;
return;
}
- MathNestInset::priv_dispatch(cur, cmd);
+ MathNestInset::doDispatch(cur, cmd);
}