mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Mark spaces which belong to a foreign language in the same manner that non-whitespace is marked (from Dov).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18387 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9092bffc32
commit
8283c6f5b2
@ -818,10 +818,13 @@ void RowPainter::paintText()
|
||||
x_ += 2;
|
||||
++vpos;
|
||||
} else if (par_.isSeparator(pos)) {
|
||||
Font orig_font = text_.getFont(*bv_.buffer(), par_, pos);
|
||||
double const orig_x = x_;
|
||||
x_ += width_pos;
|
||||
if (pos >= body_pos)
|
||||
x_ += separator_;
|
||||
++vpos;
|
||||
paintForeignMark(orig_x, orig_font);
|
||||
} else {
|
||||
paintFromPos(vpos);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user