]> code.delx.au - gnu-emacs/commitdiff
(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 260ed84445d943aa7ab059b3e7f075ec3a552f36..7dac489349cbc93ef4106de483e835eef35c3508 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 522148d1863b7d46b9e72b44790c2d15438639cf..e113805ec7959cdcc3815235aae79ded6a99c504 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;