]> git.pld-linux.org Git - packages/vim.git/blame - 7.2.129
- new
[packages/vim.git] / 7.2.129
CommitLineData
478508cd
ER
1To: vim-dev@vim.org
2Subject: Patch 7.2.129
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.2.129
11Problem: When opening a command window from input() it uses the search
12 history.
13Solution: Use get_cmdline_type(). (James Vega)
14Files: src/ex_getln.c
15
16
17*** ../vim-7.2.128/src/ex_getln.c Fri Nov 28 10:59:57 2008
18--- src/ex_getln.c Mon Mar 2 00:53:39 2009
19***************
20*** 6047,6055 ****
21 # endif
22 return K_IGNORE;
23 }
24! cmdwin_type = ccline.cmdfirstc;
25! if (cmdwin_type == NUL)
26! cmdwin_type = '-';
27
28 /* Create the command-line buffer empty. */
29 (void)do_ecmd(0, NULL, NULL, NULL, ECMD_ONE, ECMD_HIDE, NULL);
30--- 6062,6068 ----
31 # endif
32 return K_IGNORE;
33 }
34! cmdwin_type = get_cmdline_type();
35
36 /* Create the command-line buffer empty. */
37 (void)do_ecmd(0, NULL, NULL, NULL, ECMD_ONE, ECMD_HIDE, NULL);
38***************
39*** 6073,6079 ****
40 /* Showing the prompt may have set need_wait_return, reset it. */
41 need_wait_return = FALSE;
42
43! histtype = hist_char2type(ccline.cmdfirstc);
44 if (histtype == HIST_CMD || histtype == HIST_DEBUG)
45 {
46 if (p_wc == TAB)
47--- 6086,6092 ----
48 /* Showing the prompt may have set need_wait_return, reset it. */
49 need_wait_return = FALSE;
50
51! histtype = hist_char2type(cmdwin_type);
52 if (histtype == HIST_CMD || histtype == HIST_DEBUG)
53 {
54 if (p_wc == TAB)
55*** ../vim-7.2.128/src/version.c Sun Mar 1 02:43:50 2009
56--- src/version.c Mon Mar 2 02:10:11 2009
57***************
58*** 678,679 ****
59--- 678,681 ----
60 { /* Add new patch number below this line */
61+ /**/
62+ 129,
63 /**/
64
65--
66hundred-and-one symptoms of being an internet addict:
67146. You experience ACTUAL physical withdrawal symptoms when away
68 from your 'puter and the net.
69
70 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
71/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
72\\\ download, build and distribute -- http://www.A-A-P.org ///
73 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.034929 seconds and 4 git commands to generate.