diff options
| author | Eli Zaretskii | 2011-08-24 18:51:56 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2011-08-24 18:51:56 +0300 |
| commit | 8610fe8b84e22f5d962f5e480001748a6687a3b2 (patch) | |
| tree | 55985245e55238ddccc8d8994fb3a78a83cadba0 /src/ChangeLog | |
| parent | 5980d4c6db923da523fbb0e2fb44ecd68b13c53d (diff) | |
| download | emacs-8610fe8b84e22f5d962f5e480001748a6687a3b2.tar.gz emacs-8610fe8b84e22f5d962f5e480001748a6687a3b2.zip | |
Fix cursor movement in R2L text within L2R paragraphs.
src/xdisp.c (set_cursor_from_row): Consider candidate row a win if its
glyph represents a newline and point is on that newline. Fixes cursor
positioning on the newline at EOL of R2L text within L2R
paragraph, and vice versa.
(try_cursor_movement): Check continued rows, in addition to
continuation rows. Fixes unwarranted scroll when point enters a
continued line of R2L text within an L2R paragraph, or vice versa.
(cursor_row_p): Consider the case of point being equal to
MATRIX_ROW_END_CHARPOS. Prevents cursor being stuck when moving
from the end of a short line to the beginning of a continued line
of R2L text within L2R paragraph.
(RECORD_MAX_MIN_POS): For max_pos, use IT_CHARPOS even for
composed characters.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d4d6a4c4bbd..b9c627bf160 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -2,6 +2,19 @@ | |||
| 2 | 2 | ||
| 3 | * xdisp.c (Fcurrent_bidi_paragraph_direction): For unibyte | 3 | * xdisp.c (Fcurrent_bidi_paragraph_direction): For unibyte |
| 4 | buffers, return left-to-right. | 4 | buffers, return left-to-right. |
| 5 | (set_cursor_from_row): Consider candidate row a win if its glyph | ||
| 6 | represents a newline and point is on that newline. Fixes cursor | ||
| 7 | positioning on the newline at EOL of R2L text within L2R | ||
| 8 | paragraph, and vice versa. | ||
| 9 | (try_cursor_movement): Check continued rows, in addition to | ||
| 10 | continuation rows. Fixes unwarranted scroll when point enters a | ||
| 11 | continued line of R2L text within an L2R paragraph, or vice versa. | ||
| 12 | (cursor_row_p): Consider the case of point being equal to | ||
| 13 | MATRIX_ROW_END_CHARPOS. Prevents cursor being stuck when moving | ||
| 14 | from the end of a short line to the beginning of a continued line | ||
| 15 | of R2L text within L2R paragraph. | ||
| 16 | (RECORD_MAX_MIN_POS): For max_pos, use IT_CHARPOS even for | ||
| 17 | composed characters. | ||
| 5 | 18 | ||
| 6 | * bidi.c (bidi_check_type): Use xassert. | 19 | * bidi.c (bidi_check_type): Use xassert. |
| 7 | (bidi_cache_iterator_state): Update the disp_pos and disp_prop_p | 20 | (bidi_cache_iterator_state): Update the disp_pos and disp_prop_p |