Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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().
  • Loading branch information...
commit 2296d028c7f8b1e2a15c7b89b3f745f05457ac42 1 parent 925392f
Bram Moolenaar authored
Showing with 5 additions and 2 deletions.
  1. +0 −2  src/mkinstalldirs
  2. +3 −0  src/normal.c
  3. +2 −0  src/version.c
View
2  src/mkinstalldirs
@@ -4,8 +4,6 @@
# Created: 1993-05-16
# Public domain
-# $Id$
-
errstatus=0
for file
View
3  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;
View
2  src/version.c
@@ -682,6 +682,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 329,
+/**/
328,
/**/
327,
Please sign in to comment.
Something went wrong with that request. Please try again.