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.
diff --git a/src/search.c b/src/search.c
index 23dc27e..da7bc29 100644
--- a/src/search.c
+++ b/src/search.c
@@ -1760,6 +1760,9 @@
#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);
diff --git a/src/version.c b/src/version.c
index 7ccb931..ec2c2c0 100644
--- a/src/version.c
+++ b/src/version.c
@@ -728,6 +728,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 5,
+/**/
4,
/**/
3,