Christian wrote:

> attached patch fixes this bug.
> 
> On Do, 21 Sep 2017, fcpg wrote:
> 
> > - Create new file:
> > foo
> > bar
> > foo
> > baz
> > 
> > - search for 'foo':
> >   gg*
> > 
> > - move to last line:
> > G
> > 
> > - type gN with wrapscan; it works correctly (foo on 3rd line is visually 
> > selected)
> > set wrapscan
> > gN
> > 
> > - unset wrapscan, move back to last line and type gN; cursor doesn't move, 
> > nothing is selected;
> > set nowrapscan
> > G
> > gN

Thanks!

-- 
hundred-and-one symptoms of being an internet addict:
197. Your desk collapses under the weight of your computer peripherals.

 /// 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/d/optout.

Raspunde prin e-mail lui