commit | 5890b2cf9eb203ebfdb3823f21437f7757329b26 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Jan 12 15:42:37 2010 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Jan 12 15:42:37 2010 +0100 |
tree | 8802ad6ce41836b210abbe3d68a8a313d4b7a8b6 | |
parent | e37d79928d4f3a70fffad086241e65d21dd9e1c3 [diff] [blame] |
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/normal.c b/src/normal.c index befe4ac..0c2325d 100644 --- a/src/normal.c +++ b/src/normal.c
@@ -7873,6 +7873,9 @@ && 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;