|
Karsten Hopp |
23d22e |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
23d22e |
Subject: Patch 7.3.241
|
|
Karsten Hopp |
23d22e |
Fcc: outbox
|
|
Karsten Hopp |
23d22e |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
23d22e |
Mime-Version: 1.0
|
|
Karsten Hopp |
23d22e |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
23d22e |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
23d22e |
------------
|
|
Karsten Hopp |
23d22e |
|
|
Karsten Hopp |
23d22e |
Patch 7.3.241
|
|
Karsten Hopp |
23d22e |
Problem: Using CTRL-R CTRL-W on the command line may insert only part of
|
|
Karsten Hopp |
23d22e |
the word.
|
|
Karsten Hopp |
23d22e |
Solution: Use the cursor position instead of assuming it is at the end of
|
|
Karsten Hopp |
23d22e |
the command. (Tyru)
|
|
Karsten Hopp |
23d22e |
Files: src/ex_getln.c
|
|
Karsten Hopp |
23d22e |
|
|
Karsten Hopp |
23d22e |
|
|
Karsten Hopp |
23d22e |
*** ../vim-7.3.240/src/ex_getln.c 2011-07-07 15:04:38.000000000 +0200
|
|
Karsten Hopp |
23d22e |
--- src/ex_getln.c 2011-07-07 16:38:50.000000000 +0200
|
|
Karsten Hopp |
23d22e |
***************
|
|
Karsten Hopp |
23d22e |
*** 3046,3052 ****
|
|
Karsten Hopp |
23d22e |
int len;
|
|
Karsten Hopp |
23d22e |
|
|
Karsten Hopp |
23d22e |
/* Locate start of last word in the cmd buffer. */
|
|
Karsten Hopp |
23d22e |
! for (w = ccline.cmdbuff + ccline.cmdlen; w > ccline.cmdbuff; )
|
|
Karsten Hopp |
23d22e |
{
|
|
Karsten Hopp |
23d22e |
#ifdef FEAT_MBYTE
|
|
Karsten Hopp |
23d22e |
if (has_mbyte)
|
|
Karsten Hopp |
23d22e |
--- 3046,3052 ----
|
|
Karsten Hopp |
23d22e |
int len;
|
|
Karsten Hopp |
23d22e |
|
|
Karsten Hopp |
23d22e |
/* Locate start of last word in the cmd buffer. */
|
|
Karsten Hopp |
23d22e |
! for (w = ccline.cmdbuff + ccline.cmdpos; w > ccline.cmdbuff; )
|
|
Karsten Hopp |
23d22e |
{
|
|
Karsten Hopp |
23d22e |
#ifdef FEAT_MBYTE
|
|
Karsten Hopp |
23d22e |
if (has_mbyte)
|
|
Karsten Hopp |
23d22e |
***************
|
|
Karsten Hopp |
23d22e |
*** 3064,3070 ****
|
|
Karsten Hopp |
23d22e |
--w;
|
|
Karsten Hopp |
23d22e |
}
|
|
Karsten Hopp |
23d22e |
}
|
|
Karsten Hopp |
23d22e |
! len = (int)((ccline.cmdbuff + ccline.cmdlen) - w);
|
|
Karsten Hopp |
23d22e |
if (p_ic ? STRNICMP(w, arg, len) == 0 : STRNCMP(w, arg, len) == 0)
|
|
Karsten Hopp |
23d22e |
p += len;
|
|
Karsten Hopp |
23d22e |
}
|
|
Karsten Hopp |
23d22e |
--- 3064,3070 ----
|
|
Karsten Hopp |
23d22e |
--w;
|
|
Karsten Hopp |
23d22e |
}
|
|
Karsten Hopp |
23d22e |
}
|
|
Karsten Hopp |
23d22e |
! len = (int)((ccline.cmdbuff + ccline.cmdpos) - w);
|
|
Karsten Hopp |
23d22e |
if (p_ic ? STRNICMP(w, arg, len) == 0 : STRNCMP(w, arg, len) == 0)
|
|
Karsten Hopp |
23d22e |
p += len;
|
|
Karsten Hopp |
23d22e |
}
|
|
Karsten Hopp |
23d22e |
*** ../vim-7.3.240/src/version.c 2011-07-07 16:20:45.000000000 +0200
|
|
Karsten Hopp |
23d22e |
--- src/version.c 2011-07-07 16:41:29.000000000 +0200
|
|
Karsten Hopp |
23d22e |
***************
|
|
Karsten Hopp |
23d22e |
*** 711,712 ****
|
|
Karsten Hopp |
23d22e |
--- 711,714 ----
|
|
Karsten Hopp |
23d22e |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
23d22e |
+ /**/
|
|
Karsten Hopp |
23d22e |
+ 241,
|
|
Karsten Hopp |
23d22e |
/**/
|
|
Karsten Hopp |
23d22e |
|
|
Karsten Hopp |
23d22e |
--
|
|
Karsten Hopp |
23d22e |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
23d22e |
258. When you want to see your girlfriend, you surf to her homepage.
|
|
Karsten Hopp |
23d22e |
|
|
Karsten Hopp |
23d22e |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
23d22e |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
23d22e |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
23d22e |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|