When painting only insets, paint also change and language marks

Fixes bug #8133.
This commit is contained in:
Jean-Marc Lasgouttes 2016-07-20 23:25:17 +02:00
parent 64b2989020
commit c73923c519

View File

@ -550,8 +550,15 @@ void RowPainter::paintOnlyInsets()
Row::const_iterator const & end = row_.end();
for ( ; cit != end ; ++cit) {
Row::Element const & e = *cit;
if (e.type == Row::INSET)
if (e.type == Row::INSET) {
paintInset(e);
// The line that indicates word in a different language
paintForeignMark(e);
// change tracking (not for insets that handle it themselves)
if (!e.inset->canPaintChange(*pi_.base.bv))
paintChange(e);
}
x_ += e.full_width();
}
}