Commit 62e33982 authored by Gerd Moellmann's avatar Gerd Moellmann

(fast_find_position): Call row_containing_pos

with additional argument.
parent 0df56f4d
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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment