diff options
| author | Eli Zaretskii | 2011-07-09 16:57:13 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2011-07-09 16:57:13 +0300 |
| commit | 3855635591937dc2076ff143f8ad3b8b35495231 (patch) | |
| tree | c50cff61f4d3341a8f4b9c8077e44245fd65e573 /src/ChangeLog | |
| parent | ad3c1639757e8b5aefb490426ca44dad08b74130 (diff) | |
| download | emacs-3855635591937dc2076ff143f8ad3b8b35495231.tar.gz emacs-3855635591937dc2076ff143f8ad3b8b35495231.zip | |
Fix various problems with cursor positioning around display properties.
src/xdisp.c (move_it_in_display_line_to): Record prev_method and
prev_pos immediately before the call to set_iterator_to_next.
Fixes cursor motion in bidi-reordered lines with stretch glyphs
and strings displayed in margins. (Bug#8133) (Bug#8867)
Return MOVE_POS_MATCH_OR_ZV only if iterator position is past
TO_CHARPOS.
(pos_visible_p): Support positions in bidi-reordered lines. Save
and restore bidi cache.
(move_it_in_display_line_to): If iterator ended up at
EOL, but we never saw any buffer positions smaller than
to_charpos, return MOVE_POS_MATCH_OR_ZV. Fixes vertical cursor
motion in bidi-reordered lines.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 74a684df45e..7dc419ef731 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,21 @@ | |||
| 1 | 2011-07-09 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * xdisp.c (move_it_in_display_line_to): Record prev_method and | ||
| 4 | prev_pos immediately before the call to set_iterator_to_next. | ||
| 5 | Fixes cursor motion in bidi-reordered lines with stretch glyphs | ||
| 6 | and strings displayed in margins. (Bug#8133) (Bug#8867) | ||
| 7 | Return MOVE_POS_MATCH_OR_ZV only if iterator position is past | ||
| 8 | TO_CHARPOS. | ||
| 9 | (pos_visible_p): Support positions in bidi-reordered lines. Save | ||
| 10 | and restore bidi cache. | ||
| 11 | |||
| 12 | 2011-07-08 Eli Zaretskii <eliz@gnu.org> | ||
| 13 | |||
| 14 | * xdisp.c (move_it_in_display_line_to): If iterator ended up at | ||
| 15 | EOL, but we never saw any buffer positions smaller than | ||
| 16 | to_charpos, return MOVE_POS_MATCH_OR_ZV. Fixes vertical cursor | ||
| 17 | motion in bidi-reordered lines. | ||
| 18 | |||
| 1 | 2011-07-07 Eli Zaretskii <eliz@gnu.org> | 19 | 2011-07-07 Eli Zaretskii <eliz@gnu.org> |
| 2 | 20 | ||
| 3 | * xdisp.c (find_row_edges): If ROW->start.pos gives position | 21 | * xdisp.c (find_row_edges): If ROW->start.pos gives position |