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