]> git.pld-linux.org Git - packages/vim.git/blob - 7.3.566
- add patches 7.3.619-743
[packages/vim.git] / 7.3.566
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.566
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.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)
14 Files:      src/edit.c
15
16
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
19 ***************
20 *** 3467,3479 ****
21         (*mb_char2bytes)(c, buf);
22         buf[cc] = NUL;
23         ins_char_bytes(buf, cc);
24 !       AppendToRedobuff(buf);
25       }
26       else
27   #endif
28       {
29         ins_char(c);
30 !       AppendCharToRedobuff(c);
31       }
32   
33       /* If we didn't complete finding matches we must search again. */
34 --- 3467,3481 ----
35         (*mb_char2bytes)(c, buf);
36         buf[cc] = NUL;
37         ins_char_bytes(buf, cc);
38 !       if (compl_opt_refresh_always)
39 !           AppendToRedobuff(buf);
40       }
41       else
42   #endif
43       {
44         ins_char(c);
45 !       if (compl_opt_refresh_always)
46 !           AppendCharToRedobuff(c);
47       }
48   
49       /* If we didn't complete finding matches we must search again. */
50 ***************
51 *** 3481,3487 ****
52         ins_compl_restart();
53   
54       /* When 'always' is set, don't reset compl_leader. While completing,
55 !      * cursor don't point original position, changing compl_leader would
56        * break redo. */
57       if (!compl_opt_refresh_always)
58       {
59 --- 3483,3489 ----
60         ins_compl_restart();
61   
62       /* When 'always' is set, don't reset compl_leader. While completing,
63 !      * cursor doesn't point original position, changing compl_leader would
64        * break redo. */
65       if (!compl_opt_refresh_always)
66       {
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
69 ***************
70 *** 716,717 ****
71 --- 716,719 ----
72   {   /* Add new patch number below this line */
73 + /**/
74 +     566,
75   /**/
76
77 -- 
78 CVS sux, men don't like commitment
79
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    ///
This page took 0.09495 seconds and 3 git commands to generate.