Mercurial > emacs
comparison src/ChangeLog.bidi @ 107624:552007beee69
Finish and debug display of invisible text.
xdisp.c (handle_invisible_prop): If we are `reseat'ed, init the
paragraph direction and set the `reversed_p' flag in the IT's
glyph row. Fix exit conditions of the loop that skips invisible
text. Update IT->prev_stop after skipping invisible text. Check
for additional overlays at IT->stop_charpos, not at start_pos.
Clean up the mess with setting the glyph row reversed_p flag.
dispnew.c (prepare_desired_row): Preserve the reversed_p flag.
bidi.c (bidi_cache_find): Use bidi_copy_it instead of copying
the whole struct (which includes uninitialized parts).
(bidi_init_it): Don't initialize bidi_it->paragraph_dir.
xdisp.c (display_line): Remove misplaced setting of
row->reversed_p flags. Copy the reversed_p flag to the next glyph
row.
(next_element_from_buffer): Check bidi_it.paragraph_dir rather
than level_stack[0].level. Reset the reversed_p flag for non-R2L
paragraphs.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Mon, 25 Jan 2010 12:29:38 -0500 |
parents | 41011b06e0aa |
children | f839a8fbe740 |
comparison
equal
deleted
inserted
replaced
107623:86c10cac941a | 107624:552007beee69 |
---|---|
1 2010-01-25 Eli Zaretskii <eliz@gnu.org> | |
2 | |
3 Clean up the mess with setting the glyph row reversed_p flag. | |
4 * dispnew.c (prepare_desired_row): Preserve the reversed_p flag. | |
5 | |
6 * bidi.c (bidi_cache_find): Use bidi_copy_it instead of copying | |
7 the whole struct (which includes uninitialized parts). | |
8 (bidi_init_it): Don't initialize bidi_it->paragraph_dir. | |
9 | |
10 * xdisp.c (display_line): Remove misplaced setting of | |
11 row->reversed_p flags. Copy the reversed_p flag to the next glyph | |
12 row. | |
13 (next_element_from_buffer): Check bidi_it.paragraph_dir rather | |
14 than level_stack[0].level. Reset the reversed_p flag for non-R2L | |
15 paragraphs. | |
16 | |
17 Fix display of invisible text. | |
18 * xdisp.c (handle_invisible_prop): If we are `reseat'ed, init the | |
19 paragraph direction and set the `reversed_p' flag in the IT's | |
20 glyph row. Fix exit conditions of the loop that skips invisible | |
21 text. Update IT->prev_stop after skipping invisible text. Check | |
22 for additional overlays at IT->stop_charpos, not at start_pos. | |
23 (next_element_from_buffer): | |
24 | |
1 2010-01-16 Eli Zaretskii <eliz@gnu.org> | 25 2010-01-16 Eli Zaretskii <eliz@gnu.org> |
2 | 26 |
3 * xdisp.c (handle_invisible_prop): Under bidi iteration, skip | 27 * xdisp.c (handle_invisible_prop): Under bidi iteration, skip |
4 invisible text using bidi_get_next_char_visually. | 28 invisible text using bidi_get_next_char_visually. |
5 (handle_stop_backwards): Restore it->bidi_p, it->current and | 29 (handle_stop_backwards): Restore it->bidi_p, it->current and |