Hi list.

When completion popup is displayed, the popup window flicker with typing
several keys.

--------------
asdfasdf1
asdfasdf1211
asdfasdf12222
asdfasdf123222
asdfasdf123223
asdfasdf13
asdfasdf2
--------------

1. type <c-x><c-n><c-p> at empty line
  show popup window and clear candidate.

2. type 'asdf12' immediately

I guess this causes is calling update_screen(0). When typing some keys while
completing, update_screen(0) is called every time. But update_screen(0) is
called at follow:

* when showing popup
* when closing popup
* when resized popup

So I'm thinking it don't need to call update_screen(0) while completing.
However, redrawing status_line is needed.

How do you think? Below is a patch.

https://gist.github.com/5747173

I make sure this patch fixes the flicker.

Thanks.
- Yasuhiro Matsumoto

-- 
-- 
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/groups/opt_out.


Raspunde prin e-mail lui