Karsten Hopp 947a02
To: vim_dev@googlegroups.com
Karsten Hopp 947a02
Subject: Patch 7.4.367
Karsten Hopp 947a02
Fcc: outbox
Karsten Hopp 947a02
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 947a02
Mime-Version: 1.0
Karsten Hopp 947a02
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 947a02
Content-Transfer-Encoding: 8bit
Karsten Hopp 947a02
------------
Karsten Hopp 947a02
Karsten Hopp 947a02
Patch 7.4.367 (after 7.4.357)
Karsten Hopp 947a02
Problem:    Other solution for redrawing after completion.
Karsten Hopp 947a02
Solution:   Schedule a window redraw instead of just clearing the command
Karsten Hopp 947a02
	    line. (Jacob Niehus)
Karsten Hopp 947a02
Files:	    src/edit.c
Karsten Hopp 947a02
Karsten Hopp 947a02
Karsten Hopp 947a02
*** ../vim-7.4.366/src/edit.c	2014-07-09 14:00:45.175044250 +0200
Karsten Hopp 947a02
--- src/edit.c	2014-07-16 14:36:00.679748155 +0200
Karsten Hopp 947a02
***************
Karsten Hopp 947a02
*** 3854,3860 ****
Karsten Hopp 947a02
  	    ins_compl_free();
Karsten Hopp 947a02
  	    compl_started = FALSE;
Karsten Hopp 947a02
  	    compl_matches = 0;
Karsten Hopp 947a02
! 	    msg_clr_cmdline();	/* necessary for "noshowmode" */
Karsten Hopp 947a02
  	    ctrl_x_mode = 0;
Karsten Hopp 947a02
  	    compl_enter_selects = FALSE;
Karsten Hopp 947a02
  	    if (edit_submode != NULL)
Karsten Hopp 947a02
--- 3854,3861 ----
Karsten Hopp 947a02
  	    ins_compl_free();
Karsten Hopp 947a02
  	    compl_started = FALSE;
Karsten Hopp 947a02
  	    compl_matches = 0;
Karsten Hopp 947a02
! 	    if (!shortmess(SHM_COMPLETIONMENU))
Karsten Hopp 947a02
! 		msg_clr_cmdline();	/* necessary for "noshowmode" */
Karsten Hopp 947a02
  	    ctrl_x_mode = 0;
Karsten Hopp 947a02
  	    compl_enter_selects = FALSE;
Karsten Hopp 947a02
  	    if (edit_submode != NULL)
Karsten Hopp 947a02
***************
Karsten Hopp 947a02
*** 4591,4597 ****
Karsten Hopp 947a02
--- 4592,4601 ----
Karsten Hopp 947a02
       */
Karsten Hopp 947a02
      i = compl_col + (compl_cont_status & CONT_ADDING ? compl_length : 0);
Karsten Hopp 947a02
      backspace_until_column(i);
Karsten Hopp 947a02
+ 
Karsten Hopp 947a02
+     /* Not sure what is still valid, better redraw everything. */
Karsten Hopp 947a02
      changed_cline_bef_curs();
Karsten Hopp 947a02
+     redraw_curbuf_later(NOT_VALID);
Karsten Hopp 947a02
  }
Karsten Hopp 947a02
  
Karsten Hopp 947a02
  /* Insert the new text being completed. */
Karsten Hopp 947a02
*** ../vim-7.4.366/src/version.c	2014-07-16 14:20:38.255766903 +0200
Karsten Hopp 947a02
--- src/version.c	2014-07-16 14:42:23.059740384 +0200
Karsten Hopp 947a02
***************
Karsten Hopp 947a02
*** 736,737 ****
Karsten Hopp 947a02
--- 736,739 ----
Karsten Hopp 947a02
  {   /* Add new patch number below this line */
Karsten Hopp 947a02
+ /**/
Karsten Hopp 947a02
+     367,
Karsten Hopp 947a02
  /**/
Karsten Hopp 947a02
Karsten Hopp 947a02
-- 
Karsten Hopp 947a02
No children may attend school with their breath smelling of "wild onions."
Karsten Hopp 947a02
		[real standing law in West Virginia, United States of America]
Karsten Hopp 947a02
Karsten Hopp 947a02
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 947a02
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 947a02
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 947a02
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///