mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
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:
parent
e37d79928d
commit
5890b2cf9e
@ -4,8 +4,6 @@
|
|||||||
# Created: 1993-05-16
|
# Created: 1993-05-16
|
||||||
# Public domain
|
# Public domain
|
||||||
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
errstatus=0
|
errstatus=0
|
||||||
|
|
||||||
for file
|
for file
|
||||||
|
@ -7873,6 +7873,9 @@ nv_g_cmd(cap)
|
|||||||
&& vim_iswhite(ptr[curwin->w_cursor.col]))
|
&& vim_iswhite(ptr[curwin->w_cursor.col]))
|
||||||
--curwin->w_cursor.col;
|
--curwin->w_cursor.col;
|
||||||
curwin->w_set_curswant = TRUE;
|
curwin->w_set_curswant = TRUE;
|
||||||
|
#ifdef FEAT_VISUAL
|
||||||
|
adjust_for_sel(cap);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -681,6 +681,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
329,
|
||||||
/**/
|
/**/
|
||||||
328,
|
328,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user