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:
José Matox 2007-05-17 21:20:34 +00:00
parent 9092bffc32
commit 8283c6f5b2

View File

@ -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);
}