From 62e3398212b8f56177c22c035cb7793704f53a21 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 24 Oct 2001 09:12:40 +0000 Subject: [PATCH] (fast_find_position): Call row_containing_pos with additional argument. --- src/ChangeLog | 11 +++++++++++ src/w32term.c | 2 +- src/xterm.c | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 223cdea9c2f..81b698e8479 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,16 @@ 2001-10-24 Gerd Moellmann + * xdisp.c (try_window_reusing_current_matrix): Use + row_containing_pos. + (row_containing_pos): Take additional argument DY. Treat + rows ending in middle of char differently. + (display_line): Handle tabs on window systems differently. + + * xterm.c, w32term.c (fast_find_position): Call row_containing_pos + with additional argument. + + * dispextern.h (row_containing_pos): Adjust prototype. + * xdisp.c (inhibit_try_window_id, inhibit_try_window_reusing) (inhibit_try_cursor_movement) [GLYPH_DEBUG]: New variables. (try_window_id, try_window_reusing_current_matrix) diff --git a/src/w32term.c b/src/w32term.c index 2b6c6007bc7..76836209506 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -7092,7 +7092,7 @@ fast_find_position (w, charpos, hpos, vpos, x, y, stop) int i, past_end = 0; first = MATRIX_FIRST_TEXT_ROW (w->current_matrix); - row = row_containing_pos (w, charpos, first, NULL); + row = row_containing_pos (w, charpos, first, NULL, 0); if (row == NULL) { if (charpos < MATRIX_ROW_START_CHARPOS (first)) diff --git a/src/xterm.c b/src/xterm.c index 1d46b265d1f..7a069a01972 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -7479,7 +7479,7 @@ fast_find_position (w, charpos, hpos, vpos, x, y, stop) int i, past_end = 0; first = MATRIX_FIRST_TEXT_ROW (w->current_matrix); - row = row_containing_pos (w, charpos, first, NULL); + row = row_containing_pos (w, charpos, first, NULL, 0); if (row == NULL) { if (charpos < MATRIX_ROW_START_CHARPOS (first)) -- 2.39.5