projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93c0527
)
Fix show-trailing-whitespace in R2L text
author
Eli Zaretskii
<eliz@gnu.org>
Mon, 11 Mar 2019 15:32:38 +0000
(17:32 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Mon, 11 Mar 2019 15:32:38 +0000
(17:32 +0200)
* 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.
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index 6d30afda6d886d88c33d2abbcc38b420ffe5602d..5ae8fc1cf6b317cd378c43bbc79b3cb8cb320d0e 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-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;
}