|
|
22c937 |
To: vim_dev@googlegroups.com
|
|
|
22c937 |
Subject: Patch 7.4.005
|
|
|
22c937 |
Fcc: outbox
|
|
|
22c937 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
22c937 |
Mime-Version: 1.0
|
|
|
22c937 |
Content-Type: text/plain; charset=UTF-8
|
|
|
22c937 |
Content-Transfer-Encoding: 8bit
|
|
|
22c937 |
------------
|
|
|
22c937 |
|
|
|
22c937 |
Patch 7.4.005
|
|
|
22c937 |
Problem: Using "vaB" while 'virtualedit' is set selects the wrong area.
|
|
|
22c937 |
(Dimitar Dimitrov)
|
|
|
22c937 |
Solution: Reset coladd when finding a match.
|
|
|
22c937 |
Files: src/search.c
|
|
|
22c937 |
|
|
|
22c937 |
|
|
|
22c937 |
*** ../vim-7.4.004/src/search.c 2013-07-17 19:20:47.000000000 +0200
|
|
|
22c937 |
--- src/search.c 2013-08-14 17:32:38.000000000 +0200
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 1760,1765 ****
|
|
|
22c937 |
--- 1760,1768 ----
|
|
|
22c937 |
#endif
|
|
|
22c937 |
|
|
|
22c937 |
pos = curwin->w_cursor;
|
|
|
22c937 |
+ #ifdef FEAT_VIRTUALEDIT
|
|
|
22c937 |
+ pos.coladd = 0;
|
|
|
22c937 |
+ #endif
|
|
|
22c937 |
linep = ml_get(pos.lnum);
|
|
|
22c937 |
|
|
|
22c937 |
cpo_match = (vim_strchr(p_cpo, CPO_MATCH) != NULL);
|
|
|
22c937 |
*** ../vim-7.4.004/src/version.c 2013-08-14 17:11:14.000000000 +0200
|
|
|
22c937 |
--- src/version.c 2013-08-14 17:38:05.000000000 +0200
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 729,730 ****
|
|
|
22c937 |
--- 729,732 ----
|
|
|
22c937 |
{ /* Add new patch number below this line */
|
|
|
22c937 |
+ /**/
|
|
|
22c937 |
+ 5,
|
|
|
22c937 |
/**/
|
|
|
22c937 |
|
|
|
22c937 |
--
|
|
|
22c937 |
You can't have everything. Where would you put it?
|
|
|
22c937 |
-- Steven Wright
|
|
|
22c937 |
|
|
|
22c937 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
22c937 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
22c937 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
22c937 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|