mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 20:00:46 -08:00
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.
This commit is contained in:
parent
fd042993b7
commit
1e2dddbe93
2 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,9 @@
|
|||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue