Mercurial > emacs
diff src/dispextern.h @ 110412:f67e6d84ff96
Fix bug #7038 with cursor motion in paragraphs w/o strong characters.
xdisp.c (Fcurrent_bidi_paragraph_direction): Call
bidi_paragraph_init with NO_DEFAULT_P non-zero.
bidi.c (bidi_paragraph_init): Accept an additional argument
NO_DEFAULT_P; all callers changed. If NO_DEFAULT_P is non-zero,
search back until a paragraph with a strong directional character
is found, and use that to determine paragraph's base direction.
dispextern.h (bidi_paragraph_init): Update prototype.
| author | Eli Zaretskii <eliz@gnu.org> |
|---|---|
| date | Sat, 18 Sep 2010 13:59:53 +0200 |
| parents | 0dcf6ddbe02b |
| children | bb46575a984d ee58b36ab139 |
line wrap: on
line diff
--- a/src/dispextern.h Sat Sep 18 10:21:30 2010 +0000 +++ b/src/dispextern.h Sat Sep 18 13:59:53 2010 +0200 @@ -2896,7 +2896,7 @@ extern void bidi_init_it (EMACS_INT, EMACS_INT, struct bidi_it *); extern void bidi_move_to_visually_next (struct bidi_it *); -extern void bidi_paragraph_init (bidi_dir_t, struct bidi_it *); +extern void bidi_paragraph_init (bidi_dir_t, struct bidi_it *, int); extern int bidi_mirror_char (int); /* Defined in xdisp.c */
