]> git.pld-linux.org Git - packages/vim.git/blob - 7.0.115
- updated to 0.7.3
[packages/vim.git] / 7.0.115
1 To: vim-dev@vim.org
2 Subject: Patch 7.0.115
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.115
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)
18 Files:      src/edit.c
19
20
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
23 ***************
24 *** 2157,2163 ****
25         do
26         {
27             if (    !(match->cp_flags & ORIGINAL_TEXT)
28 !                   && ins_compl_equal(match, str, len)
29                     && match->cp_str[len] == NUL)
30                 return NOTDONE;
31             match = match->cp_next;
32 --- 2157,2163 ----
33         do
34         {
35             if (    !(match->cp_flags & ORIGINAL_TEXT)
36 !                   && STRNCMP(match->cp_str, str, len) == 0
37                     && match->cp_str[len] == NUL)
38                 return NOTDONE;
39             match = match->cp_next;
40 ***************
41 *** 4042,4048 ****
42             if (got_int)
43                 break;
44             /* Fill the popup menu as soon as possible. */
45 !           if (pum_wanted() && type != -1)
46                 ins_compl_check_keys(0);
47   
48             if ((ctrl_x_mode != 0 && ctrl_x_mode != CTRL_X_WHOLE_LINE)
49 --- 4042,4048 ----
50             if (got_int)
51                 break;
52             /* Fill the popup menu as soon as possible. */
53 !           if (type != -1)
54                 ins_compl_check_keys(0);
55   
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
59 ***************
60 *** 668,669 ****
61 --- 668,671 ----
62   {   /* Add new patch number below this line */
63 + /**/
64 +     115,
65   /**/
66
67 -- 
68 The budget process was invented by an alien race of sadistic beings who
69 resemble large cats.
70                                 (Scott Adams - The Dilbert principle)
71
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    ///
This page took 0.035286 seconds and 3 git commands to generate.