summaryrefslogtreecommitdiffstats
path: root/patches/source/vim/patches/7.4.376
blob: 93098cb92f4433f7cf14a0b667a154f5565a0c12 (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
53
54
55
56
57
To: vim_dev@googlegroups.com
Subject: Patch 7.4.376
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.376 (after 7.4.367)
Problem:    Popup menu flickers too much.
Solution:   Remove the forced redraw. (Hirohito Higashi)
Files:	    src/edit.c


*** ../vim-7.4.375/src/edit.c	2014-07-16 14:42:37.923740082 +0200
--- src/edit.c	2014-07-23 13:49:03.535957228 +0200
***************
*** 4593,4601 ****
      i = compl_col + (compl_cont_status & CONT_ADDING ? compl_length : 0);
      backspace_until_column(i);
  
!     /* Not sure what is still valid, better redraw everything. */
      changed_cline_bef_curs();
-     redraw_curbuf_later(NOT_VALID);
  }
  
  /* Insert the new text being completed. */
--- 4593,4601 ----
      i = compl_col + (compl_cont_status & CONT_ADDING ? compl_length : 0);
      backspace_until_column(i);
  
!     /* TODO: is this sufficient for redrawing?  Redrawing everything causes
!      * flicker, thus we can't do that. */
      changed_cline_bef_curs();
  }
  
  /* Insert the new text being completed. */
*** ../vim-7.4.375/src/version.c	2014-07-23 13:16:26.727971292 +0200
--- src/version.c	2014-07-23 13:48:02.031957670 +0200
***************
*** 736,737 ****
--- 736,739 ----
  {   /* Add new patch number below this line */
+ /**/
+     376,
  /**/

-- 
Why I like vim:
> I like VIM because, when I ask a question in this newsgroup, I get a
> one-line answer.  With xemacs, I get a 1Kb lisp script with bugs in it ;-)

 /// 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    ///