Mercurial > emacs
view etc/schema/xhtml-pres.rnc @ 107606:297c59e52ecf
Retrospective commit from 2009-12-26.
Redesign handle_stop_backwards.
Fix character mirroring for non-ASCII characters.
xdisp.c (handle_stop_backwards): Call compute_stop_pos in the
loop, instead of calling handle_stop. Call handle_stop only once,
after the loop.
(next_element_from_buffer): Don't call handle_stop_backwards if at
stop position. If base_level_stop is zero, set it to 1.
term.c (append_glyph): Fill resolved_level and bidi_type slots
of struct glyph for unidirectional display.
xdisp.c (set_cursor_from_row): Handle zero-width characters.
bidi.c (bidi_mirror_char): More efficient code (suggested by
Ehud Karni <ehud@unix.mvs.co.il>). Don't even try to mirror
non-ASCII characters.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 01 Jan 2010 10:04:53 -0500 |
parents | 38f93f3d00a2 |
children |
line wrap: on
line source
hr = element hr { hr.attlist } hr.attlist = Common.attrib Block.class |= hr b = element b { b.attlist, Inline.model } b.attlist = Common.attrib big = element big { big.attlist, Inline.model } big.attlist = Common.attrib i = element i { i.attlist, Inline.model } i.attlist = Common.attrib small = element small { small.attlist, Inline.model } small.attlist = Common.attrib sub = element sub { sub.attlist, Inline.model } sub.attlist = Common.attrib sup = element sup { sup.attlist, Inline.model } sup.attlist = Common.attrib tt = element tt { tt.attlist, Inline.model } tt.attlist = Common.attrib Inline.class |= b | big | i | small | sub | sup | tt