diff options
| author | Eli Zaretskii | 2010-03-13 11:38:01 -0500 |
|---|---|---|
| committer | Eli Zaretskii | 2010-03-13 11:38:01 -0500 |
| commit | 8eef7665fa98baae93da5151c27ca0db4d1d6f5b (patch) | |
| tree | 889cf0c172a1ff24484c8f65d8babae7b003fff1 /src/ChangeLog.bidi | |
| parent | 9565d1e6f3d09d5cd5afebd1b30a7571a27199cc (diff) | |
| download | emacs-8eef7665fa98baae93da5151c27ca0db4d1d6f5b.tar.gz emacs-8eef7665fa98baae93da5151c27ca0db4d1d6f5b.zip | |
Continue work on cursor movement in continued lines.
xdisp.c (try_cursor_movement): Give up if rows are
bidi-reordered and point moved backwards. Examine all the
candidate rows that occlude point, to return the best match.
(row_containing_pos): With bidi-reordered rows, don't return the
first one that occludes point; rather, examine all candidates and
return the best match, with he glyph that's closest to point.
(display_line): When looking for min position, don't consider
negative values of glyph->charpos. (Fixes a crash with "C-x 3" at
ZV.) Record the position after EOL in it->eol_pos, and use it to
set end_pos of the last row produced for a continued line. Fix
the condition for passing candidate rows to set_cursor_from_row:
check ends_at_zv_p flag of the best candidate row, not of the
current row.
dispextern.h (struct it): New member eol_pos.
.gdbinit (prowlims): Display the ends_at_zv_p flag.
Diffstat (limited to 'src/ChangeLog.bidi')
| -rw-r--r-- | src/ChangeLog.bidi | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/ChangeLog.bidi b/src/ChangeLog.bidi index 7f7eb0808d2..8f96779196d 100644 --- a/src/ChangeLog.bidi +++ b/src/ChangeLog.bidi | |||
| @@ -1,3 +1,23 @@ | |||
| 1 | 2010-03-13 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * xdisp.c (try_cursor_movement): Give up if rows are | ||
| 4 | bidi-reordered and point moved backwards. Examine all the | ||
| 5 | candidate rows that occlude point, to return the best match. | ||
| 6 | (row_containing_pos): With bidi-reordered rows, don't return the | ||
| 7 | first one that occludes point; rather, examine all candidates and | ||
| 8 | return the best match, with he glyph that's closest to point. | ||
| 9 | (display_line): When looking for min position, don't consider | ||
| 10 | negative values of glyph->charpos. (Fixes a crash with "C-x 3" at | ||
| 11 | ZV.) Record the position after EOL in it->eol_pos, and use it to | ||
| 12 | set end_pos of the last row produced for a continued line. Fix | ||
| 13 | the condition for passing candidate rows to set_cursor_from_row: | ||
| 14 | check ends_at_zv_p flag of the best candidate row, not of the | ||
| 15 | current row. | ||
| 16 | |||
| 17 | * dispextern.h (struct it): New member eol_pos. | ||
| 18 | |||
| 19 | * .gdbinit (prowlims): Display the ends_at_zv_p flag. | ||
| 20 | |||
| 1 | 2010-03-06 Eli Zaretskii <eliz@gnu.org> | 21 | 2010-03-06 Eli Zaretskii <eliz@gnu.org> |
| 2 | 22 | ||
| 3 | * .gdbinit (prowlims, pmtxrows): New commands. | 23 | * .gdbinit (prowlims, pmtxrows): New commands. |