Mercurial > vim
comparison src/globals.h @ 11260:a7b7b21071c6 v8.0.0516
patch 8.0.0516: a large count on a normal command causes trouble
commit https://github.com/vim/vim/commit/b1e04fca3704e272a30afbe062498819eaacd4f9
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 29 13:08:35 2017 +0200
patch 8.0.0516: a large count on a normal command causes trouble
Problem: A large count on a normal command causes trouble. (Dominique
Pelle)
Solution: Make "opcount" long.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 29 Mar 2017 13:15:05 +0200 |
parents | 7c7e496e625d |
children | 96d83cd2904a |
comparison
equal
deleted
inserted
replaced
11259:e317d9784d4f | 11260:a7b7b21071c6 |
---|---|
930 */ | 930 */ |
931 EXTERN int State INIT(= NORMAL); /* This is the current state of the | 931 EXTERN int State INIT(= NORMAL); /* This is the current state of the |
932 * command interpreter. */ | 932 * command interpreter. */ |
933 | 933 |
934 EXTERN int finish_op INIT(= FALSE);/* TRUE while an operator is pending */ | 934 EXTERN int finish_op INIT(= FALSE);/* TRUE while an operator is pending */ |
935 EXTERN int opcount INIT(= 0); /* count for pending operator */ | 935 EXTERN long opcount INIT(= 0); /* count for pending operator */ |
936 | 936 |
937 /* | 937 /* |
938 * ex mode (Q) state | 938 * Ex mode (Q) state |
939 */ | 939 */ |
940 EXTERN int exmode_active INIT(= 0); /* zero, EXMODE_NORMAL or EXMODE_VIM */ | 940 EXTERN int exmode_active INIT(= 0); /* zero, EXMODE_NORMAL or EXMODE_VIM */ |
941 EXTERN int ex_no_reprint INIT(= FALSE); /* no need to print after z or p */ | 941 EXTERN int ex_no_reprint INIT(= FALSE); /* no need to print after z or p */ |
942 | 942 |
943 EXTERN int Recording INIT(= FALSE); /* TRUE when recording into a reg. */ | 943 EXTERN int Recording INIT(= FALSE); /* TRUE when recording into a reg. */ |