Completed initial debugging and testing of reimplemented cursor motion.
authorEli Zaretskii <eliz@gnu.org>
Wed, 19 May 2010 20:24:21 +0000 (23:24 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 19 May 2010 20:24:21 +0000 (23:24 +0300)
commit0416466c4d8c8cc3011f81cd488ba4f629e70288
treefcd565e80e4046bd065c77105e54841a2627122a
parentd36fe2375ad338a799038a5afee82d00e6b6b7ac
Completed initial debugging and testing of reimplemented cursor motion.

 .gdbinit (prowlims): Display row->minpos and row->maxpos.
 Display truncated_on_left_p and truncated_on_right_p flags.
 Formatting fixes.
 (pmtxrows): Display the ordinal number of each row.  Don't display
 rows beyond the last one.
 xdisp.c (RECORD_MAX_MIN_POS): New macro.
 (display_line): Use it to record the minimum and maximum buffer
 positions for glyphs in the row being assembled.  If word wrap is
 in effect, restore minimum and maximum positions seen up to the
 wrap point, when iterator returns to it.
 (find_row_edges): Fix logic; eol_pos should be tested before the
 rest.
 (try_window_reusing_current_matrix): Give up if in bidi-reordered
 row and cursor not already at point.  Restore original pre-bidi
 code for unidirectional buffers.
 bidi.c (bidi_cache_shrink, bidi_cache_iterator_state): Fix
 reallocation of the cache.  (Bug#6210)
 (bidi_cache_iterator_state): Don't zero out new_paragraph (it is
 not copied by bidi_copy_it).
src/.gdbinit
src/ChangeLog
src/bidi.c
src/xdisp.c