Fix display of R2L lines and cursor motion in bidi buffers.
authorEli Zaretskii <eliz@gnu.org>
Sat, 1 May 2010 18:11:20 +0000 (21:11 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 1 May 2010 18:11:20 +0000 (21:11 +0300)
commitaf7c7572ce8d87f51817d0f518d1b0aced074a41
treeff962558f8c48781e6a76883bd429b5ea6be73ba
parent502269d6e71e78eaafe2da520d9b14ecf732914d
parentb47e0dcf2db5d0f754342f0eb13e53974bfbefbe
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.
src/ChangeLog