3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.383
3ef2ca
Fcc: outbox
3ef2ca
From: Bram Moolenaar <Bram@moolenaar.net>
3ef2ca
Mime-Version: 1.0
3ef2ca
Content-Type: text/plain; charset=UTF-8
3ef2ca
Content-Transfer-Encoding: 8bit
3ef2ca
------------
3ef2ca
3ef2ca
Patch 7.4.383
3ef2ca
Problem:    Bad interaction between preview window and omnifunc.
3ef2ca
Solution:   Avoid redrawing the status line. (Hirohito Higashi)
3ef2ca
Files:	    src/popupmnu.c
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.382/src/popupmnu.c	2014-07-09 19:58:21.111647328 +0200
3ef2ca
--- src/popupmnu.c	2014-07-23 20:56:17.131772989 +0200
3ef2ca
***************
3ef2ca
*** 643,648 ****
3ef2ca
--- 643,654 ----
3ef2ca
  
3ef2ca
  		    if (curwin != curwin_save && win_valid(curwin_save))
3ef2ca
  		    {
3ef2ca
+ 			/* When the first completion is done and the preview
3ef2ca
+ 			 * window is not resized, skip the preview window's
3ef2ca
+ 			 * status line redrawing. */
3ef2ca
+ 			if (ins_compl_active() && !resized)
3ef2ca
+ 			    curwin->w_redr_status = FALSE;
3ef2ca
+ 
3ef2ca
  			/* Return cursor to where we were */
3ef2ca
  			validate_cursor();
3ef2ca
  			redraw_later(SOME_VALID);
3ef2ca
*** ../vim-7.4.382/src/version.c	2014-07-23 20:41:09.895779510 +0200
3ef2ca
--- src/version.c	2014-07-23 20:58:12.079772163 +0200
3ef2ca
***************
3ef2ca
*** 736,737 ****
3ef2ca
--- 736,739 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     383,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
ARTHUR:    ... and I am your king ....
3ef2ca
OLD WOMAN: Ooooh!  I didn't know we had a king.  I thought we were an
3ef2ca
           autonomous collective ...
3ef2ca
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
3ef2ca
3ef2ca
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
3ef2ca
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
3ef2ca
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
3ef2ca
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///