# HG changeset patch # User Bram Moolenaar # Date 1372515718 -7200 # Node ID 350239b0e9eb063d9f84dfa4bc7a2b47d78e9afb # Parent 38b52e3c7e8a89b0446054a907d3721c7c95eb6f updated for version 7.3.1269 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) diff --git a/src/edit.c b/src/edit.c --- a/src/edit.c +++ b/src/edit.c @@ -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(); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1269, +/**/ 1268, /**/ 1267,