diff src/screen.c @ 4107:1efc30385c41 v7.3.807

updated for version 7.3.807 Problem: Popup menu does not work properly with the preview window, folds and 'cursorcolumn'. Solution: Redraw the popup menu after redrawing windows. (Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Wed, 13 Feb 2013 12:16:05 +0100
parents e1b98967a985
children 04736b4030ec
line wrap: on
line diff
--- a/src/screen.c
+++ b/src/screen.c
@@ -548,6 +548,11 @@ update_screen(type)
 #if defined(FEAT_SEARCH_EXTRA)
     end_search_hl();
 #endif
+#ifdef FEAT_INS_EXPAND
+    /* May need to redraw the popup menu. */
+    if (pum_visible())
+	pum_redraw();
+#endif
 
 #ifdef FEAT_WINDOWS
     /* Reset b_mod_set flags.  Going through all windows is probably faster