From: Bram Moolenaar Date: Tue, 12 Jan 2010 14:42:37 +0000 (+0100) Subject: updated for version 7.2.329 X-Git-Tag: v7.2.329 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5890b2cf9eb203ebfdb3823f21437f7757329b26;p=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(). --- diff --git a/src/mkinstalldirs b/src/mkinstalldirs index 64ae3939c..68c4e738d 100755 --- a/src/mkinstalldirs +++ b/src/mkinstalldirs @@ -4,8 +4,6 @@ # Created: 1993-05-16 # Public domain -# $Id$ - errstatus=0 for file diff --git a/src/normal.c b/src/normal.c index befe4ac9e..0c2325d93 100644 --- a/src/normal.c +++ b/src/normal.c @@ -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; diff --git a/src/version.c b/src/version.c index f628c8ca0..1df2b6ace 100644 --- a/src/version.c +++ b/src/version.c @@ -681,6 +681,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 329, /**/ 328, /**/