1
0
forked from aniani/vim

updated for version 7.0226

This commit is contained in:
Bram Moolenaar
2006-03-16 21:43:34 +00:00
parent efd2bf158a
commit 2eb25daffd
3 changed files with 25 additions and 20 deletions

View File

@@ -3733,6 +3733,9 @@ end:
/* If the cursor is past the end of the line put it at the end. */
if (gchar_cursor() == NUL
&& curwin->w_cursor.col > 0
#ifdef FEAT_VIRTUALEDIT
&& (ve_flags & VE_ONEMORE) == 0
#endif
&& !(restart_edit || (State & INSERT)))
{
/* Put the cursor on the last character in the line. */