]> git.pld-linux.org Git - packages/vim.git/blame - 7.0.114
- new
[packages/vim.git] / 7.0.114
CommitLineData
f3c378e8
AG
1To: vim-dev@vim.org
2Subject: Patch 7.0.114
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.0.114
11Problem: When aborting an insert with CTRL-C an extra undo point is
12 created in the GUI. (Yukihiro Nakadaira)
13Solution: Call gotchars() only when advancing.
14Files: src/getchar.c
15
16
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
19***************
20*** 1960,1969 ****
21 c = Ctrl_C;
22 flush_buffers(TRUE); /* flush all typeahead */
23
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);
28 cmd_silent = FALSE;
29
30 break;
31--- 1962,1974 ----
32 c = Ctrl_C;
33 flush_buffers(TRUE); /* flush all typeahead */
34
35! if (advance)
36! {
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);
41! }
42 cmd_silent = FALSE;
43
44 break;
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
47***************
48*** 668,669 ****
49--- 668,671 ----
50 { /* Add new patch number below this line */
51+ /**/
52+ 114,
53 /**/
54
55--
56Sometimes you can protect millions of dollars in your budget simply by buying
57a bag of cookies, dropping it on the budget anylyst's desk, and saying
58something deeply personal such as "How was your weekend, big guy?"
59 (Scott Adams - The Dilbert principle)
60
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 ///
This page took 0.035432 seconds and 4 git commands to generate.