Mercurial > emacs
view etc/nxml/02580-0259F.el @ 108201:e61225c9e186
Fix display of R2L lines and cursor motion in bidi buffers.
xdisp.c (find_row_end): New function, refactored from display_line.
(display_line): Use it.
(extend_face_to_end_of_line): In almost-filled rows, extend only
if the row is R2L and not continued.
(display_line): Fix prepending of truncation glyphs to R2L rows.
Preserve overlay and string info in row->end.
(insert_left_trunc_glyphs): Support addition of left truncation
glyphs to R2L rows.
(set_cursor_from_row): Don't place cursor on the vertical border
glyph between adjacent windows. Fix a crash when a display string
is continued to the next line. Don't return zero if cursor was
found by `cursor' property of a display string.
(try_cursor_movement): Don't assume that row->end == (row+1)->start,
test for that explicitly.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 01 May 2010 21:11:20 +0300 |
parents | 9104a1abe763 |
children | ef719132ddfa |
line wrap: on
line source
(nxml-define-char-name-set 'block-elements '(("UPPER HALF BLOCK" #x2580) ("LOWER ONE EIGHTH BLOCK" #x2581) ("LOWER ONE QUARTER BLOCK" #x2582) ("LOWER THREE EIGHTHS BLOCK" #x2583) ("LOWER HALF BLOCK" #x2584) ("LOWER FIVE EIGHTHS BLOCK" #x2585) ("LOWER THREE QUARTERS BLOCK" #x2586) ("LOWER SEVEN EIGHTHS BLOCK" #x2587) ("FULL BLOCK" #x2588) ("LEFT SEVEN EIGHTHS BLOCK" #x2589) ("LEFT THREE QUARTERS BLOCK" #x258A) ("LEFT FIVE EIGHTHS BLOCK" #x258B) ("LEFT HALF BLOCK" #x258C) ("LEFT THREE EIGHTHS BLOCK" #x258D) ("LEFT ONE QUARTER BLOCK" #x258E) ("LEFT ONE EIGHTH BLOCK" #x258F) ("RIGHT HALF BLOCK" #x2590) ("LIGHT SHADE" #x2591) ("MEDIUM SHADE" #x2592) ("DARK SHADE" #x2593) ("UPPER ONE EIGHTH BLOCK" #x2594) ("RIGHT ONE EIGHTH BLOCK" #x2595) ("QUADRANT LOWER LEFT" #x2596) ("QUADRANT LOWER RIGHT" #x2597) ("QUADRANT UPPER LEFT" #x2598) ("QUADRANT UPPER LEFT AND LOWER LEFT AND LOWER RIGHT" #x2599) ("QUADRANT UPPER LEFT AND LOWER RIGHT" #x259A) ("QUADRANT UPPER LEFT AND UPPER RIGHT AND LOWER LEFT" #x259B) ("QUADRANT UPPER LEFT AND UPPER RIGHT AND LOWER RIGHT" #x259C) ("QUADRANT UPPER RIGHT" #x259D) ("QUADRANT UPPER RIGHT AND LOWER LEFT" #x259E) ("QUADRANT UPPER RIGHT AND LOWER LEFT AND LOWER RIGHT" #x259F) )) ;; arch-tag: 51c971a7-cd90-42a5-bf18-dd9683bcab41