Fix the last part of bug #10464 with mouse highlight at end of line.
commite71f5d99fe97bb132f16571764213601e3160eb6
authorEli Zaretskii <eliz@gnu.org>
Wed, 11 Jan 2012 19:45:42 +0000 (11 21:45 +0200)
committerEli Zaretskii <eliz@gnu.org>
Wed, 11 Jan 2012 19:45:42 +0000 (11 21:45 +0200)
tree0af0da5d127420b37142e65176f8d196b3451503
parentcc7f8e29eaf821712c6fd04a1675b225d7acb4e8
Fix the last part of bug #10464 with mouse highlight at end of line.

 src/xdisp.c (rows_from_pos_range): Handle the case where the
 highlight ends on a newline.
 (mouse_face_from_buffer_pos): Fix off-by-one error in calculating
 he end column for display of highlight that ends on a newline
 before a R2L line.
src/ChangeLog
src/xdisp.c