diff options
| author | Eli Zaretskii | 2012-07-07 19:36:02 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2012-07-07 19:36:02 +0300 |
| commit | 58dd0aa4c5a1e67d5b78a14e98b9da1a1433fbb4 (patch) | |
| tree | 6f388bcf243d9a45882532bd1e196604ca78c961 /src/ChangeLog | |
| parent | 8a70567414af07cb4c12505c87c08b7a9b7de973 (diff) | |
| download | emacs-58dd0aa4c5a1e67d5b78a14e98b9da1a1433fbb4.tar.gz emacs-58dd0aa4c5a1e67d5b78a14e98b9da1a1433fbb4.zip | |
Fix bug #11832 with truncated lines when fringes are disabled on GUI frames.
src/xdisp.c (init_iterator): Get dimensions of truncation and
continuation glyphs even if on GUI frames. Adjust
it->last_visible_x on GUI frames when the left or right fringes,
or both, are absent.
(start_display, move_it_in_display_line_to): Handle the case of a
GUI frame without a fringe to display continuation or truncation
glyphs.
(insert_left_trunc_glyphs): Support GUI frames: make sure
truncation glyphs overwrite enough glyphs from the current line to
have sufficient space in pixels.
(display_line): Support truncation and continuation glyphs on GUI
frames. If some spare pixels are left on the line after inserting
the truncation glyphs, fill that space with a stretch glyph of a
suitably computed width.
src/term.c (produce_special_glyphs): Call PRODUCE_GLYPHS, not
produce_glyphs, to support GUI sessions.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 9b76d795249..5eeace9beaf 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,25 @@ | |||
| 1 | 2012-07-07 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | Support truncation and continuation glyphs on GUI frames, when | ||
| 4 | fringes are disabled. (Bug#11832) | ||
| 5 | * xdisp.c (init_iterator): Get dimensions of truncation and | ||
| 6 | continuation glyphs even if on GUI frames. Adjust | ||
| 7 | it->last_visible_x on GUI frames when the left or right fringes, | ||
| 8 | or both, are absent. | ||
| 9 | (start_display, move_it_in_display_line_to): Handle the case of a | ||
| 10 | GUI frame without a fringe to display continuation or truncation | ||
| 11 | glyphs. | ||
| 12 | (insert_left_trunc_glyphs): Support GUI frames: make sure | ||
| 13 | truncation glyphs overwrite enough glyphs from the current line to | ||
| 14 | have sufficient space in pixels. | ||
| 15 | (display_line): Support truncation and continuation glyphs on GUI | ||
| 16 | frames. If some spare pixels are left on the line after inserting | ||
| 17 | the truncation glyphs, fill that space with a stretch glyph of a | ||
| 18 | suitably computed width. | ||
| 19 | |||
| 20 | * term.c (produce_special_glyphs): Call PRODUCE_GLYPHS, not | ||
| 21 | produce_glyphs, to support GUI sessions. | ||
| 22 | |||
| 1 | 2012-07-07 Paul Eggert <eggert@cs.ucla.edu> | 23 | 2012-07-07 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 24 | ||
| 3 | * sysdep.c (ULLONG_MAX): Define if not already defined (Bug#11781). | 25 | * sysdep.c (ULLONG_MAX): Define if not already defined (Bug#11781). |