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