Fix bug #9549 with longlines-show-hard-newlines.
authorEli Zaretskii <eliz@gnu.org>
Tue, 20 Sep 2011 17:13:45 +0000 (20:13 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 20 Sep 2011 17:13:45 +0000 (20:13 +0300)
commit8c203dbf33f77e12b6833d26bb2b86e836ceef8e
tree87a86bbab1745289ede2dc58cb8dc91aa00a1e7c
parent5147931d624ce62d2382398859a06fa1f334fd56
Fix bug #9549 with longlines-show-hard-newlines.

 src/xdisp.c (set_cursor_from_row): If the row ends in a newline from
 a display string, extend search for cursor position to end of row.
 (find_row_edges): If the row ends in a newline from a display
 string, increment its MATRIX_ROW_END_CHARPOS by one.
 Handle the case of a display string with multiple newlines.
src/ChangeLog
src/xdisp.c