Mercurial > emacs
comparison src/xdisp.c @ 37669:b88adb23e3e1
(try_window_id): Fix case of all changes before
the window start.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 10 May 2001 12:40:21 +0000 |
parents | e8ec6c4a8e8a |
children | f62a33411ad8 |
comparison
equal
deleted
inserted
replaced
37668:cf76004c6076 | 37669:b88adb23e3e1 |
---|---|
11177 This case happens with stealth-fontification. Note that although | 11177 This case happens with stealth-fontification. Note that although |
11178 the display is unchanged, glyph positions in the matrix have to | 11178 the display is unchanged, glyph positions in the matrix have to |
11179 be adjusted, of course. */ | 11179 be adjusted, of course. */ |
11180 row = MATRIX_ROW (w->current_matrix, XFASTINT (w->window_end_vpos)); | 11180 row = MATRIX_ROW (w->current_matrix, XFASTINT (w->window_end_vpos)); |
11181 if (MATRIX_ROW_DISPLAYS_TEXT_P (row) | 11181 if (MATRIX_ROW_DISPLAYS_TEXT_P (row) |
11182 && ((first_changed_charpos < CHARPOS (start) | 11182 && ((last_changed_charpos < CHARPOS (start) |
11183 && CHARPOS (start) == BEGV) | 11183 && CHARPOS (start) == BEGV) |
11184 || (first_changed_charpos < CHARPOS (start) - 1 | 11184 || (last_changed_charpos < CHARPOS (start) - 1 |
11185 && FETCH_BYTE (BYTEPOS (start) - 1) == '\n'))) | 11185 && FETCH_BYTE (BYTEPOS (start) - 1) == '\n'))) |
11186 { | 11186 { |
11187 int Z_old, delta, Z_BYTE_old, delta_bytes; | 11187 int Z_old, delta, Z_BYTE_old, delta_bytes; |
11188 struct glyph_row *r0; | 11188 struct glyph_row *r0; |
11189 | 11189 |