]> git.pld-linux.org Git - packages/vim.git/blame - 7.3.241
- new: 7.3.270
[packages/vim.git] / 7.3.241
CommitLineData
a2e11672
AG
1To: vim_dev@googlegroups.com
2Subject: Patch 7.3.241
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.3.241
11Problem: Using CTRL-R CTRL-W on the command line may insert only part of
12 the word.
13Solution: Use the cursor position instead of assuming it is at the end of
14 the command. (Tyru)
15Files: src/ex_getln.c
16
17
18*** ../vim-7.3.240/src/ex_getln.c 2011-07-07 15:04:38.000000000 +0200
19--- src/ex_getln.c 2011-07-07 16:38:50.000000000 +0200
20***************
21*** 3046,3052 ****
22 int len;
23
24 /* Locate start of last word in the cmd buffer. */
25! for (w = ccline.cmdbuff + ccline.cmdlen; w > ccline.cmdbuff; )
26 {
27 #ifdef FEAT_MBYTE
28 if (has_mbyte)
29--- 3046,3052 ----
30 int len;
31
32 /* Locate start of last word in the cmd buffer. */
33! for (w = ccline.cmdbuff + ccline.cmdpos; w > ccline.cmdbuff; )
34 {
35 #ifdef FEAT_MBYTE
36 if (has_mbyte)
37***************
38*** 3064,3070 ****
39 --w;
40 }
41 }
42! len = (int)((ccline.cmdbuff + ccline.cmdlen) - w);
43 if (p_ic ? STRNICMP(w, arg, len) == 0 : STRNCMP(w, arg, len) == 0)
44 p += len;
45 }
46--- 3064,3070 ----
47 --w;
48 }
49 }
50! len = (int)((ccline.cmdbuff + ccline.cmdpos) - w);
51 if (p_ic ? STRNICMP(w, arg, len) == 0 : STRNCMP(w, arg, len) == 0)
52 p += len;
53 }
54*** ../vim-7.3.240/src/version.c 2011-07-07 16:20:45.000000000 +0200
55--- src/version.c 2011-07-07 16:41:29.000000000 +0200
56***************
57*** 711,712 ****
58--- 711,714 ----
59 { /* Add new patch number below this line */
60+ /**/
61+ 241,
62 /**/
63
64--
65hundred-and-one symptoms of being an internet addict:
66258. When you want to see your girlfriend, you surf to her homepage.
67
68 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
69/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
70\\\ an exciting new programming language -- http://www.Zimbu.org ///
71 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.050733 seconds and 4 git commands to generate.