From 8738febd7b184f2bc6ddd560b70620c5866d5cd5 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 23 Oct 2001 10:02:19 +0000 Subject: [PATCH] (display_line): For a tab continued to the next line, set row's ends_in_middle_of_char_p. --- src/ChangeLog | 5 +++++ src/xdisp.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 260ed84445d..7dac489349c 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 522148d1863..e113805ec79 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; -- 2.39.5