mirror of
https://github.com/vim/vim.git
synced 2025-10-16 07:24:23 -04:00
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:
@@ -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);
|
||||
|
@@ -727,6 +727,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
5,
|
||||
/**/
|
||||
4,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user