/// paint visible paragraph of main text
void paintText(BufferView const & bv, ViewMetricsInfo const & vi,
- lyx::frontend::Painter & pain);
+ lyx::frontend::Painter & painter);
/// paint the rows of a text inset
void paintTextInset(LyXText const & text, PainterInfo & pi, int x, int y);