(fast_find_position): Call row_containing_pos
with additional argument.
This commit is contained in:
parent
0df56f4db7
commit
62e3398212
3 changed files with 13 additions and 2 deletions
|
@ -1,5 +1,16 @@
|
|||
2001-10-24 Gerd Moellmann <gerd@gnu.org>
|
||||
|
||||
* 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)
|
||||
|
|
|
@ -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))
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue