updated for version 7.4.005

Problem:    Using "vaB" while 'virtualedit' is set selects the wrong area.
	    (Dimitar Dimitrov)
Solution:   Reset coladd when finding a match.
This commit is contained in:
Bram Moolenaar
2013-08-14 17:45:29 +02:00
parent ce178f3173
commit edcf855389
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -1760,6 +1760,9 @@ findmatchlimit(oap, initc, flags, maxtravel)
#endif
pos = curwin->w_cursor;
#ifdef FEAT_VIRTUALEDIT
pos.coladd = 0;
#endif
linep = ml_get(pos.lnum);
cpo_match = (vim_strchr(p_cpo, CPO_MATCH) != NULL);
+2
View File
@@ -727,6 +727,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
5,
/**/
4,
/**/