Mercurial > emacs
comparison src/xdisp.c @ 40199:58c5e5aacc45
(display_line): For a tab continued to the next line,
set row's ends_in_middle_of_char_p.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 23 Oct 2001 10:01:54 +0000 |
parents | dd40bdb865f1 |
children | 03a224de9aa7 |
comparison
equal
deleted
inserted
replaced
40198:0bd966523c89 | 40199:58c5e5aacc45 |
---|---|
12942 produce_special_glyphs (it, IT_CONTINUATION); | 12942 produce_special_glyphs (it, IT_CONTINUATION); |
12943 row->continued_p = 1; | 12943 row->continued_p = 1; |
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 |
12951 if (nglyphs > 1 && i > 0) | 12954 if (nglyphs > 1 && i > 0) |
12952 { | 12955 { |