12881 |
the window end again, since its offset from Z hasn't changed. */ |
the window end again, since its offset from Z hasn't changed. */ |
12882 |
r0 = MATRIX_FIRST_TEXT_ROW (current_matrix); |
r0 = MATRIX_FIRST_TEXT_ROW (current_matrix); |
12883 |
if (CHARPOS (start) == MATRIX_ROW_START_CHARPOS (r0) + delta |
if (CHARPOS (start) == MATRIX_ROW_START_CHARPOS (r0) + delta |
12884 |
&& BYTEPOS (start) == MATRIX_ROW_START_BYTEPOS (r0) + delta_bytes) |
&& BYTEPOS (start) == MATRIX_ROW_START_BYTEPOS (r0) + delta_bytes |
12885 |
|
/* PT must not be in a partially visible line. */ |
12886 |
|
&& !(PT >= MATRIX_ROW_START_CHARPOS (row) + delta |
12887 |
|
&& MATRIX_ROW_BOTTOM_Y (row) > window_text_bottom_y (w))) |
12888 |
{ |
{ |
12889 |
/* Adjust positions in the glyph matrix. */ |
/* Adjust positions in the glyph matrix. */ |
12890 |
if (delta || delta_bytes) |
if (delta || delta_bytes) |
12929 |
as is, without changing glyph positions since no text has |
as is, without changing glyph positions since no text has |
12930 |
been added/removed in front of the window end. */ |
been added/removed in front of the window end. */ |
12931 |
r0 = MATRIX_FIRST_TEXT_ROW (current_matrix); |
r0 = MATRIX_FIRST_TEXT_ROW (current_matrix); |
12932 |
if (TEXT_POS_EQUAL_P (start, r0->start.pos)) |
if (TEXT_POS_EQUAL_P (start, r0->start.pos) |
12933 |
|
/* PT must not be in a partially visible line. */ |
12934 |
|
&& !(PT >= MATRIX_ROW_START_CHARPOS (row) |
12935 |
|
&& MATRIX_ROW_BOTTOM_Y (row) > window_text_bottom_y (w))) |
12936 |
{ |
{ |
12937 |
/* We have to compute the window end anew since text |
/* We have to compute the window end anew since text |
12938 |
can have been added/removed after it. */ |
can have been added/removed after it. */ |