Christian Brabandt wrote:

> On Mi, 02 Okt 2013, Ryan Carney wrote:
> 
> > I think I may have found a bug, I have list the steps to reproduce it. 
> > 
> > 1. open a new buffer :tabe or :e test
> > 2. put two single digits on different lines 
> > 3. search using the regex '\d' (without quotes)  
> > 4. put your cursor before or on the first digit then press gn
> > 
> > I've tested this on vim 7.4 and 7.3.
> > 
> > What happens on my end is both numbers, anything (newlins and characters) 
> > in between the two numbers are visually selected. 
> > 
> > What I think should happen is just the first number should be visually 
> > selected. 
> 
> That should go to vim_dev, since its a bug. This patch fixes it:

Thanks.  I'll also add a test for it.


-- 
Apologies for taking up the bandwidth with the apology.  Anything else I
can apologise for ...... er no can't think of anything, sorry about that.
                Andy Hunt (Member of British Olympic Apology Squad)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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