Fix bug #11035 with cursor positioning on overlay strings with newlines.
commite50a24a249e1bfd69af7e48ea5076cac78bf7224
authorEli Zaretskii <eliz@gnu.org>
Sun, 18 Mar 2012 16:57:39 +0000 (18 18:57 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 18 Mar 2012 16:57:39 +0000 (18 18:57 +0200)
tree782a992440226d6a66d9d2ee76ab4803ae19229a
parentd15aac68209502b0a4e748a3a24e4b1c6a4bc54a
Fix bug #11035 with cursor positioning on overlay strings with newlines.

 src/xdisp.c (cursor_row_p): Even if the glyph row ends in a string
 that is not from display property, accept the row as a "cursor
 row" if one of the string's character has a non-nil `cursor'
 property.  Fixes cursor positioning when there are newlines in
 overlay strings, e.g. in icomplete.el.
src/ChangeLog
src/xdisp.c