Patch 8.1.0876
Problem: Completion match not displayed when popup menu is not shown.
Solution: Call update_screen() when not displaying the popup menu to show
the inserted match. (Ken Takata, Hirohito Higashi)
Files: src/edit.c
*** ../vim-8.1.0875/src/edit.c 2019-01-31 18:26:05.734803539 +0100
--- src/edit.c 2019-02-05 20:08:33.304704531 +0100
***************
*** 5021,5029 ****
/* may undisplay the popup menu first */
ins_compl_upd_pum();
! // Redraw before showing the popup menu to show the user what was
! // inserted.
! pum_call_update_screen();
/* display the updated popup menu */
ins_compl_show_pum();
--- 5021,5033 ----
/* may undisplay the popup menu first */
ins_compl_upd_pum();
! if (pum_enough_matches())
! // Will display the popup menu, don't redraw yet to avoid flicker.
! pum_call_update_screen();
! else
! // Not showing the popup menu yet, redraw to show the user what was
! // inserted.
! update_screen(0);
/* display the updated popup menu */
ins_compl_show_pum();
*** ../vim-8.1.0875/src/version.c 2019-02-04 21:14:41.905108635 +0100
--- src/version.c 2019-02-05 20:11:50.479413011 +0100
***************
*** 785,786 ****
--- 785,788 ----
{ /* Add new patch number below this line */
+ /**/
+ 876,
/**/
--
[Another hideous roar.]
BEDEVERE: That's it!
ARTHUR: What?
BEDEVERE: It's The Legendary Black Beast of Aaaaarrrrrrggghhh!
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// 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.