diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-01-12 15:42:37 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-01-12 15:42:37 +0100 |
commit | 5890b2cf9eb203ebfdb3823f21437f7757329b26 (patch) | |
tree | 8802ad6ce41836b210abbe3d68a8a313d4b7a8b6 | |
parent | e37d79928d4f3a70fffad086241e65d21dd9e1c3 (diff) | |
download | vim-git-7.2.329.tar.gz |
updated for version 7.2.329v7.2.329
Problem: "g_" doesn't position cursor correctly when in Visual mode and
'selection' is "exclusive". (Ben Fritz)
Solution: Call adjust_for_sel().
-rwxr-xr-x | src/mkinstalldirs | 2 | ||||
-rw-r--r-- | src/normal.c | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 5 insertions, 2 deletions
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 @@ -682,6 +682,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 329, +/**/ 328, /**/ 327, |