summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-07-16 14:42:46 +0200
committerBram Moolenaar <Bram@vim.org>2014-07-16 14:42:46 +0200
commitf1924a9d8c6b0bad30b5ac7aabb853150d4e6e5b (patch)
treeda822370e18cb7efe71a8a52d79c8de5fb6f3f82 /src
parent310e2dbaee1b3569948528df10fceec6ebc1872c (diff)
downloadvim-f1924a9d8c6b0bad30b5ac7aabb853150d4e6e5b.zip
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)
Diffstat (limited to 'src')
-rw-r--r--src/edit.c6
-rw-r--r--src/version.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c
index 241707f63..f0d630a05 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -3854,7 +3854,8 @@ ins_compl_prep(c)
ins_compl_free();
compl_started = FALSE;
compl_matches = 0;
- msg_clr_cmdline(); /* necessary for "noshowmode" */
+ if (!shortmess(SHM_COMPLETIONMENU))
+ msg_clr_cmdline(); /* necessary for "noshowmode" */
ctrl_x_mode = 0;
compl_enter_selects = FALSE;
if (edit_submode != NULL)
@@ -4591,7 +4592,10 @@ ins_compl_delete()
*/
i = compl_col + (compl_cont_status & CONT_ADDING ? compl_length : 0);
backspace_until_column(i);
+
+ /* Not sure what is still valid, better redraw everything. */
changed_cline_bef_curs();
+ redraw_curbuf_later(NOT_VALID);
}
/* Insert the new text being completed. */
diff --git a/src/version.c b/src/version.c
index ea048b7f8..1e031cb4d 100644
--- a/src/version.c
+++ b/src/version.c
@@ -735,6 +735,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 367,
+/**/
366,
/**/
365,