]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.1.0284: 'cursorline' highlighting wrong with 'incsearch' v8.1.0284
authorBram Moolenaar <Bram@vim.org>
Tue, 14 Aug 2018 16:16:52 +0000 (18:16 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 14 Aug 2018 16:16:52 +0000 (18:16 +0200)
commit2f6a346a4cd2d5bdd6dc9b3209ebce7b6340221d
tree9fcf5bd2bd4297a2b80608ae0f70aa68a259081a
parent80d83c094d52b9983ef316b1a08c314060ca8313
patch 8.1.0284: 'cursorline' highlighting wrong with 'incsearch'

Problem:    'cursorline' highlighting wrong with 'incsearch'.
Solution:   Move the cursor back if the match is outside the range.
src/ex_getln.c
src/testdir/dumps/Test_incsearch_substitute_07.dump [new file with mode: 0644]
src/testdir/dumps/Test_incsearch_substitute_08.dump [new file with mode: 0644]
src/testdir/test_search.vim
src/version.c