]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.1.0629: "gn" selects the wrong text with a multi-line match v8.1.0629
authorBram Moolenaar <Bram@vim.org>
Sun, 23 Dec 2018 18:10:09 +0000 (19:10 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 23 Dec 2018 18:10:09 +0000 (19:10 +0100)
commit5d24a2257e597fd752e33b2c1e9c19cf9114a517
tree10c6203d3f704fa189e1b52e9af5df62a6831fc8
parentc33181c44ccb86637e011f35cc0397a2d76e23ae
patch 8.1.0629: "gn" selects the wrong text with a multi-line match

Problem:    "gn" selects the wrong text with a multi-line match.
Solution:   Get the end position from searchit() directly. (closes #3695)
src/edit.c
src/evalfunc.c
src/ex_docmd.c
src/ex_getln.c
src/normal.c
src/proto/search.pro
src/search.c
src/testdir/test_gn.vim
src/version.c