• R/O
  • SSH

vim: コミット

Mirror of the Vim source from https://github.com/vim/vim


コミットメタ情報

リビジョン205a26fab11655d086ce185525193d16f37d60b5 (tree)
日時2008-01-05 05:25:44
作者vimboss
コミッターvimboss

ログメッセージ

updated for version 7.1-203

変更サマリ

差分

diff -r 28558ab31051 -r 205a26fab116 src/misc2.c
--- a/src/misc2.c Fri Jan 04 16:47:25 2008 +0000
+++ b/src/misc2.c Fri Jan 04 20:25:44 2008 +0000
@@ -507,12 +507,17 @@
507507 curwin->w_cursor.col = 0;
508508 else if (curwin->w_cursor.col >= len)
509509 {
510- /* Allow cursor past end-of-line in Insert mode, restarting Insert
511- * mode or when in Visual mode and 'selection' isn't "old" */
510+ /* Allow cursor past end-of-line when:
511+ * - in Insert mode or restarting Insert mode
512+ * - in Visual mode and 'selection' isn't "old"
513+ * - 'virtualedit' is set */
512514 if ((State & INSERT) || restart_edit
513515 #ifdef FEAT_VISUAL
514516 || (VIsual_active && *p_sel != 'o')
515517 #endif
518+#ifdef FEAT_VIRTUALEDIT
519+ || (ve_flags & VE_ONEMORE)
520+#endif
516521 || virtual_active())
517522 curwin->w_cursor.col = len;
518523 else
diff -r 28558ab31051 -r 205a26fab116 src/version.c
--- a/src/version.c Fri Jan 04 16:47:25 2008 +0000
+++ b/src/version.c Fri Jan 04 20:25:44 2008 +0000
@@ -667,6 +667,8 @@
667667 static int included_patches[] =
668668 { /* Add new patch number below this line */
669669 /**/
670+ 203,
671+/**/
670672 202,
671673 /**/
672674 201,
旧リポジトリブラウザで表示