]> code.delx.au - gnu-emacs/commit
Fix part of bug #13011 with display of lines that have a box face.
authorEli Zaretskii <eliz@gnu.org>
Tue, 11 Dec 2012 12:22:35 +0000 (14:22 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 11 Dec 2012 12:22:35 +0000 (14:22 +0200)
commitf9d1448f46d3d645e68fdd449758b50a1402d729
tree484f5bcb2c9896b83b9fa11f360263160fc946c0
parentb5eb356a94fc5832209754fbe436958cedd3e583
Fix part of bug #13011 with display of lines that have a box face.

 src/xdisp.c (handle_face_prop): Fix logic of computing
 it->start_of_box_run_p.
 (append_space_for_newline): If the glyph row is R2L, reset the
 iterator's end_of_box_run_p flag before prepending the space glyph.
 (extend_face_to_end_of_line): If the glyph row is R2L, reset the
 iterator's start_of_box_run_p flag before prepending the stretch.
 (append_glyph, produce_image_glyph, append_composite_glyph)
 (append_stretch_glyph, append_glyphless_glyph): Reverse the
 left_box_line_p and right_box_line_p flags of the glyph for R2L
 glyph rows.
src/ChangeLog
src/xdisp.c