comparison src/ChangeLog @ 108657:7e4a23f2f3ea

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).
author Eli Zaretskii <eliz@gnu.org>
date Wed, 19 May 2010 23:24:21 +0300
parents 0b28d05fa415
children 76010a03e524
comparison
equal deleted inserted replaced
108656:0b28d05fa415 108657:7e4a23f2f3ea
1 2010-05-19 Eli Zaretskii <eliz@gnu.org>
2
3 * .gdbinit (prowlims): Display row->minpos and row->maxpos.
4 Display truncated_on_left_p and truncated_on_right_p flags.
5 Formatting fixes.
6 (pmtxrows): Display the ordinal number of each row. Don't display
7 rows beyond the last one.
8
9 * xdisp.c (RECORD_MAX_MIN_POS): New macro.
10 (display_line): Use it to record the minimum and maximum buffer
11 positions for glyphs in the row being assembled. If word wrap is
12 in effect, restore minimum and maximum positions seen up to the
13 wrap point, when iterator returns to it.
14 (find_row_edges): Fix logic; eol_pos should be tested before the
15 rest.
16 (try_window_reusing_current_matrix): Give up if in bidi-reordered
17 row and cursor not already at point. Restore original pre-bidi
18 code for unidirectional buffers.
19
20 * bidi.c (bidi_cache_shrink, bidi_cache_iterator_state): Fix
21 reallocation of the cache. (Bug#6210)
22 (bidi_cache_iterator_state): Don't zero out new_paragraph (it is
23 not copied by bidi_copy_it).
24
1 2010-05-18 Eli Zaretskii <eliz@gnu.org> 25 2010-05-18 Eli Zaretskii <eliz@gnu.org>
2 26
3 * dispextern.h (struct glyph_row): New members minpos and maxpos. 27 * dispextern.h (struct glyph_row): New members minpos and maxpos.
4 (MATRIX_ROW_START_CHARPOS, MATRIX_ROW_START_BYTEPOS) 28 (MATRIX_ROW_START_CHARPOS, MATRIX_ROW_START_BYTEPOS)
5 (MATRIX_ROW_END_CHARPOS, MATRIX_ROW_END_BYTEPOS): Reference minpos 29 (MATRIX_ROW_END_CHARPOS, MATRIX_ROW_END_BYTEPOS): Reference minpos