changeset 6089:2f02675bc4b0 v7.4.383

updated for version 7.4.383 Problem: Bad interaction between preview window and omnifunc. Solution: Avoid redrawing the status line. (Hirohito Higashi)
author Bram Moolenaar <bram@vim.org>
date Wed, 23 Jul 2014 21:10:43 +0200
parents 6baa86fc1060
children 7b2d05a51e76
files src/popupmnu.c src/version.c
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/popupmnu.c
+++ b/src/popupmnu.c
@@ -643,6 +643,12 @@ pum_set_selected(n, repeat)
 
 		    if (curwin != curwin_save && win_valid(curwin_save))
 		    {
+			/* When the first completion is done and the preview
+			 * window is not resized, skip the preview window's
+			 * status line redrawing. */
+			if (ins_compl_active() && !resized)
+			    curwin->w_redr_status = FALSE;
+
 			/* Return cursor to where we were */
 			validate_cursor();
 			redraw_later(SOME_VALID);
--- a/src/version.c
+++ b/src/version.c
@@ -735,6 +735,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    383,
+/**/
     382,
 /**/
     381,