mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
When painting only insets, paint also change and language marks
Fixes bug #8133.
This commit is contained in:
parent
64b2989020
commit
c73923c519
@ -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)
|
||||
paintInset(e);
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user