}
-//ostream & operator<<(ostream & os, LyXCursor const & c)
-//{
-// os << '[' << c.x() << ' ' << c.y() << ' ' << c.pos() << ']';
-// return os;
-//}
-
-
namespace {
bool editing_inset(InsetFormula const * inset)
void InsetFormula::draw(PainterInfo & pi, int x, int y) const
{
+ xo_ = x;
+ yo_ = y;
+
// The previews are drawn only when we're not editing the inset.
bool const use_preview = !editing_inset(this)
&& RenderPreview::activated()
par_->draw(p, x, y);
}
-
- xo_ = x;
- yo_ = y;
-
- top_x = x;
- top_baseline = y;
-
}