diff options
author | Eli Zaretskii <[email protected]> | 2010-01-02 10:57:35 -0500 |
---|---|---|
committer | Eli Zaretskii <[email protected]> | 2010-01-02 10:57:35 -0500 |
commit | 241ab1c185285abf1faff9596cbbbc880519dccb (patch) | |
tree | e2cfad0d846aab9c505006bcd8ee058f4f53b1b7 /src/.gdbinit | |
parent | c4810d2f26b64517c8fefe9e30b296ca41e3f8bc (diff) |
Continue working on handling of properties in bidi iteration.
Region display and extension seems to work.
Solved a crash in bidirectional display of etc/HELLO.
(HELLO display still not 100% OK, e.g. near Kannada.)
.gdbinit (pitx): Display some bidi information about the
iterator.
dispextern.h (BIDI_AT_BASE_LEVEL): Enclose definition in
parentheses.
xdisp.c (handle_stop_backwards): Save and restore it->current
and it->position, instead of expecting the caller to do that.
(next_element_from_buffer): When moving across stop_charpos,
record it in prev_stop. When IT_CHARPOS backs up, call
handle_stop_backwards only if above the base embedding level.
This solves the crash while displaying etc/HELLO in bidi mode.
Diffstat (limited to 'src/.gdbinit')
-rw-r--r-- | src/.gdbinit | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/.gdbinit b/src/.gdbinit index a500f2532f..8949e66134 100644 --- a/src/.gdbinit +++ b/src/.gdbinit @@ -271,6 +271,9 @@ define pitx end end printf "\n" + if ($it->bidi_p) + printf "BIDI: base_stop=%d prev_stop=%d level=%d\n", $it->base_level_stop, $it->prev_stop, $it->bidi_it.resolved_level + end if ($it->region_beg_charpos >= 0) printf "reg=%d-%d ", $it->region_beg_charpos, $it->region_end_charpos end |