vim-patch:7.4.747

Problem:    ":cnext" may jump to the wrong column when setting
            'virtualedit=all' (cs86661)
Solution:   Reset the coladd field. (Hirohito Higashi)

b8c890035e
This commit is contained in:
Jurica Bradaric 2016-01-30 12:29:49 +01:00
parent 73234bfec6
commit 7179f43666
2 changed files with 2 additions and 1 deletions

View File

@ -1606,6 +1606,7 @@ 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;
curwin->w_cursor.coladd = 0;
if (qf_ptr->qf_viscol == TRUE) { if (qf_ptr->qf_viscol == TRUE) {
/* /*
* Check each character from the beginning of the error * Check each character from the beginning of the error

View File

@ -387,7 +387,7 @@ static int included_patches[] = {
// 750 NA // 750 NA
// 749, // 749,
// 748, // 748,
// 747, 747,
746, 746,
745, 745,
// 744 NA // 744 NA