aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorEli Zaretskii2011-06-09 20:12:10 +0300
committerEli Zaretskii2011-06-09 20:12:10 +0300
commit6db161bec8de73baa968732345355b5178e1fd30 (patch)
tree0e111680f68f00685da9adcde58ffde5f7c7154a /src/ChangeLog
parentbb269206f6ee49b68bb23cf955c531a7fc6ba140 (diff)
downloademacs-6db161bec8de73baa968732345355b5178e1fd30.tar.gz
emacs-6db161bec8de73baa968732345355b5178e1fd30.zip
Adapt compute_display_string_pos to iteration over strings.
Just compiled, not yet tested. src/xdisp.c (compute_display_string_pos): First arg is now struct `text_pos *'; all callers changed. Support display properties on Lisp strings. (compute_display_string_end): Support display properties on Lisp strings. (init_iterator, reseat_1, reseat_to_string): Initialize the string.bufpos member to 0 (zero, for compatibility with IT_CHARPOS when iterating on a string not from display properties). src/bidi.c (bidi_fetch_char): Support strings with display properties. src/dispextern.h (struct bidi_string_data): New member bufpos. (compute_display_string_pos): Update prototype.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 51e4561f8db..2f305d0daf4 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,22 @@
12011-06-09 Eli Zaretskii <eliz@gnu.org> 12011-06-09 Eli Zaretskii <eliz@gnu.org>
2 2
3 * xdisp.c (compute_display_string_pos): First arg is now struct
4 `text_pos *'; all callers changed. Support display properties on
5 Lisp strings.
6 (compute_display_string_end): Support display properties on Lisp
7 strings.
8 (init_iterator, reseat_1, reseat_to_string): Initialize the
9 string.bufpos member to 0 (zero, for compatibility with IT_CHARPOS
10 when iterating on a string not from display properties).
11
12 * bidi.c (bidi_fetch_char): Support strings with display
13 properties.
14
15 * dispextern.h (struct bidi_string_data): New member bufpos.
16 (compute_display_string_pos): Update prototype.
17
182011-06-09 Eli Zaretskii <eliz@gnu.org>
19
3 * bidi.c (bidi_level_of_next_char): Allow the sentinel "position" 20 * bidi.c (bidi_level_of_next_char): Allow the sentinel "position"
4 to pass the test for valid cached positions. 21 to pass the test for valid cached positions.
5 22