diff options
| author | Eli Zaretskii | 2011-05-14 14:59:20 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2011-05-14 14:59:20 +0300 |
| commit | 102ebb00791ec617cfff4b1e351bc32bf8d71a9f (patch) | |
| tree | 66b908c5de99f3bfbcbf84c0fe28cd2b43b9d480 /src/bytecode.c | |
| parent | 182ce2d254ed316239b8deab8adac05c3dbe0149 (diff) | |
| download | emacs-102ebb00791ec617cfff4b1e351bc32bf8d71a9f.tar.gz emacs-102ebb00791ec617cfff4b1e351bc32bf8d71a9f.zip | |
Refactoring with bidi_fetch_char tested and debugged.
src/bidi.c (bidi_fetch_char): Accept also character position
corresponding to BYTEPOS. All callers changed.
(bidi_cache_iterator_state, bidi_resolve_explicit_1)
(bidi_resolve_explicit, bidi_resolve_weak)
(bidi_level_of_next_char, bidi_move_to_visually_next): Abort if
bidi_it->nchars is non-positive.
(bidi_level_of_next_char): Don't try to lookup the cache for the
next/previous character if nothing is cached there yet, or if we
were just reseat()'ed to a new position.
(bidi_paragraph_init, bidi_resolve_explicit_1)
(bidi_level_of_next_char): Fix arguments in the calls to
bidi_fetch_char.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions