Hello,
when searching for the EOL ($) and 'hlsearch' is set, it doesn't get
properly highlighted, if the EOL is in the same column as the cursor is
placed after the first match.
To reproduce:
vim -u NONE -U NONE -c "set hlsearch" -c "normal 3ix^Mxx^Mxxx^M^[/$^M"
^M = Ctrl-v<Enter>
^[ = Ctrl-v<Esc>
and do /$<CR> several times to notice the problem
git-bisect tracks it down to this:
Patch 7.1.152
Problem: Display problem when 'hls' and 'cursorcolumn' are set and
searching for "$". (John Mullin) Also when scrolling
horizontally when 'wrap' is off.
Solution: Keep track of the column where highlighting was set. Check the
column offset when skipping characters.
Files: src/screen.c
Markus
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---