mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 7.4.747
Problem: ":cnext" may jump to the wrong column when setting 'virtualedit=all' (cs86661) Solution: Reset the coladd field. (Hirohito Higashi)
This commit is contained in:
@@ -1841,6 +1841,9 @@ win_found:
|
|||||||
if (qf_ptr->qf_col > 0)
|
if (qf_ptr->qf_col > 0)
|
||||||
{
|
{
|
||||||
curwin->w_cursor.col = qf_ptr->qf_col - 1;
|
curwin->w_cursor.col = qf_ptr->qf_col - 1;
|
||||||
|
#ifdef FEAT_VIRTUALEDIT
|
||||||
|
curwin->w_cursor.coladd = 0;
|
||||||
|
#endif
|
||||||
if (qf_ptr->qf_viscol == TRUE)
|
if (qf_ptr->qf_viscol == TRUE)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
|
@@ -741,6 +741,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 */
|
||||||
|
/**/
|
||||||
|
747,
|
||||||
/**/
|
/**/
|
||||||
746,
|
746,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user