]> granicus.if.org Git - vim/commit
patch 8.2.4805: CurSearch used for all matches in current line v8.2.4805
authorBram Moolenaar <Bram@vim.org>
Fri, 22 Apr 2022 19:07:21 +0000 (20:07 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 22 Apr 2022 19:07:21 +0000 (20:07 +0100)
commit9b36750640e8e89f18afa1446ed80fdbdf0fcac0
tree6818ffda6b19cef92dc7d5f06e3ac81c5c961b71
parent1fc6ea9bf3548b578676331f5eac1f7e0611c268
patch 8.2.4805: CurSearch used for all matches in current line

Problem:    CurSearch used for all matches in current line.
Solution:   Don't use the non-zero line count. (closes #10247)
src/match.c
src/testdir/dumps/Test_hlsearch_cursearch_single_line_1.dump
src/testdir/dumps/Test_hlsearch_cursearch_single_line_2.dump
src/testdir/dumps/Test_hlsearch_cursearch_single_line_2a.dump [new file with mode: 0644]
src/testdir/dumps/Test_hlsearch_cursearch_single_line_2b.dump [new file with mode: 0644]
src/testdir/test_search.vim
src/version.c