Fix show-trailing-whitespace in R2L text
* src/xdisp.c (highlight_trailing_whitespace): Allow for stretch glyphs at the left edge of R2L lines, when skipping glyphs inserted by the display engine. This unbreaks show-trailing-whitespace in R2L lines.
This commit is contained in:
parent
93c0527a6a
commit
7fddde1f06
1 changed files with 1 additions and 1 deletions
|
@ -20578,7 +20578,7 @@ highlight_trailing_whitespace (struct it *it)
|
|||
else
|
||||
{
|
||||
while (glyph <= start
|
||||
&& glyph->type == CHAR_GLYPH
|
||||
&& (glyph->type == CHAR_GLYPH || glyph->type == STRETCH_GLYPH)
|
||||
&& NILP (glyph->object))
|
||||
++glyph;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue