comparison src/quickfix.c @ 15641:2c264fda0f59 v8.1.0828

patch 8.1.0828: still using FEAT_VIRTUALEDIT commit https://github.com/vim/vim/commit/6aba96dd5778b4201c9f5cb065d7669d3398e724 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 26 17:43:21 2019 +0100 patch 8.1.0828: still using FEAT_VIRTUALEDIT Problem: Still using FEAT_VIRTUALEDIT. Solution: Remove last use of FEAT_VIRTUALEDIT.
author Bram Moolenaar <Bram@vim.org>
date Sat, 26 Jan 2019 17:45:13 +0100
parents 639b8318472c
children b8a2362073bb
comparison
equal deleted inserted replaced
15640:7cfe57329284 15641:2c264fda0f59
3062 curwin->w_cursor.lnum = i; 3062 curwin->w_cursor.lnum = i;
3063 } 3063 }
3064 if (qf_col > 0) 3064 if (qf_col > 0)
3065 { 3065 {
3066 curwin->w_cursor.col = qf_col - 1; 3066 curwin->w_cursor.col = qf_col - 1;
3067 #ifdef FEAT_VIRTUALEDIT
3068 curwin->w_cursor.coladd = 0; 3067 curwin->w_cursor.coladd = 0;
3069 #endif
3070 if (qf_viscol == TRUE) 3068 if (qf_viscol == TRUE)
3071 { 3069 {
3072 // Check each character from the beginning of the error 3070 // Check each character from the beginning of the error
3073 // line up to the error column. For each tab character 3071 // line up to the error column. For each tab character
3074 // found, reduce the error column value by the length of 3072 // found, reduce the error column value by the length of
4106 4104
4107 curwin = win; 4105 curwin = win;
4108 curbuf = win->w_buffer; 4106 curbuf = win->w_buffer;
4109 curwin->w_cursor.lnum = lnum; 4107 curwin->w_cursor.lnum = lnum;
4110 curwin->w_cursor.col = 0; 4108 curwin->w_cursor.col = 0;
4111 #ifdef FEAT_VIRTUALEDIT
4112 curwin->w_cursor.coladd = 0; 4109 curwin->w_cursor.coladd = 0;
4113 #endif
4114 curwin->w_curswant = 0; 4110 curwin->w_curswant = 0;
4115 update_topline(); // scroll to show the line 4111 update_topline(); // scroll to show the line
4116 redraw_later(VALID); 4112 redraw_later(VALID);
4117 curwin->w_redr_status = TRUE; // update ruler 4113 curwin->w_redr_status = TRUE; // update ruler
4118 curwin = old_curwin; 4114 curwin = old_curwin;