0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -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:
Bram Moolenaar
2015-06-19 18:35:34 +02:00
parent 01cf376da1
commit b8c890035e
2 changed files with 5 additions and 0 deletions

View File

@@ -1841,6 +1841,9 @@ win_found:
if (qf_ptr->qf_col > 0)
{
curwin->w_cursor.col = qf_ptr->qf_col - 1;
#ifdef FEAT_VIRTUALEDIT
curwin->w_cursor.coladd = 0;
#endif
if (qf_ptr->qf_viscol == TRUE)
{
/*