1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Complete function isn't called when the leader changed.
12 Solution: Call ins_compl_restart() when the leader changed. (Taro Muraoka)
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
21 ins_bytes(compl_leader + ins_compl_len());
22 compl_used_match = FALSE;
24 + #ifdef FEAT_COMPL_FUNC
26 + * To call eval 'completefunc' when leader is changed, restart completion
29 + if (ctrl_x_mode == CTRL_X_FUNCTION || ctrl_x_mode == CTRL_X_OMNI)
30 + ins_compl_restart();
34 ins_compl_set_original_text(compl_leader);
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
41 { /* Add new patch number below this line */
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.
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 ///