Hi Christian,

On Thu, Jul 28, 2016 at 11:16 PM, Christian Brabandt <cbli...@256bit.org> wrote:
> On Do, 28 Jul 2016, Bram Moolenaar wrote:
>
>> I think it should.  Most users will have 'wrapscan' on, since it is the
>> default.  If someone switches it off he must have a reason for it.
>
> okay, fixed with the latest version
>

I tested the latest patch and the confirmed that the problems I reported earlier
are fixed. I saw some new issues. Take the following text:

  1
  2 these
  3 the
  4 their
  5 there
  6 their
  7 the
  8 them
  9 these

The cursor is in line 1 and I have 'nowrapscan' set. I search for "the" and
press CTRL-N 7 times and "the" in "these" is highlighted. Now I press
CTRL-L to copy "s" and then erase it. Now if I press CTRL-P, I expect
that the cursor will move to line 8. Instead the cursor moves to line 7.

Another problem: Place the cursor in line 1. Enter "/thes" and then press
CTRL-N. The "thes" in line 9 is highlighted. Now if you press backspace,
the cursor jumps back to line 3. I expected that the cursor will remain
in line 9.

I think, the CTRL-N and CTRL-P should respect the search direction.
For example, if I search a pattern using "?text", pressing CTRL-N
should search backwards. Currently CTRL-N always searches
forward (irrespective of the search direction). Note that this is
different from how "n" and "N" work.

A typo: The help text in cmdline.txt for CTRL-P refers to CTRL-N.

   the current match is displayed then CTRL-N will move
   to the previous match

- Yegappan

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui