12934 |
{ |
{ |
12935 |
/* Display element draws past the right edge of |
/* Display element draws past the right edge of |
12936 |
the window. Restore positions to values |
the window. Restore positions to values |
12937 |
before the element. The next line starts |
before the element. */ |
|
with current_x before the glyph that could |
|
|
not be displayed, so that TAB works right. */ |
|
12938 |
row->used[TEXT_AREA] = n_glyphs_before + i; |
row->used[TEXT_AREA] = n_glyphs_before + i; |
12939 |
|
|
12940 |
/* Display continuation glyphs. */ |
/* Display continuation glyphs. */ |
12941 |
if (!FRAME_WINDOW_P (it->f)) |
if (!FRAME_WINDOW_P (it->f)) |
12942 |
produce_special_glyphs (it, IT_CONTINUATION); |
produce_special_glyphs (it, IT_CONTINUATION); |
12943 |
row->continued_p = 1; |
row->continued_p = 1; |
12944 |
|
|
12945 |
|
/* A TAB takes us to the right edge of the window. */ |
12946 |
|
if (it->c == '\t') |
12947 |
|
it->continuation_lines_width += it->last_visible_x; |
12948 |
|
else |
12949 |
|
it->continuation_lines_width += x; |
12950 |
|
|
|
it->current_x = x; |
|
|
it->continuation_lines_width += x; |
|
12951 |
if (nglyphs > 1 && i > 0) |
if (nglyphs > 1 && i > 0) |
12952 |
{ |
{ |
12953 |
row->ends_in_middle_of_char_p = 1; |
row->ends_in_middle_of_char_p = 1; |