Dear Devs,

I've found a problem with the search() function.  Put a line like the
one below

    (    X

as a last line which contains a (.  Then place the cursor over X and run:
:call search('(', 'cW')
Here the cursor lands on (.  It seems that with the 'c' switch the
search begins where the line begins, since 

    (  (   X
(again placing the cursor over X, and assuming that there are no more
brackets in the file) the search will end over the first bracket.

I have tested this with vim -u NONE on Linux (vim 7.3.871).

Best regards,
Marcin

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui