diff options
author | Eli Zaretskii <eliz@gnu.org> | 2010-04-17 15:33:05 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2010-04-17 15:33:05 +0300 |
commit | 26cdf52838e1711c9659d6d3908a24805c08925b (patch) | |
tree | 39a5bead6afc4810a823c7d91a4fb916699b8634 /src/fringe.c | |
parent | 459035295cb9de3fcd37af915200f766031f1540 (diff) | |
download | emacs-26cdf52838e1711c9659d6d3908a24805c08925b.tar.gz emacs-26cdf52838e1711c9659d6d3908a24805c08925b.tar.bz2 emacs-26cdf52838e1711c9659d6d3908a24805c08925b.zip |
Mirror continuation indicators for R2L lines; fix face extension on TTY.
xdisp.c (extend_face_to_end_of_line): Fix face extension at ZV.
term.c (produce_special_glyphs): Mirror the backslash
continuation character in R2L lines.
xdisp.c (set_cursor_from_row, display_line): Use
MATRIX_ROW_CONTINUATION_LINE_P instead of testing value of
row->continuation_lines_width.
fringe.c (update_window_fringes): For R2L rows, swap the bitmaps
of continuation indicators on the fringes.
Diffstat (limited to 'src/fringe.c')
-rw-r--r-- | src/fringe.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fringe.c b/src/fringe.c index 335dde03c8a..cfb944d58d1 100644 --- a/src/fringe.c +++ b/src/fringe.c @@ -1090,7 +1090,8 @@ update_window_fringes (w, keep_current_p) : LEFT_FRINGE (2, Qtop, 0)); else if (row->indicate_eob_p && EQ (boundary_bot, Qleft)) left = LEFT_FRINGE (3, Qbottom, row->ends_at_zv_p); - else if (MATRIX_ROW_CONTINUATION_LINE_P (row)) + else if ((!row->reversed_p && MATRIX_ROW_CONTINUATION_LINE_P (row)) + || (row->reversed_p && row->continued_p)) left = LEFT_FRINGE (4, Qcontinuation, 0); else if (row->indicate_empty_line_p && EQ (empty_pos, Qleft)) left = LEFT_FRINGE (5, Qempty_line, 0); @@ -1117,7 +1118,8 @@ update_window_fringes (w, keep_current_p) : RIGHT_FRINGE (2, Qtop, 0)); else if (row->indicate_eob_p && EQ (boundary_bot, Qright)) right = RIGHT_FRINGE (3, Qbottom, row->ends_at_zv_p); - else if (row->continued_p) + else if ((!row->reversed_p && row->continued_p) + || (row->reversed_p && MATRIX_ROW_CONTINUATION_LINE_P (row))) right = RIGHT_FRINGE (4, Qcontinuation, 0); else if (row->indicate_top_line_p && EQ (arrow_top, Qright)) right = RIGHT_FRINGE (6, Qup, 0); |