diff options
author | Eli Zaretskii <eliz@gnu.org> | 2011-07-09 16:57:13 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2011-07-09 16:57:13 +0300 |
commit | 3855635591937dc2076ff143f8ad3b8b35495231 (patch) | |
tree | c50cff61f4d3341a8f4b9c8077e44245fd65e573 /lisp/emacs-lisp | |
parent | ad3c1639757e8b5aefb490426ca44dad08b74130 (diff) | |
download | emacs-3855635591937dc2076ff143f8ad3b8b35495231.tar.gz emacs-3855635591937dc2076ff143f8ad3b8b35495231.tar.bz2 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 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions