3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.376
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.376 (after 7.4.367)
3ef2ca
Problem:    Popup menu flickers too much.
3ef2ca
Solution:   Remove the forced redraw. (Hirohito Higashi)
3ef2ca
Files:	    src/edit.c
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.375/src/edit.c	2014-07-16 14:42:37.923740082 +0200
3ef2ca
--- src/edit.c	2014-07-23 13:49:03.535957228 +0200
3ef2ca
***************
3ef2ca
*** 4593,4601 ****
3ef2ca
      i = compl_col + (compl_cont_status & CONT_ADDING ? compl_length : 0);
3ef2ca
      backspace_until_column(i);
3ef2ca
  
3ef2ca
!     /* Not sure what is still valid, better redraw everything. */
3ef2ca
      changed_cline_bef_curs();
3ef2ca
-     redraw_curbuf_later(NOT_VALID);
3ef2ca
  }
3ef2ca
  
3ef2ca
  /* Insert the new text being completed. */
3ef2ca
--- 4593,4601 ----
3ef2ca
      i = compl_col + (compl_cont_status & CONT_ADDING ? compl_length : 0);
3ef2ca
      backspace_until_column(i);
3ef2ca
  
3ef2ca
!     /* TODO: is this sufficient for redrawing?  Redrawing everything causes
3ef2ca
!      * flicker, thus we can't do that. */
3ef2ca
      changed_cline_bef_curs();
3ef2ca
  }
3ef2ca
  
3ef2ca
  /* Insert the new text being completed. */
3ef2ca
*** ../vim-7.4.375/src/version.c	2014-07-23 13:16:26.727971292 +0200
3ef2ca
--- src/version.c	2014-07-23 13:48:02.031957670 +0200
3ef2ca
***************
3ef2ca
*** 736,737 ****
3ef2ca
--- 736,739 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     376,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
Why I like vim:
3ef2ca
> I like VIM because, when I ask a question in this newsgroup, I get a
3ef2ca
> one-line answer.  With xemacs, I get a 1Kb lisp script with bugs in it ;-)
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    ///