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
10 Patch 7.3.566 (after 7.3.561)
11 Problem: Redo after completion does not work correctly when refresh: always
12 is not used. (Raymond Ko)
13 Solution: Check the compl_opt_refresh_always flag. (Christian Brabandt)
17 *** ../vim-7.3.565/src/edit.c 2012-06-20 14:26:30.000000000 +0200
18 --- src/edit.c 2012-06-20 22:52:03.000000000 +0200
21 (*mb_char2bytes)(c, buf);
23 ins_char_bytes(buf, cc);
24 ! AppendToRedobuff(buf);
30 ! AppendCharToRedobuff(c);
33 /* If we didn't complete finding matches we must search again. */
35 (*mb_char2bytes)(c, buf);
37 ins_char_bytes(buf, cc);
38 ! if (compl_opt_refresh_always)
39 ! AppendToRedobuff(buf);
45 ! if (compl_opt_refresh_always)
46 ! AppendCharToRedobuff(c);
49 /* If we didn't complete finding matches we must search again. */
54 /* When 'always' is set, don't reset compl_leader. While completing,
55 ! * cursor don't point original position, changing compl_leader would
57 if (!compl_opt_refresh_always)
62 /* When 'always' is set, don't reset compl_leader. While completing,
63 ! * cursor doesn't point original position, changing compl_leader would
65 if (!compl_opt_refresh_always)
67 *** ../vim-7.3.565/src/version.c 2012-06-20 18:39:12.000000000 +0200
68 --- src/version.c 2012-06-20 22:54:27.000000000 +0200
72 { /* Add new patch number below this line */
78 CVS sux, men don't like commitment
80 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
81 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
82 \\\ an exciting new programming language -- http://www.Zimbu.org ///
83 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///