diff options
| author | Eli Zaretskii | 2011-06-09 17:39:27 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2011-06-09 17:39:27 +0300 |
| commit | bb269206f6ee49b68bb23cf955c531a7fc6ba140 (patch) | |
| tree | ad52055d982ccc8fd2d1a2ce17059d3df1bfefcb /src/ChangeLog | |
| parent | d9334cb76854ba87934792b929d6ab68e70433ae (diff) | |
| download | emacs-bb269206f6ee49b68bb23cf955c531a7fc6ba140.tar.gz emacs-bb269206f6ee49b68bb23cf955c531a7fc6ba140.zip | |
Add code to initialize bidi iterator for displaying strings.
For now, ifdef'ed away. Some more testing.
src/bidi.c (bidi_level_of_next_char): Allow the sentinel "position"
to pass the test for valid cached positions.
src/xdisp.c (init_iterator): Call bidi_init_it only of a valid
buffer position was specified. Initialize paragraph_embedding to L2R.
(reseat_to_string): Initialize the bidi iterator (for now ifdef'ed out).
(display_string): If we need to ignore text properties of
LISP_STRING, set IT->stop_charpos to IT->end_charpos. (The
original value of -1 will not work with bidi.)
src/dispextern.h (struct bidi_string_data): New member lstring.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 96b8d7ae7be..51e4561f8db 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,21 @@ | |||
| 1 | 2011-06-09 Eli Zaretskii <eliz@gnu.org> | 1 | 2011-06-09 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | * bidi.c (bidi_level_of_next_char): Allow the sentinel "position" | ||
| 4 | to pass the test for valid cached positions. | ||
| 5 | |||
| 6 | * xdisp.c (init_iterator): Call bidi_init_it only of a valid | ||
| 7 | buffer position was specified. Initialize paragraph_embedding to | ||
| 8 | L2R. | ||
| 9 | (reseat_to_string): Initialize the bidi iterator (for now ifdef'ed | ||
| 10 | out). | ||
| 11 | (display_string): If we need to ignore text properties of | ||
| 12 | LISP_STRING, set IT->stop_charpos to IT->end_charpos. (The | ||
| 13 | original value of -1 will not work with bidi.) | ||
| 14 | |||
| 15 | * dispextern.h (struct bidi_string_data): New member lstring. | ||
| 16 | |||
| 17 | 2011-06-09 Eli Zaretskii <eliz@gnu.org> | ||
| 18 | |||
| 3 | * xdisp.c (Fcurrent_bidi_paragraph_direction): Initialize | 19 | * xdisp.c (Fcurrent_bidi_paragraph_direction): Initialize |
| 4 | itb.string.s to NULL (avoids a crash in bidi_paragraph_init). | 20 | itb.string.s to NULL (avoids a crash in bidi_paragraph_init). |
| 5 | 21 | ||