mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.1.1724: too much overhead checking for CTRL-C while processing text
Problem: Too much overhead checking for CTRL-C while processing text. Solution: Increase BREAKCHECK_SKIP. Remove the difference for when built with the GUI. (suggested by Andy Massimino, closes #4708)
This commit is contained in:
parent
2458200729
commit
b4fe0eb4b4
@ -483,6 +483,11 @@
|
|||||||
# define FEAT_TEXT_PROP
|
# define FEAT_TEXT_PROP
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(FEAT_SYN_HL) && defined(FEAT_RELTIME)
|
||||||
|
// Can limit syntax highlight time to 'redrawtime'.
|
||||||
|
# define SYN_TIME_LIMIT 1
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* +spell spell checking
|
* +spell spell checking
|
||||||
*
|
*
|
||||||
|
@ -3182,11 +3182,7 @@ vim_fexists(char_u *fname)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BREAKCHECK_SKIP
|
#ifndef BREAKCHECK_SKIP
|
||||||
# ifdef FEAT_GUI /* assume the GUI only runs on fast computers */
|
# define BREAKCHECK_SKIP 1000
|
||||||
# define BREAKCHECK_SKIP 200
|
|
||||||
# else
|
|
||||||
# define BREAKCHECK_SKIP 32
|
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static int breakcheck_count = 0;
|
static int breakcheck_count = 0;
|
||||||
|
@ -167,11 +167,6 @@ static void win_redr_ruler(win_T *wp, int always, int ignore_pum);
|
|||||||
/* Ugly global: overrule attribute used by screen_char() */
|
/* Ugly global: overrule attribute used by screen_char() */
|
||||||
static int screen_char_attr = 0;
|
static int screen_char_attr = 0;
|
||||||
|
|
||||||
#if defined(FEAT_SYN_HL) && defined(FEAT_RELTIME)
|
|
||||||
/* Can limit syntax highlight time to 'redrawtime'. */
|
|
||||||
# define SYN_TIME_LIMIT 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef FEAT_RIGHTLEFT
|
#ifdef FEAT_RIGHTLEFT
|
||||||
# define HAS_RIGHTLEFT(x) x
|
# define HAS_RIGHTLEFT(x) x
|
||||||
#else
|
#else
|
||||||
|
@ -777,6 +777,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1724,
|
||||||
/**/
|
/**/
|
||||||
1723,
|
1723,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user