]> git.pld-linux.org Git - packages/vim.git/blob - 7.3.289
- new
[packages/vim.git] / 7.3.289
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.289
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.289
11 Problem:    Complete function isn't called when the leader changed.
12 Solution:   Call ins_compl_restart() when the leader changed.  (Taro Muraoka)
13 Files:      src/edit.c
14
15
16 *** ../vim-7.3.288/src/edit.c   2011-05-19 17:25:36.000000000 +0200
17 --- src/edit.c  2011-08-28 15:53:47.000000000 +0200
18 ***************
19 *** 3367,3372 ****
20 --- 3367,3381 ----
21       ins_bytes(compl_leader + ins_compl_len());
22       compl_used_match = FALSE;
23   
24 + #ifdef FEAT_COMPL_FUNC
25 +     /*
26 +      * To call eval 'completefunc' when leader is changed, restart completion
27 +      * every time.
28 +      */
29 +     if (ctrl_x_mode == CTRL_X_FUNCTION || ctrl_x_mode == CTRL_X_OMNI)
30 +         ins_compl_restart();
31 + #endif
32
33       if (compl_started)
34         ins_compl_set_original_text(compl_leader);
35       else
36 *** ../vim-7.3.288/src/version.c        2011-08-28 16:00:14.000000000 +0200
37 --- src/version.c       2011-08-28 16:01:22.000000000 +0200
38 ***************
39 *** 711,712 ****
40 --- 711,714 ----
41   {   /* Add new patch number below this line */
42 + /**/
43 +     289,
44   /**/
45
46 -- 
47 THEOREM: VI is perfect.
48 PROOF: VI in roman numerals is 6.  The natural numbers < 6 which divide 6 are
49 1, 2, and 3. 1+2+3 = 6.  So 6 is a perfect number.  Therefore, VI is perfect.
50 QED
51                                                     -- Arthur Tateishi
52
53  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
54 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
55 \\\  an exciting new programming language -- http://www.Zimbu.org        ///
56  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.041415 seconds and 3 git commands to generate.