1
0
forked from aniani/vim

updated for version 7.2.329

Problem:    "g_" doesn't position cursor correctly when in Visual mode and
            'selection' is "exclusive". (Ben Fritz)
Solution:   Call adjust_for_sel().
This commit is contained in:
Bram Moolenaar 2010-01-12 15:42:37 +01:00
parent e37d79928d
commit 5890b2cf9e
3 changed files with 5 additions and 2 deletions

View File

@ -4,8 +4,6 @@
# Created: 1993-05-16
# Public domain
# $Id$
errstatus=0
for file

View File

@ -7873,6 +7873,9 @@ nv_g_cmd(cap)
&& vim_iswhite(ptr[curwin->w_cursor.col]))
--curwin->w_cursor.col;
curwin->w_set_curswant = TRUE;
#ifdef FEAT_VISUAL
adjust_for_sel(cap);
#endif
}
break;

View File

@ -681,6 +681,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
329,
/**/
328,
/**/