]>
Commit | Line | Data |
---|---|---|
c6060300 MT |
1 | To: vim_dev@googlegroups.com |
2 | Subject: Patch 7.3.359 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.3.359 | |
11 | Problem: Command line completion shows dict functions. | |
12 | Solution: Skip dict functions for completion. (Yasuhiro Matsumoto) | |
13 | Files: src/eval.c | |
14 | ||
15 | ||
16 | *** ../vim-7.3.358/src/eval.c 2011-10-26 13:19:23.000000000 +0200 | |
17 | --- src/eval.c 2011-11-30 14:53:38.000000000 +0100 | |
18 | *************** | |
19 | *** 875,881 **** | |
20 | ||
21 | #ifdef EBCDIC | |
22 | /* | |
23 | ! * Sort the function table, to enable binary sort. | |
24 | */ | |
25 | sortFunctions(); | |
26 | #endif | |
27 | --- 875,881 ---- | |
28 | ||
29 | #ifdef EBCDIC | |
30 | /* | |
31 | ! * Sort the function table, to enable binary search. | |
32 | */ | |
33 | sortFunctions(); | |
34 | #endif | |
35 | *************** | |
36 | *** 21737,21742 **** | |
37 | --- 21737,21745 ---- | |
38 | ++hi; | |
39 | fp = HI2UF(hi); | |
40 | ||
41 | + if (fp->uf_flags & FC_DICT) | |
42 | + return NULL; /* don't show dict functions */ | |
43 | + | |
44 | if (STRLEN(fp->uf_name) + 4 >= IOSIZE) | |
45 | return fp->uf_name; /* prevents overflow */ | |
46 | ||
47 | *** ../vim-7.3.358/src/version.c 2011-11-30 14:47:12.000000000 +0100 | |
48 | --- src/version.c 2011-11-30 14:56:57.000000000 +0100 | |
49 | *************** | |
50 | *** 716,717 **** | |
51 | --- 716,719 ---- | |
52 | { /* Add new patch number below this line */ | |
53 | + /**/ | |
54 | + 359, | |
55 | /**/ | |
56 | ||
57 | -- | |
58 | 'Psychologist' -- Someone who looks at everyone else when | |
59 | an attractive woman enters the room. | |
60 | ||
61 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
62 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
63 | \\\ an exciting new programming language -- http://www.Zimbu.org /// | |
64 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |