From: Gerd Moellmann Date: Tue, 23 Oct 2001 10:02:19 +0000 (+0000) Subject: (display_line): For a tab continued to the next line, X-Git-Tag: ttn-vms-21-2-B4~19242 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/8738febd7b184f2bc6ddd560b70620c5866d5cd5 (display_line): For a tab continued to the next line, set row's ends_in_middle_of_char_p. --- diff --git a/src/ChangeLog b/src/ChangeLog index 260ed84445..7dac489349 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2001-10-23 Gerd Moellmann + + * xdisp.c (display_line): For a tab continued to the next line, + set row's ends_in_middle_of_char_p. + 2001-10-22 Gerd Moellmann * xdisp.c (display_line): Fix computation of continuation lines diff --git a/src/xdisp.c b/src/xdisp.c index 522148d186..e113805ec7 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -12944,7 +12944,10 @@ display_line (it) /* A TAB takes us to the right edge of the window. */ if (it->c == '\t') - it->continuation_lines_width += it->last_visible_x; + { + it->continuation_lines_width += it->last_visible_x; + row->ends_in_middle_of_char_p = 1; + } else it->continuation_lines_width += x;