diff src/edit.c @ 864:bc620d6bdf06

updated for version 7.0g03
author vimboss
date Thu, 04 May 2006 21:54:08 +0000
parents b933657f7c9d
children a5677b7ce858
line wrap: on
line diff
--- a/src/edit.c
+++ b/src/edit.c
@@ -4150,6 +4150,15 @@ ins_compl_next(allow_get_expansion, coun
 
 	/* display the updated popup menu */
 	ins_compl_show_pum();
+#ifdef FEAT_GUI
+	if (gui.in_use)
+	{
+	    /* Show the cursor after the match, not after the redrawn text. */
+	    setcursor();
+	    out_flush();
+	    gui_update_cursor(FALSE, FALSE);
+	}
+#endif
 
 	/* Delete old text to be replaced, since we're still searching and
 	 * don't want to match ourselves!  */