• R/O
  • SSH

vim: 提交

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


Commit MetaInfo

修訂a285f0cd8a462ff5cb17053fd457646f9d33573d (tree)
時間2008-07-26 23:05:07
作者vimboss
Commitervimboss

Log Message

updated for version 7.2b-022

Change Summary

差異

diff -r 17526daaf79d -r a285f0cd8a46 src/ex_docmd.c
--- a/src/ex_docmd.c Thu Jul 24 20:09:16 2008 +0000
+++ b/src/ex_docmd.c Sat Jul 26 14:05:07 2008 +0000
@@ -8913,6 +8913,7 @@
89138913 tasave_T tabuf;
89148914 int save_insertmode = p_im;
89158915 int save_finish_op = finish_op;
8916+ int save_opcount = opcount;
89168917 #ifdef FEAT_MBYTE
89178918 char_u *arg = NULL;
89188919 int l;
@@ -9040,6 +9041,7 @@
90409041 restart_edit = save_restart_edit;
90419042 p_im = save_insertmode;
90429043 finish_op = save_finish_op;
9044+ opcount = save_opcount;
90439045 msg_didout |= save_msg_didout; /* don't reset msg_didout now */
90449046
90459047 /* Restore the state (needed when called from a function executed for
diff -r 17526daaf79d -r a285f0cd8a46 src/globals.h
--- a/src/globals.h Thu Jul 24 20:09:16 2008 +0000
+++ b/src/globals.h Sat Jul 26 14:05:07 2008 +0000
@@ -868,6 +868,7 @@
868868 * command interpreter. */
869869
870870 EXTERN int finish_op INIT(= FALSE);/* TRUE while an operator is pending */
871+EXTERN int opcount INIT(= 0); /* count for pending operator */
871872
872873 /*
873874 * ex mode (Q) state
diff -r 17526daaf79d -r a285f0cd8a46 src/normal.c
--- a/src/normal.c Thu Jul 24 20:09:16 2008 +0000
+++ b/src/normal.c Sat Jul 26 14:05:07 2008 +0000
@@ -565,7 +565,6 @@
565565 oparg_T *oap;
566566 int toplevel; /* TRUE when called from main() */
567567 {
568- static long opcount = 0; /* ca.opcount saved here */
569568 cmdarg_T ca; /* command arguments */
570569 int c;
571570 int ctrl_w = FALSE; /* got CTRL-W command */
diff -r 17526daaf79d -r a285f0cd8a46 src/version.c
--- a/src/version.c Thu Jul 24 20:09:16 2008 +0000
+++ b/src/version.c Sat Jul 26 14:05:07 2008 +0000
@@ -677,6 +677,8 @@
677677 static int included_patches[] =
678678 { /* Add new patch number below this line */
679679 /**/
680+ 22,
681+/**/
680682 21,
681683 /**/
682684 20,
Show on old repository browser