|
Karsten Hopp |
5e4160 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
5e4160 |
Subject: Patch 7.2.129
|
|
Karsten Hopp |
5e4160 |
Fcc: outbox
|
|
Karsten Hopp |
5e4160 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
5e4160 |
Mime-Version: 1.0
|
|
Karsten Hopp |
5e4160 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
5e4160 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
5e4160 |
------------
|
|
Karsten Hopp |
5e4160 |
|
|
Karsten Hopp |
5e4160 |
Patch 7.2.129
|
|
Karsten Hopp |
5e4160 |
Problem: When opening a command window from input() it uses the search
|
|
Karsten Hopp |
5e4160 |
history.
|
|
Karsten Hopp |
5e4160 |
Solution: Use get_cmdline_type(). (James Vega)
|
|
Karsten Hopp |
5e4160 |
Files: src/ex_getln.c
|
|
Karsten Hopp |
5e4160 |
|
|
Karsten Hopp |
5e4160 |
|
|
Karsten Hopp |
5e4160 |
*** ../vim-7.2.128/src/ex_getln.c Fri Nov 28 10:59:57 2008
|
|
Karsten Hopp |
5e4160 |
--- src/ex_getln.c Mon Mar 2 00:53:39 2009
|
|
Karsten Hopp |
5e4160 |
***************
|
|
Karsten Hopp |
5e4160 |
*** 6047,6055 ****
|
|
Karsten Hopp |
5e4160 |
# endif
|
|
Karsten Hopp |
5e4160 |
return K_IGNORE;
|
|
Karsten Hopp |
5e4160 |
}
|
|
Karsten Hopp |
5e4160 |
! cmdwin_type = ccline.cmdfirstc;
|
|
Karsten Hopp |
5e4160 |
! if (cmdwin_type == NUL)
|
|
Karsten Hopp |
5e4160 |
! cmdwin_type = '-';
|
|
Karsten Hopp |
5e4160 |
|
|
Karsten Hopp |
5e4160 |
/* Create the command-line buffer empty. */
|
|
Karsten Hopp |
5e4160 |
(void)do_ecmd(0, NULL, NULL, NULL, ECMD_ONE, ECMD_HIDE, NULL);
|
|
Karsten Hopp |
5e4160 |
--- 6062,6068 ----
|
|
Karsten Hopp |
5e4160 |
# endif
|
|
Karsten Hopp |
5e4160 |
return K_IGNORE;
|
|
Karsten Hopp |
5e4160 |
}
|
|
Karsten Hopp |
5e4160 |
! cmdwin_type = get_cmdline_type();
|
|
Karsten Hopp |
5e4160 |
|
|
Karsten Hopp |
5e4160 |
/* Create the command-line buffer empty. */
|
|
Karsten Hopp |
5e4160 |
(void)do_ecmd(0, NULL, NULL, NULL, ECMD_ONE, ECMD_HIDE, NULL);
|
|
Karsten Hopp |
5e4160 |
***************
|
|
Karsten Hopp |
5e4160 |
*** 6073,6079 ****
|
|
Karsten Hopp |
5e4160 |
/* Showing the prompt may have set need_wait_return, reset it. */
|
|
Karsten Hopp |
5e4160 |
need_wait_return = FALSE;
|
|
Karsten Hopp |
5e4160 |
|
|
Karsten Hopp |
5e4160 |
! histtype = hist_char2type(ccline.cmdfirstc);
|
|
Karsten Hopp |
5e4160 |
if (histtype == HIST_CMD || histtype == HIST_DEBUG)
|
|
Karsten Hopp |
5e4160 |
{
|
|
Karsten Hopp |
5e4160 |
if (p_wc == TAB)
|
|
Karsten Hopp |
5e4160 |
--- 6086,6092 ----
|
|
Karsten Hopp |
5e4160 |
/* Showing the prompt may have set need_wait_return, reset it. */
|
|
Karsten Hopp |
5e4160 |
need_wait_return = FALSE;
|
|
Karsten Hopp |
5e4160 |
|
|
Karsten Hopp |
5e4160 |
! histtype = hist_char2type(cmdwin_type);
|
|
Karsten Hopp |
5e4160 |
if (histtype == HIST_CMD || histtype == HIST_DEBUG)
|
|
Karsten Hopp |
5e4160 |
{
|
|
Karsten Hopp |
5e4160 |
if (p_wc == TAB)
|
|
Karsten Hopp |
5e4160 |
*** ../vim-7.2.128/src/version.c Sun Mar 1 02:43:50 2009
|
|
Karsten Hopp |
5e4160 |
--- src/version.c Mon Mar 2 02:10:11 2009
|
|
Karsten Hopp |
5e4160 |
***************
|
|
Karsten Hopp |
5e4160 |
*** 678,679 ****
|
|
Karsten Hopp |
5e4160 |
--- 678,681 ----
|
|
Karsten Hopp |
5e4160 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
5e4160 |
+ /**/
|
|
Karsten Hopp |
5e4160 |
+ 129,
|
|
Karsten Hopp |
5e4160 |
/**/
|
|
Karsten Hopp |
5e4160 |
|
|
Karsten Hopp |
5e4160 |
--
|
|
Karsten Hopp |
5e4160 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
5e4160 |
146. You experience ACTUAL physical withdrawal symptoms when away
|
|
Karsten Hopp |
5e4160 |
from your 'puter and the net.
|
|
Karsten Hopp |
5e4160 |
|
|
Karsten Hopp |
5e4160 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
5e4160 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
5e4160 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
5e4160 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|