Commit 1e2dddbe authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix bug #7474 with cursor positioning in overlay strings.

 xdisp.c (set_cursor_from_row): Don't forget to consider the
 `cursor' property of the first character in overlay strings.
parent fd042993
2010-11-25 Eli Zaretskii <eliz@gnu.org>
* xdisp.c (set_cursor_from_row): Don't forget to consider the
`cursor' property of the first character in overlay strings.
(Bug#7474)
2010-11-24 Jan Djärv <jan.h.d@swipnet.se>
 
* nsterm.m (NSLeftControlKeyMask, NSLeftCommandKeyMask)
......
......@@ -12943,7 +12943,7 @@ set_cursor_from_row (struct window *w, struct glyph_row *row,
 
if (tem)
cursor = glyph;
for (glyph += incr;
for ( ;
(row->reversed_p ? glyph > stop : glyph < stop)
&& EQ (glyph->object, str);
glyph += incr)
......
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