commit | e649ef0fdd684ddf7dc2f2e1eeae56bb76390a3d | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jun 28 20:18:51 2007 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jun 28 20:18:51 2007 +0000 |
tree | 98355c814f0fa4c755b851c1c8eaf624256998be | |
parent | 5386a123f5038d397848cc0183eda93c7c8b9d95 [diff] [blame] |
updated for version 7.1-018
diff --git a/src/ops.c b/src/ops.c index ddc414b..e8c6917 100644 --- a/src/ops.c +++ b/src/ops.c
@@ -3404,7 +3404,9 @@ #ifdef FEAT_VIRTUALEDIT col += curwin->w_cursor.coladd; - if (ve_flags == VE_ALL && curwin->w_cursor.coladd > 0) + if (ve_flags == VE_ALL + && (curwin->w_cursor.coladd > 0 + || endcol2 == curwin->w_cursor.col)) { if (dir == FORWARD && c == NUL) ++col;