- x = text_.cursorX(bv, sl, boundary);
- y = text_.cursorY(bv, sl, boundary);
-}
-
-
-void InsetMathMBox::drawSelection(PainterInfo & pi, int x, int y) const
-{
- text_.drawSelection(pi, x, y);
+ x = bv.textMetrics(&text_).cursorX(sl, boundary);
+ y = bv.textMetrics(&text_).cursorY(sl, boundary);