4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: When opening a command window from input() it uses the search
13 Solution: Use get_cmdline_type(). (James Vega)
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
24 ! cmdwin_type = ccline.cmdfirstc;
25 ! if (cmdwin_type == NUL)
28 /* Create the command-line buffer empty. */
29 (void)do_ecmd(0, NULL, NULL, NULL, ECMD_ONE, ECMD_HIDE, NULL);
34 ! cmdwin_type = get_cmdline_type();
36 /* Create the command-line buffer empty. */
37 (void)do_ecmd(0, NULL, NULL, NULL, ECMD_ONE, ECMD_HIDE, NULL);
40 /* Showing the prompt may have set need_wait_return, reset it. */
41 need_wait_return = FALSE;
43 ! histtype = hist_char2type(ccline.cmdfirstc);
44 if (histtype == HIST_CMD || histtype == HIST_DEBUG)
48 /* Showing the prompt may have set need_wait_return, reset it. */
49 need_wait_return = FALSE;
51 ! histtype = hist_char2type(cmdwin_type);
52 if (histtype == HIST_CMD || histtype == HIST_DEBUG)
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
60 { /* Add new patch number below this line */
66 hundred-and-one symptoms of being an internet addict:
67 146. You experience ACTUAL physical withdrawal symptoms when away
68 from your 'puter and the net.
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 ///