summaryrefslogtreecommitdiffstats
path: root/patches/source/vim/patches/7.4.383
blob: f02281221cb6b68ef7f8f2da2720bda55c829283 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
To: vim_dev@googlegroups.com
Subject: Patch 7.4.383
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 7.4.383
Problem:    Bad interaction between preview window and omnifunc.
Solution:   Avoid redrawing the status line. (Hirohito Higashi)
Files:	    src/popupmnu.c


*** ../vim-7.4.382/src/popupmnu.c	2014-07-09 19:58:21.111647328 +0200
--- src/popupmnu.c	2014-07-23 20:56:17.131772989 +0200
***************
*** 643,648 ****
--- 643,654 ----
  
  		    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);
*** ../vim-7.4.382/src/version.c	2014-07-23 20:41:09.895779510 +0200
--- src/version.c	2014-07-23 20:58:12.079772163 +0200
***************
*** 736,737 ****
--- 736,739 ----
  {   /* Add new patch number below this line */
+ /**/
+     383,
  /**/

-- 
ARTHUR:    ... and I am your king ....
OLD WOMAN: Ooooh!  I didn't know we had a king.  I thought we were an
           autonomous collective ...
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- Bram@Moolenaar.net -- 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    ///