Mercurial > vim
diff src/testdir/test14.in @ 4252:96f478b812b1 v7.3.877
updated for version 7.3.877
Problem: Forward searching with search() is broken.
Solution: Fix it and add tests. (Sung Pae)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 03 Apr 2013 21:14:29 +0200 |
parents | d52c45b35fb0 |
children | 15960ebc2ee8 |
line wrap: on
line diff
--- a/src/testdir/test14.in +++ b/src/testdir/test14.in @@ -44,6 +44,9 @@ j:call search('^$', 'c') :call append(line('$'), line('.') - startline) :call search('^$', 'bc') :call append(line('$'), line('.') - startline) +/two +:call search('.', 'c') +:call append(line('$'), getline('.')[col('.') - 1:]) :/^search()/,$w >>test.out :qa! ENDTEST @@ -79,4 +82,5 @@ Piece of Java foobar +one two search()