Continue working on handling of properties in bidi iteration.
authorEli Zaretskii <eliz@gnu.org>
Sat, 2 Jan 2010 15:57:35 +0000 (10:57 -0500)
committerEli Zaretskii <eliz@gnu.org>
Sat, 2 Jan 2010 15:57:35 +0000 (10:57 -0500)
commit241ab1c185285abf1faff9596cbbbc880519dccb
treee2cfad0d846aab9c505006bcd8ee058f4f53b1b7
parentc4810d2f26b64517c8fefe9e30b296ca41e3f8bc
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.
src/.gdbinit
src/ChangeLog.bidi
src/dispextern.h
src/xdisp.c