diff options
| author | Gerd Moellmann | 2001-10-23 10:02:19 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-10-23 10:02:19 +0000 |
| commit | 8738febd7b184f2bc6ddd560b70620c5866d5cd5 (patch) | |
| tree | 2eecd43a15c37243866b1d2ba8404518d948b596 /src | |
| parent | 6acf9baf12d35318ae2342d551f8971820f40f2e (diff) | |
| download | emacs-8738febd7b184f2bc6ddd560b70620c5866d5cd5.tar.gz emacs-8738febd7b184f2bc6ddd560b70620c5866d5cd5.zip | |
(display_line): For a tab continued to the next line,
set row's ends_in_middle_of_char_p.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/xdisp.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 260ed84445d..7dac489349c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> | ||
| 2 | |||
| 3 | * xdisp.c (display_line): For a tab continued to the next line, | ||
| 4 | set row's ends_in_middle_of_char_p. | ||
| 5 | |||
| 1 | 2001-10-22 Gerd Moellmann <gerd@gnu.org> | 6 | 2001-10-22 Gerd Moellmann <gerd@gnu.org> |
| 2 | 7 | ||
| 3 | * xdisp.c (display_line): Fix computation of continuation lines | 8 | * xdisp.c (display_line): Fix computation of continuation lines |
diff --git a/src/xdisp.c b/src/xdisp.c index 522148d1863..e113805ec79 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -12944,7 +12944,10 @@ display_line (it) | |||
| 12944 | 12944 | ||
| 12945 | /* A TAB takes us to the right edge of the window. */ | 12945 | /* A TAB takes us to the right edge of the window. */ |
| 12946 | if (it->c == '\t') | 12946 | if (it->c == '\t') |
| 12947 | it->continuation_lines_width += it->last_visible_x; | 12947 | { |
| 12948 | it->continuation_lines_width += it->last_visible_x; | ||
| 12949 | row->ends_in_middle_of_char_p = 1; | ||
| 12950 | } | ||
| 12948 | else | 12951 | else |
| 12949 | it->continuation_lines_width += x; | 12952 | it->continuation_lines_width += x; |
| 12950 | 12953 | ||