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 #10265.
(cherry picked from commit c73923c519
)
This commit is contained in:
parent
6633e7aa3e
commit
5f2023796a
@ -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();
|
||||
}
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user