]>
Commit | Line | Data |
---|---|---|
6f27073b AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.0.034 | |
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.034 | |
11 | Problem: After doing completion and typing more characters or using BS | |
12 | repeating with "." didn't work properly. (Martin Stubenschrott) | |
13 | Solution: Don't put BS and other characters in the redo buffer right away, | |
14 | do this when finishing completion. | |
15 | Files: src/edit.c | |
16 | ||
17 | ||
18 | *** ../vim-7.0.033/src/edit.c Thu Jun 22 16:48:43 2006 | |
19 | --- src/edit.c Fri Jun 23 17:50:47 2006 | |
20 | *************** | |
21 | *** 3020,3028 **** | |
22 | if ((int)(p - line) - (int)compl_col <= 0) | |
23 | return K_BS; | |
24 | ||
25 | - /* For redo we need to repeat this backspace. */ | |
26 | - AppendCharToRedobuff(K_BS); | |
27 | - | |
28 | /* Deleted more than what was used to find matches or didn't finish | |
29 | * finding all matches: need to look for matches all over again. */ | |
30 | if (curwin->w_cursor.col <= compl_col + compl_length | |
31 | --- 3020,3025 ---- | |
32 | *************** | |
33 | *** 3121,3130 **** | |
34 | else | |
35 | #endif | |
36 | ins_char(c); | |
37 | - | |
38 | - /* For redo we need to count this character so that the number of | |
39 | - * backspaces is correct. */ | |
40 | - AppendCharToRedobuff(c); | |
41 | ||
42 | /* If we didn't complete finding matches we must search again. */ | |
43 | if (compl_was_interrupted) | |
44 | --- 3118,3123 ---- | |
45 | *** ../vim-7.0.033/src/version.c Fri Jun 23 17:26:02 2006 | |
46 | --- src/version.c Fri Jun 23 17:59:04 2006 | |
47 | *************** | |
48 | *** 668,669 **** | |
49 | --- 668,671 ---- | |
50 | { /* Add new patch number below this line */ | |
51 | + /**/ | |
52 | + 34, | |
53 | /**/ | |
54 | ||
55 | -- | |
56 | A parent can be arrested if his child cannot hold back a burp during a church | |
57 | service. | |
58 | [real standing law in Nebraska, United States of America] | |
59 | ||
60 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
61 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
62 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
63 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |