4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: When aborting an insert with CTRL-C an extra undo point is
12 created in the GUI. (Yukihiro Nakadaira)
13 Solution: Call gotchars() only when advancing.
17 *** ../vim-7.0.113/src/getchar.c Tue Sep 5 12:57:14 2006
18 --- src/getchar.c Tue Sep 26 17:44:45 2006
22 flush_buffers(TRUE); /* flush all typeahead */
24 ! /* Also record this character, it might be needed to
25 ! * get out of Insert mode. */
26 ! *typebuf.tb_buf = c;
27 ! gotchars(typebuf.tb_buf, 1);
33 flush_buffers(TRUE); /* flush all typeahead */
37 ! /* Also record this character, it might be needed to
38 ! * get out of Insert mode. */
39 ! *typebuf.tb_buf = c;
40 ! gotchars(typebuf.tb_buf, 1);
45 *** ../vim-7.0.113/src/version.c Tue Oct 3 15:22:00 2006
46 --- src/version.c Tue Oct 3 15:34:14 2006
50 { /* Add new patch number below this line */
56 Sometimes you can protect millions of dollars in your budget simply by buying
57 a bag of cookies, dropping it on the budget anylyst's desk, and saying
58 something deeply personal such as "How was your weekend, big guy?"
59 (Scott Adams - The Dilbert principle)
61 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
62 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
63 \\\ download, build and distribute -- http://www.A-A-P.org ///
64 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///