commit | ac8400d48354a62b7b761cf6897641876d2c476d | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Jan 14 21:31:34 2014 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Jan 14 21:31:34 2014 +0100 |
tree | 7ad6a652a42adbe9d37ba7451bae47a542c2de38 | |
parent | 8822a9c3670cd91fe398424643cba2d353823862 [diff] [blame] |
updated for version 7.4.155 Problem: ":keeppatterns /pat" does not keep search pattern offset. Solution: Restore the offset after doing the search.
diff --git a/src/testdir/test14.in b/src/testdir/test14.in index e6816a3..fb987eb 100644 --- a/src/testdir/test14.in +++ b/src/testdir/test14.in
@@ -56,7 +56,10 @@ :$put =@/ /^substitute Y:$put =@0 -:/^search()/,$w >>test.out +/bar /e +:$put =@0 +-:keeppatterns /xyz +0dn:/^search()/,$w >>test.out :qa! ENDTEST