|
Karsten Hopp |
e9cbc8 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
e9cbc8 |
Subject: Patch 7.3.193
|
|
Karsten Hopp |
e9cbc8 |
Fcc: outbox
|
|
Karsten Hopp |
e9cbc8 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
e9cbc8 |
Mime-Version: 1.0
|
|
Karsten Hopp |
e9cbc8 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
e9cbc8 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
e9cbc8 |
------------
|
|
Karsten Hopp |
e9cbc8 |
|
|
Karsten Hopp |
e9cbc8 |
Patch 7.3.193
|
|
Karsten Hopp |
e9cbc8 |
Problem: In the command line window ":close" doesn't work properly. (Tony
|
|
Karsten Hopp |
e9cbc8 |
Mechelynck)
|
|
Karsten Hopp |
e9cbc8 |
Solution: Use Ctrl_C instead of K_IGNORE for cmdwin_result. (Jean-Rene
|
|
Karsten Hopp |
e9cbc8 |
David)
|
|
Karsten Hopp |
e9cbc8 |
Files: src/ex_docmd.c, src/ex_getln.c
|
|
Karsten Hopp |
e9cbc8 |
|
|
Karsten Hopp |
e9cbc8 |
|
|
Karsten Hopp |
e9cbc8 |
*** ../vim-7.3.192/src/ex_docmd.c 2011-05-10 16:41:13.000000000 +0200
|
|
Karsten Hopp |
e9cbc8 |
--- src/ex_docmd.c 2011-05-19 14:42:56.000000000 +0200
|
|
Karsten Hopp |
e9cbc8 |
***************
|
|
Karsten Hopp |
e9cbc8 |
*** 6472,6478 ****
|
|
Karsten Hopp |
e9cbc8 |
{
|
|
Karsten Hopp |
e9cbc8 |
# ifdef FEAT_CMDWIN
|
|
Karsten Hopp |
e9cbc8 |
if (cmdwin_type != 0)
|
|
Karsten Hopp |
e9cbc8 |
! cmdwin_result = K_IGNORE;
|
|
Karsten Hopp |
e9cbc8 |
else
|
|
Karsten Hopp |
e9cbc8 |
# endif
|
|
Karsten Hopp |
e9cbc8 |
if (!text_locked()
|
|
Karsten Hopp |
e9cbc8 |
--- 6472,6478 ----
|
|
Karsten Hopp |
e9cbc8 |
{
|
|
Karsten Hopp |
e9cbc8 |
# ifdef FEAT_CMDWIN
|
|
Karsten Hopp |
e9cbc8 |
if (cmdwin_type != 0)
|
|
Karsten Hopp |
e9cbc8 |
! cmdwin_result = Ctrl_C;
|
|
Karsten Hopp |
e9cbc8 |
else
|
|
Karsten Hopp |
e9cbc8 |
# endif
|
|
Karsten Hopp |
e9cbc8 |
if (!text_locked()
|
|
Karsten Hopp |
e9cbc8 |
*** ../vim-7.3.192/src/ex_getln.c 2011-04-28 17:21:49.000000000 +0200
|
|
Karsten Hopp |
e9cbc8 |
--- src/ex_getln.c 2011-05-19 14:42:56.000000000 +0200
|
|
Karsten Hopp |
e9cbc8 |
***************
|
|
Karsten Hopp |
e9cbc8 |
*** 6324,6329 ****
|
|
Karsten Hopp |
e9cbc8 |
--- 6324,6335 ----
|
|
Karsten Hopp |
e9cbc8 |
ccline.cmdbuff = vim_strsave((char_u *)"qa");
|
|
Karsten Hopp |
e9cbc8 |
cmdwin_result = CAR;
|
|
Karsten Hopp |
e9cbc8 |
}
|
|
Karsten Hopp |
e9cbc8 |
+ else if (cmdwin_result == Ctrl_C)
|
|
Karsten Hopp |
e9cbc8 |
+ {
|
|
Karsten Hopp |
e9cbc8 |
+ /* :q or :close, don't execute any command
|
|
Karsten Hopp |
e9cbc8 |
+ * and don't modify the cmd window. */
|
|
Karsten Hopp |
e9cbc8 |
+ ccline.cmdbuff = NULL;
|
|
Karsten Hopp |
e9cbc8 |
+ }
|
|
Karsten Hopp |
e9cbc8 |
else
|
|
Karsten Hopp |
e9cbc8 |
ccline.cmdbuff = vim_strsave(ml_get_curline());
|
|
Karsten Hopp |
e9cbc8 |
if (ccline.cmdbuff == NULL)
|
|
Karsten Hopp |
e9cbc8 |
*** ../vim-7.3.192/src/version.c 2011-05-19 14:30:07.000000000 +0200
|
|
Karsten Hopp |
e9cbc8 |
--- src/version.c 2011-05-19 14:48:12.000000000 +0200
|
|
Karsten Hopp |
e9cbc8 |
***************
|
|
Karsten Hopp |
e9cbc8 |
*** 711,712 ****
|
|
Karsten Hopp |
e9cbc8 |
--- 711,714 ----
|
|
Karsten Hopp |
e9cbc8 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
e9cbc8 |
+ /**/
|
|
Karsten Hopp |
e9cbc8 |
+ 193,
|
|
Karsten Hopp |
e9cbc8 |
/**/
|
|
Karsten Hopp |
e9cbc8 |
|
|
Karsten Hopp |
e9cbc8 |
--
|
|
Karsten Hopp |
e9cbc8 |
There's no place like $(HOME)!
|
|
Karsten Hopp |
e9cbc8 |
|
|
Karsten Hopp |
e9cbc8 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
e9cbc8 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
e9cbc8 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
e9cbc8 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|