]> git.pld-linux.org Git - packages/vim.git/blame - 7.0.055
- updated to 0.7.3
[packages/vim.git] / 7.0.055
CommitLineData
a328bbc4
AG
1To: vim-dev@vim.org
2Subject: Patch 7.0.055
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.055
11Problem: ":startinsert" in a CmdwinEnter autocommand doesn't take immediate
12 effect. (Bradley White)
13Solution: Put a NOP key in the typeahead buffer. Also avoid that using
14 CTRL-C to go back to the command line moves the cursor left.
15Files: src/edit.c, src/ex_getln.c
16
17
18*** ../vim-7.0.054/src/edit.c Fri Jun 23 21:36:49 2006
19--- src/edit.c Wed Aug 16 16:17:29 2006
20***************
21*** 882,887 ****
22--- 882,888 ----
23 /* Close the cmdline window. */
24 cmdwin_result = K_IGNORE;
25 got_int = FALSE; /* don't stop executing autocommands et al. */
26+ nomove = TRUE;
27 goto doESCkey;
28 }
29 #endif
30***************
31*** 2414,2419 ****
32--- 2415,2421 ----
33 compl_matches = ins_compl_make_cyclic();
34 compl_started = TRUE;
35 compl_used_match = TRUE;
36+ compl_cont_status = 0;
37
38 compl_curr_match = compl_first_match;
39 ins_complete(Ctrl_N);
40*** ../vim-7.0.054/src/ex_getln.c Sun Apr 30 20:43:17 2006
41--- src/ex_getln.c Wed Aug 16 16:07:04 2006
42***************
43*** 5982,5987 ****
44--- 5982,5989 ----
45 typestr[0] = cmdwin_type;
46 typestr[1] = NUL;
47 apply_autocmds(EVENT_CMDWINENTER, typestr, typestr, FALSE, curbuf);
48+ if (restart_edit != 0) /* autocmd with ":startinsert" */
49+ stuffcharReadbuff(K_NOP);
50 # endif
51
52 i = RedrawingDisabled;
53*** ../vim-7.0.054/src/version.c Wed Aug 16 15:56:58 2006
54--- src/version.c Wed Aug 16 16:21:45 2006
55***************
56*** 668,669 ****
57--- 668,671 ----
58 { /* Add new patch number below this line */
59+ /**/
60+ 55,
61 /**/
62
63--
64hundred-and-one symptoms of being an internet addict:
65157. You fum through a magazine, you first check to see if it has a web
66 address.
67
68 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
69/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
70\\\ download, build and distribute -- http://www.A-A-P.org ///
71 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.051009 seconds and 4 git commands to generate.