3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.367
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.367 (after 7.4.357)
3ef2ca
Problem:    Other solution for redrawing after completion.
3ef2ca
Solution:   Schedule a window redraw instead of just clearing the command
3ef2ca
	    line. (Jacob Niehus)
3ef2ca
Files:	    src/edit.c
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.366/src/edit.c	2014-07-09 14:00:45.175044250 +0200
3ef2ca
--- src/edit.c	2014-07-16 14:36:00.679748155 +0200
3ef2ca
***************
3ef2ca
*** 3854,3860 ****
3ef2ca
  	    ins_compl_free();
3ef2ca
  	    compl_started = FALSE;
3ef2ca
  	    compl_matches = 0;
3ef2ca
! 	    msg_clr_cmdline();	/* necessary for "noshowmode" */
3ef2ca
  	    ctrl_x_mode = 0;
3ef2ca
  	    compl_enter_selects = FALSE;
3ef2ca
  	    if (edit_submode != NULL)
3ef2ca
--- 3854,3861 ----
3ef2ca
  	    ins_compl_free();
3ef2ca
  	    compl_started = FALSE;
3ef2ca
  	    compl_matches = 0;
3ef2ca
! 	    if (!shortmess(SHM_COMPLETIONMENU))
3ef2ca
! 		msg_clr_cmdline();	/* necessary for "noshowmode" */
3ef2ca
  	    ctrl_x_mode = 0;
3ef2ca
  	    compl_enter_selects = FALSE;
3ef2ca
  	    if (edit_submode != NULL)
3ef2ca
***************
3ef2ca
*** 4591,4597 ****
3ef2ca
--- 4592,4601 ----
3ef2ca
       */
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
*** ../vim-7.4.366/src/version.c	2014-07-16 14:20:38.255766903 +0200
3ef2ca
--- src/version.c	2014-07-16 14:42:23.059740384 +0200
3ef2ca
***************
3ef2ca
*** 736,737 ****
3ef2ca
--- 736,739 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     367,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
No children may attend school with their breath smelling of "wild onions."
3ef2ca
		[real standing law in West Virginia, United States of America]
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    ///