Hi,

There seems to be a small bug in the completion popup behavior.
Here is a simple way to reproduce it (I used vim 7.3-798 on Linux):

1) Start vim with "vim -u NONE -c "set nocp"

2) Enter the following text:
foobar
foobaz
foofoo1
foofoo2
foo

3) In insert mode, with the cursor at the end of the last word, type
<c-n><c-p> to open the completion menu and remove the inserted text

4) Type <Down> to highlight "foobar" again

4) Type 'f': the completion list shrinks to "foofoo1" and "foofoo2" only

5) Type <bs>: the list is restored, and "foofoo1" is still selected
(and typing <CR> now would insert it)

6) Type <down>: instead of selecting "foofoo2" as expected, the
selection is now on "foobaz", as if there was still a reference to the
previous "foobar" selection somehow. This is even more visible when
the completion list has more items.

I don't know if it's preferable to have the selection back to "foobar"
after <bs>, or to have it _really_ on "foofoo1", but the current
situation is wrong IMHO.

Best regards,
-- 
Olivier

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