]>
Commit | Line | Data |
---|---|---|
dbf7c229 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.0.073 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.0.073 | |
11 | Problem: Insert mode completion: Typing <CR> sometimes selects the original | |
12 | text instead of keeping what was typed. (Justin Constantino) | |
13 | Solution: Don't let <CR> select the original text if there is no popup menu. | |
14 | Files: src/edit.c | |
15 | ||
16 | ||
17 | *** ../vim-7.0.072/src/edit.c Tue Aug 29 17:28:56 2006 | |
18 | --- src/edit.c Tue Aug 29 17:40:06 2006 | |
19 | *************** | |
20 | *** 3097,3102 **** | |
21 | --- 3097,3106 ---- | |
22 | ||
23 | /* Show the popup menu with a different set of matches. */ | |
24 | ins_compl_show_pum(); | |
25 | + | |
26 | + /* Don't let Enter select the original text when there is no popup menu. */ | |
27 | + if (compl_match_array == NULL) | |
28 | + compl_enter_selects = FALSE; | |
29 | } | |
30 | ||
31 | /* | |
32 | *** ../vim-7.0.072/src/version.c Tue Aug 29 18:16:37 2006 | |
33 | --- src/version.c Tue Aug 29 18:35:33 2006 | |
34 | *************** | |
35 | *** 668,669 **** | |
36 | --- 668,671 ---- | |
37 | { /* Add new patch number below this line */ | |
38 | + /**/ | |
39 | + 73, | |
40 | /**/ | |
41 | ||
42 | -- | |
43 | hundred-and-one symptoms of being an internet addict: | |
44 | 269. You wonder how you can make your dustbin produce Sesame Street's | |
45 | Oscar's the Garbage Monster song when you empty it. | |
46 | ||
47 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
48 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
49 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
50 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |