Mercurial > vim
comparison src/screen.c @ 17452:f12745505a23 v8.1.1724
patch 8.1.1724: too much overhead checking for CTRL-C while processing text
commit https://github.com/vim/vim/commit/b4fe0eb4b4fe52a68a1df05162c03fe51c2fce79
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 21 14:50:21 2019 +0200
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 21 Jul 2019 15:00:07 +0200 |
parents | a5874fdc8f3a |
children | 367ef00c6258 |
comparison
equal
deleted
inserted
replaced
17451:15078662cd76 | 17452:f12745505a23 |
---|---|
165 #endif | 165 #endif |
166 | 166 |
167 /* Ugly global: overrule attribute used by screen_char() */ | 167 /* Ugly global: overrule attribute used by screen_char() */ |
168 static int screen_char_attr = 0; | 168 static int screen_char_attr = 0; |
169 | 169 |
170 #if defined(FEAT_SYN_HL) && defined(FEAT_RELTIME) | |
171 /* Can limit syntax highlight time to 'redrawtime'. */ | |
172 # define SYN_TIME_LIMIT 1 | |
173 #endif | |
174 | |
175 #ifdef FEAT_RIGHTLEFT | 170 #ifdef FEAT_RIGHTLEFT |
176 # define HAS_RIGHTLEFT(x) x | 171 # define HAS_RIGHTLEFT(x) x |
177 #else | 172 #else |
178 # define HAS_RIGHTLEFT(x) FALSE | 173 # define HAS_RIGHTLEFT(x) FALSE |
179 #endif | 174 #endif |