When painting only insets, paint also change and language marks

Fixes bug #10265.

(cherry picked from commit c73923c519)
This commit is contained in:
Jean-Marc Lasgouttes 2016-07-20 23:25:17 +02:00
parent 6633e7aa3e
commit 5f2023796a
2 changed files with 7 additions and 0 deletions

View File

@ -587,7 +587,13 @@ void RowPainter::paintOnlyInsets()
x_ += e.full_width();
continue;
}
int orig_x = x_;
paintInset(e.inset, e.font, e.change, e.pos);
// The line that indicates word in a different language
paintForeignMark(orig_x, e.font.language(), e.dim.descent());
// change tracking (not for insets that handle it themselves)
if (! e.inset->canTrackChanges())
paintChange(orig_x, e.font, e.change);
} else
x_ += e.full_width();
}

View File

@ -49,6 +49,7 @@ What's new
- Fix display of multi-author citations when the GUI language is not English.
- Fix bug where change tracking marks are lost under math insets (bug 10265).
* INTERNALS