(display_line): For a tab continued to the next line,
authorGerd Moellmann <gerd@gnu.org>
Tue, 23 Oct 2001 10:02:19 +0000 (10:02 +0000)
committerGerd Moellmann <gerd@gnu.org>
Tue, 23 Oct 2001 10:02:19 +0000 (10:02 +0000)
set row's ends_in_middle_of_char_p.

src/ChangeLog
src/xdisp.c

index 260ed84..7dac489 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-23  Gerd Moellmann  <gerd@gnu.org>
+
+       * 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  <gerd@gnu.org>
 
        * xdisp.c (display_line): Fix computation of continuation lines
index 522148d..e113805 100644 (file)
@@ -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;