]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.1269 v7.3.1269
authorBram Moolenaar <Bram@vim.org>
Sat, 29 Jun 2013 14:21:58 +0000 (16:21 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 29 Jun 2013 14:21:58 +0000 (16:21 +0200)
Problem:    Insert completion keeps entry selected even though the list has
            changed. (Olivier Teuliere)
Solution:   Reset compl_shown_match and compl_curr_match. (Christian Brabandt)

src/edit.c
src/version.c

index b42b930f1b69953e4425a6fc0d04daf8dad7a100..e60ec1995ea6a5fd9c93ee131e96a54113c355c9 100644 (file)
@@ -3467,6 +3467,7 @@ ins_compl_new_leader()
     }
 
     compl_enter_selects = !compl_used_match;
+    compl_shown_match = compl_curr_match = compl_first_match;
 
     /* Show the popup menu with a different set of matches. */
     ins_compl_show_pum();
index 463098792f97007adffde9519b5ef9188ee5d433..8022a78f38f1f7f23aba73d3c30e9b2514eaeea0 100644 (file)
@@ -728,6 +728,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1269,
 /**/
     1268,
 /**/