Fix bug #9610 with slow cursor motion in buffers with invisible text.
authorEli Zaretskii <eliz@gnu.org>
Tue, 27 Sep 2011 17:18:31 +0000 (20:18 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 27 Sep 2011 17:18:31 +0000 (20:18 +0300)
commit88652fd58c34b494ef5e7139e317e0d8b0980200
tree25f5a0c60e5360c934a14b776f7b57deb4dd4b64
parentaa97fd08e3b8d6a218b977ffba668f9cc63e0c17
Fix bug #9610 with slow cursor motion in buffers with invisible text.

 src/xdisp.c (handle_invisible_prop): If invisible text ends on a
 newline, reseat the iterator instead of bidi-iterating there one
 character at a time.  (Bug#9610)
 (BUFFER_POS_REACHED_P, move_it_in_display_line_to): Bail when past
 TO_CHARPOS if the bidi iterator is at base embedding level.
src/ChangeLog
src/xdisp.c