[7.2.148] When searching for "$" while 'hlsearch' is set, highlighting the
commited77176d9d480abc08ebb1b9faa2065701f2751f
authorBram Moolenaar <Bram@moolenaar.net>
Wed, 18 Mar 2009 18:05:37 +0000 (18 19:05 +0100)
committerBram Moolenaar <Bram@moolenaar.net>
Wed, 18 Mar 2009 18:05:37 +0000 (18 19:05 +0100)
tree6cdd5eb7a9430c6922f4d16081d0461ecfd72489
parent2ae1167aed931aa7a622740376252f84b3cbdf6b
[7.2.148] When searching for "$" while 'hlsearch' is set, highlighting the

Problem:    When searching for "$" while 'hlsearch' is set, highlighting the
            character after the line does not work in the cursor column.
            Also highlighting for Visual mode after the line end when this
            isn't needed.  (Markus Heidelberg)

Solution:   Only compare the cursor column in the cursor line.  Only highlight
            for Visual selection after the last character when it's needed to
            see where the Visual selection ends.

Patch 7.2.148
src/screen.c
src/version.c