Mercurial > vim
comparison src/edit.c @ 5051:350239b0e9eb v7.3.1269
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)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 29 Jun 2013 16:21:58 +0200 |
parents | d6a7dea44a86 |
children | 08d4c11cdaed |
comparison
equal
deleted
inserted
replaced
5050:38b52e3c7e8a | 5051:350239b0e9eb |
---|---|
3465 compl_cont_status = 0; | 3465 compl_cont_status = 0; |
3466 compl_restarting = FALSE; | 3466 compl_restarting = FALSE; |
3467 } | 3467 } |
3468 | 3468 |
3469 compl_enter_selects = !compl_used_match; | 3469 compl_enter_selects = !compl_used_match; |
3470 compl_shown_match = compl_curr_match = compl_first_match; | |
3470 | 3471 |
3471 /* Show the popup menu with a different set of matches. */ | 3472 /* Show the popup menu with a different set of matches. */ |
3472 ins_compl_show_pum(); | 3473 ins_compl_show_pum(); |
3473 | 3474 |
3474 /* Don't let Enter select the original text when there is no popup menu. */ | 3475 /* Don't let Enter select the original text when there is no popup menu. */ |