comparison src/ops.c @ 1304:33792c36e3aa v7.1.018

updated for version 7.1-018
author vimboss
date Thu, 28 Jun 2007 20:18:51 +0000
parents 82274b284600
children 27782797c331
comparison
equal deleted inserted replaced
1303:da0991871b02 1304:33792c36e3aa
3402 else 3402 else
3403 getvcol(curwin, &curwin->w_cursor, &col, NULL, &endcol2); 3403 getvcol(curwin, &curwin->w_cursor, &col, NULL, &endcol2);
3404 3404
3405 #ifdef FEAT_VIRTUALEDIT 3405 #ifdef FEAT_VIRTUALEDIT
3406 col += curwin->w_cursor.coladd; 3406 col += curwin->w_cursor.coladd;
3407 if (ve_flags == VE_ALL && curwin->w_cursor.coladd > 0) 3407 if (ve_flags == VE_ALL
3408 && (curwin->w_cursor.coladd > 0
3409 || endcol2 == curwin->w_cursor.col))
3408 { 3410 {
3409 if (dir == FORWARD && c == NUL) 3411 if (dir == FORWARD && c == NUL)
3410 ++col; 3412 ++col;
3411 if (dir != FORWARD && c != NUL) 3413 if (dir != FORWARD && c != NUL)
3412 ++curwin->w_cursor.col; 3414 ++curwin->w_cursor.col;