Mercurial > emacs
view etc/nxml/02070-0209F.el @ 107641:d65c199e8bdd
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.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 13 Mar 2010 11:38:01 -0500 |
parents | 414a88b0d08d |
children | ef719132ddfa |
line wrap: on
line source
(nxml-define-char-name-set 'superscripts-and-subscripts '(("SUPERSCRIPT ZERO" #x2070) ("SUPERSCRIPT LATIN SMALL LETTER I" #x2071) ("SUPERSCRIPT FOUR" #x2074) ("SUPERSCRIPT FIVE" #x2075) ("SUPERSCRIPT SIX" #x2076) ("SUPERSCRIPT SEVEN" #x2077) ("SUPERSCRIPT EIGHT" #x2078) ("SUPERSCRIPT NINE" #x2079) ("SUPERSCRIPT PLUS SIGN" #x207A) ("SUPERSCRIPT MINUS" #x207B) ("SUPERSCRIPT EQUALS SIGN" #x207C) ("SUPERSCRIPT LEFT PARENTHESIS" #x207D) ("SUPERSCRIPT RIGHT PARENTHESIS" #x207E) ("SUPERSCRIPT LATIN SMALL LETTER N" #x207F) ("SUBSCRIPT ZERO" #x2080) ("SUBSCRIPT ONE" #x2081) ("SUBSCRIPT TWO" #x2082) ("SUBSCRIPT THREE" #x2083) ("SUBSCRIPT FOUR" #x2084) ("SUBSCRIPT FIVE" #x2085) ("SUBSCRIPT SIX" #x2086) ("SUBSCRIPT SEVEN" #x2087) ("SUBSCRIPT EIGHT" #x2088) ("SUBSCRIPT NINE" #x2089) ("SUBSCRIPT PLUS SIGN" #x208A) ("SUBSCRIPT MINUS" #x208B) ("SUBSCRIPT EQUALS SIGN" #x208C) ("SUBSCRIPT LEFT PARENTHESIS" #x208D) ("SUBSCRIPT RIGHT PARENTHESIS" #x208E) )) ;; arch-tag: 59e357e5-c021-440d-a923-921b485dcbb8