0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.1-018

This commit is contained in:
Bram Moolenaar
2007-06-28 20:18:51 +00:00
parent 5386a123f5
commit e649ef0fdd
2 changed files with 5 additions and 1 deletions

View File

@@ -3404,7 +3404,9 @@ do_put(regname, dir, count, flags)
#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;