diff options
| author | Eli Zaretskii | 2011-05-21 17:22:14 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2011-05-21 17:22:14 +0300 |
| commit | fc6f18ceeaae3c3eb4d68120899e16c2fc73ea86 (patch) | |
| tree | dbbc17ffa38f01c0fe0184605569c1051f6eec8d /src/ChangeLog | |
| parent | 683a44f77c8c83febe1ab7ebe7fc32d26fc71bcd (diff) | |
| download | emacs-fc6f18ceeaae3c3eb4d68120899e16c2fc73ea86.tar.gz emacs-fc6f18ceeaae3c3eb4d68120899e16c2fc73ea86.zip | |
Discovery of replacing display properties now uses the same code
as the display engine. Tested OK with display properties whose
value is a list.
src/dispextern.h (struct bidi_it): New member frame_window_p.
(bidi_init_it, compute_display_string_pos): Update prototypes.
src/bidi.c (bidi_fetch_char): Accept additional argument
FRAME_WINDOW_P and pass it to compute_display_string_pos. All
callers changed.
(bidi_init_it): Accept additional argument FRAME_WINDOW_P and use
it to initialize the frame_window_p member of struct bidi_it.
src/xdisp.c (handle_display_spec): New function, refactored from the
last portion of handle_display_prop.
(compute_display_string_pos): Accept additional argument
FRAME_WINDOW_P. Call handle_display_spec to determine whether the
value of a `display' property is a "replacing spec".
(handle_single_display_spec): Accept 2 additional arguments BUFPOS
and FRAME_WINDOW_P. If IT is NULL, don't set up the iterator from
the display property, but just return a value indicating whether
the display property will replace the characters it covers.
(Fcurrent_bidi_paragraph_direction): Initialize the nchars and
frame_window_p members of struct bidi_it.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index fdb98351672..f7807b90941 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,26 @@ | |||
| 1 | 2011-05-21 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * xdisp.c (handle_display_spec): New function, refactored from the | ||
| 4 | last portion of handle_display_prop. | ||
| 5 | (compute_display_string_pos): Accept additional argument | ||
| 6 | FRAME_WINDOW_P. Call handle_display_spec to determine whether the | ||
| 7 | value of a `display' property is a "replacing spec". | ||
| 8 | (handle_single_display_spec): Accept 2 additional arguments BUFPOS | ||
| 9 | and FRAME_WINDOW_P. If IT is NULL, don't set up the iterator from | ||
| 10 | the display property, but just return a value indicating whether | ||
| 11 | the display property will replace the characters it covers. | ||
| 12 | (Fcurrent_bidi_paragraph_direction): Initialize the nchars and | ||
| 13 | frame_window_p members of struct bidi_it. | ||
| 14 | |||
| 15 | * bidi.c (bidi_fetch_char): Accept additional argument | ||
| 16 | FRAME_WINDOW_P and pass it to compute_display_string_pos. All | ||
| 17 | callers changed. | ||
| 18 | (bidi_init_it): Accept additional argument FRAME_WINDOW_P and use | ||
| 19 | it to initialize the frame_window_p member of struct bidi_it. | ||
| 20 | |||
| 21 | * dispextern.h (struct bidi_it): New member frame_window_p. | ||
| 22 | (bidi_init_it, compute_display_string_pos): Update prototypes. | ||
| 23 | |||
| 1 | 2011-05-14 Eli Zaretskii <eliz@gnu.org> | 24 | 2011-05-14 Eli Zaretskii <eliz@gnu.org> |
| 2 | 25 | ||
| 3 | * xdisp.c (compute_display_string_pos): Non-trivial implementation. | 26 | * xdisp.c (compute_display_string_pos): Non-trivial implementation. |