/[emacs]/emacs/src/xdisp.c
ViewVC logotype

Diff of /emacs/src/xdisp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.832 by monnier, Sun May 25 17:47:48 2003 UTC revision 1.833 by schwab, Mon May 26 22:06:33 2003 UTC
# Line 12881  try_window_id (w) Line 12881  try_window_id (w)
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)
# Line 12926  try_window_id (w) Line 12929  try_window_id (w)
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.  */

Legend:
Removed from v.1.832  
changed lines
  Added in v.1.833

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26