1
0
forked from aniani/vim

updated for version 7.0157

This commit is contained in:
Bram Moolenaar
2005-10-12 20:58:49 +00:00
parent 61036991ab
commit a5fac54aea
6 changed files with 357 additions and 8 deletions

View File

@@ -3724,10 +3724,13 @@ end:
&& curwin->w_cursor.col > 0
&& !(restart_edit || (State & INSERT)))
{
--curwin->w_cursor.col;
#ifdef FEAT_VIRTUALEDIT
col = curwin->w_cursor.col;
#endif
dec_cursor();
#ifdef FEAT_VIRTUALEDIT
if (ve_flags == VE_ALL)
++curwin->w_cursor.coladd;
curwin->w_cursor.coladd = col - curwin->w_cursor.col;
#endif
}
}