4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: When 'ignorecase' is set, Insert mode completion only adds "foo"
12 and not "Foo" when both are found.
13 A found match isn't displayed right away when 'completeopt' does
14 not have "menu" or "menuone".
15 Solution: Do not ignore case when checking if a completion match already
16 exists. call ins_compl_check_keys() also when not using a popup
17 menu. (Yukihiro Nakadaira)
21 *** ../vim-7.0.114/src/edit.c Tue Oct 3 15:22:00 2006
22 --- src/edit.c Tue Oct 3 14:57:47 2006
27 if ( !(match->cp_flags & ORIGINAL_TEXT)
28 ! && ins_compl_equal(match, str, len)
29 && match->cp_str[len] == NUL)
31 match = match->cp_next;
35 if ( !(match->cp_flags & ORIGINAL_TEXT)
36 ! && STRNCMP(match->cp_str, str, len) == 0
37 && match->cp_str[len] == NUL)
39 match = match->cp_next;
44 /* Fill the popup menu as soon as possible. */
45 ! if (pum_wanted() && type != -1)
46 ins_compl_check_keys(0);
48 if ((ctrl_x_mode != 0 && ctrl_x_mode != CTRL_X_WHOLE_LINE)
52 /* Fill the popup menu as soon as possible. */
54 ins_compl_check_keys(0);
56 if ((ctrl_x_mode != 0 && ctrl_x_mode != CTRL_X_WHOLE_LINE)
57 *** ../vim-7.0.114/src/version.c Tue Oct 3 15:36:09 2006
58 --- src/version.c Tue Oct 3 15:46:15 2006
62 { /* Add new patch number below this line */
68 The budget process was invented by an alien race of sadistic beings who
70 (Scott Adams - The Dilbert principle)
72 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
73 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
74 \\\ download, build and distribute -- http://www.A-A-P.org ///
75 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///