0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.4.367

Problem:    Other solution for redrawing after completion.
Solution:   Schedule a window redraw instead of just clearing the command
            line. (Jacob Niehus)
This commit is contained in:
Bram Moolenaar
2014-07-16 14:42:46 +02:00
parent 310e2dbaee
commit f1924a9d8c
2 changed files with 7 additions and 1 deletions

View File

@@ -3854,7 +3854,8 @@ ins_compl_prep(c)
ins_compl_free(); ins_compl_free();
compl_started = FALSE; compl_started = FALSE;
compl_matches = 0; compl_matches = 0;
msg_clr_cmdline(); /* necessary for "noshowmode" */ if (!shortmess(SHM_COMPLETIONMENU))
msg_clr_cmdline(); /* necessary for "noshowmode" */
ctrl_x_mode = 0; ctrl_x_mode = 0;
compl_enter_selects = FALSE; compl_enter_selects = FALSE;
if (edit_submode != NULL) if (edit_submode != NULL)
@@ -4591,7 +4592,10 @@ ins_compl_delete()
*/ */
i = compl_col + (compl_cont_status & CONT_ADDING ? compl_length : 0); i = compl_col + (compl_cont_status & CONT_ADDING ? compl_length : 0);
backspace_until_column(i); backspace_until_column(i);
/* Not sure what is still valid, better redraw everything. */
changed_cline_bef_curs(); changed_cline_bef_curs();
redraw_curbuf_later(NOT_VALID);
} }
/* Insert the new text being completed. */ /* Insert the new text being completed. */

View File

@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
367,
/**/ /**/
366, 366,
/**/ /**/