4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
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.
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
22 if ((int)(p - line) - (int)compl_col <= 0)
25 - /* For redo we need to repeat this backspace. */
26 - AppendCharToRedobuff(K_BS);
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
38 - /* For redo we need to count this character so that the number of
39 - * backspaces is correct. */
40 - AppendCharToRedobuff(c);
42 /* If we didn't complete finding matches we must search again. */
43 if (compl_was_interrupted)
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
50 { /* Add new patch number below this line */
56 A parent can be arrested if his child cannot hold back a burp during a church
58 [real standing law in Nebraska, United States of America]
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 ///