]> git.eshelyaron.com Git - emacs.git/commit
Fix display of stretches of whitespace in the display margins
authorEli Zaretskii <eliz@gnu.org>
Wed, 27 Jan 2021 15:52:51 +0000 (17:52 +0200)
committerEli Zaretskii <eliz@gnu.org>
Wed, 27 Jan 2021 15:52:51 +0000 (17:52 +0200)
commitff0341126918e36777d1b85a3661577442b574cb
tree4374511042f0efc9a1305ef252830011ec22a625
parent12095de8b918b3c44c603bf88bc98f1842910f86
Fix display of stretches of whitespace in the display margins

* src/xdisp.c (produce_stretch_glyph): Truncate the stretch glyph
due to line wrap only when drawing in the text area.
* src/xterm.c (x_draw_stretch_glyph_string):
* src/w32term.c (w32_draw_stretch_glyph_string): Fix the
adjustment of the stretch X and width so that stretch glyphs could
be drawn in the left margin.  Reported by Paul W. Rankin
<pwr@bydasein.com>.
src/w32term.c
src/xdisp.c
src/xterm.c