diff options
| author | Eli Zaretskii | 2011-06-25 19:14:01 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2011-06-25 19:14:01 +0300 |
| commit | a1344e7d125a094bf49460f1a356f98fa86a8f9f (patch) | |
| tree | 25029f10879deb153584d3541e0aac6365231288 /src/ChangeLog | |
| parent | 0c22566f00ee467af8d41ef7dc9f18c3b66630c5 (diff) | |
| download | emacs-a1344e7d125a094bf49460f1a356f98fa86a8f9f.tar.gz emacs-a1344e7d125a094bf49460f1a356f98fa86a8f9f.zip | |
Initial version of display/overlay strings is working.
src/xdisp.c (set_iterator_to_next, get_visually_first_element): Use
it->bidi_it.string.schars rather than it->string_nchars when
testing whether we're beyond string end, because string_nchars is
zero for strings that come from overlays and display properties.
src/bidi.c (bidi_cache_iterator_state): Fix a bug with testing
character positions against the cached range, when we use a
stacked cache.
src/dispextern.h (struct iterator_stack_entry): New member
paragraph_embedding.
src/xdisp.c (push_it, pop_it): Save and restore it.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 083aaaaa4bd..8d5275f9702 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,19 @@ | |||
| 1 | 2011-06-25 Eli Zaretskii <eliz@gnu.org> | 1 | 2011-06-25 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | * xdisp.c (set_iterator_to_next, get_visually_first_element): Use | ||
| 4 | it->bidi_it.string.schars rather than it->string_nchars when | ||
| 5 | testing whether we're beyond string end, because string_nchars is | ||
| 6 | zero for strings that come from overlays and display properties. | ||
| 7 | |||
| 8 | * bidi.c (bidi_cache_iterator_state): Fix a bug with testing | ||
| 9 | character positions against the cached range, when we use a | ||
| 10 | stacked cache. | ||
| 11 | |||
| 12 | * xdisp.c (push_it, pop_it): Save and restore it. | ||
| 13 | |||
| 14 | * dispextern.h (struct iterator_stack_entry): New member | ||
| 15 | paragraph_embedding. | ||
| 16 | |||
| 3 | * xdisp.c (handle_single_display_spec, next_overlay_string) | 17 | * xdisp.c (handle_single_display_spec, next_overlay_string) |
| 4 | (get_overlay_strings_1, push_display_prop): Set up the bidi | 18 | (get_overlay_strings_1, push_display_prop): Set up the bidi |
| 5 | iterator for displaying display or overlay strings. | 19 | iterator for displaying display or overlay strings. |