lkundrak / rpms / vim

Forked from rpms/vim 4 years ago
Clone
f0504b3
To: vim_dev@googlegroups.com
f0504b3
Subject: Patch 7.4.376
f0504b3
Fcc: outbox
f0504b3
From: Bram Moolenaar <Bram@moolenaar.net>
f0504b3
Mime-Version: 1.0
f0504b3
Content-Type: text/plain; charset=UTF-8
f0504b3
Content-Transfer-Encoding: 8bit
f0504b3
------------
f0504b3
f0504b3
Patch 7.4.376 (after 7.4.367)
f0504b3
Problem:    Popup menu flickers too much.
f0504b3
Solution:   Remove the forced redraw. (Hirohito Higashi)
f0504b3
Files:	    src/edit.c
f0504b3
f0504b3
f0504b3
*** ../vim-7.4.375/src/edit.c	2014-07-16 14:42:37.923740082 +0200
f0504b3
--- src/edit.c	2014-07-23 13:49:03.535957228 +0200
f0504b3
***************
f0504b3
*** 4593,4601 ****
f0504b3
      i = compl_col + (compl_cont_status & CONT_ADDING ? compl_length : 0);
f0504b3
      backspace_until_column(i);
f0504b3
  
f0504b3
!     /* Not sure what is still valid, better redraw everything. */
f0504b3
      changed_cline_bef_curs();
f0504b3
-     redraw_curbuf_later(NOT_VALID);
f0504b3
  }
f0504b3
  
f0504b3
  /* Insert the new text being completed. */
f0504b3
--- 4593,4601 ----
f0504b3
      i = compl_col + (compl_cont_status & CONT_ADDING ? compl_length : 0);
f0504b3
      backspace_until_column(i);
f0504b3
  
f0504b3
!     /* TODO: is this sufficient for redrawing?  Redrawing everything causes
f0504b3
!      * flicker, thus we can't do that. */
f0504b3
      changed_cline_bef_curs();
f0504b3
  }
f0504b3
  
f0504b3
  /* Insert the new text being completed. */
f0504b3
*** ../vim-7.4.375/src/version.c	2014-07-23 13:16:26.727971292 +0200
f0504b3
--- src/version.c	2014-07-23 13:48:02.031957670 +0200
f0504b3
***************
f0504b3
*** 736,737 ****
f0504b3
--- 736,739 ----
f0504b3
  {   /* Add new patch number below this line */
f0504b3
+ /**/
f0504b3
+     376,
f0504b3
  /**/
f0504b3
f0504b3
-- 
f0504b3
Why I like vim:
f0504b3
> I like VIM because, when I ask a question in this newsgroup, I get a
f0504b3
> one-line answer.  With xemacs, I get a 1Kb lisp script with bugs in it ;-)
f0504b3
f0504b3
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
f0504b3
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
f0504b3
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
f0504b3
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///