Mercurial > vim
comparison src/structs.h @ 11529:998d2cf59caa v8.0.0647
patch 8.0.0647: syntax highlighting can make cause a freeze
commit https://github.com/vim/vim/commit/06f1ed2f78c5c03af95054fc3a8665df39dec362
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 18 22:41:03 2017 +0200
patch 8.0.0647: syntax highlighting can make cause a freeze
Problem: Syntax highlighting can make cause a freeze.
Solution: Apply 'redrawtime' to syntax highlighting, per window.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 18 Jun 2017 22:45:04 +0200 |
parents | 698ee9d4fe9f |
children | b8299e742f41 |
comparison
equal
deleted
inserted
replaced
11528:5d3f98e7f715 | 11529:998d2cf59caa |
---|---|
1795 typedef struct { | 1795 typedef struct { |
1796 #ifdef FEAT_SYN_HL | 1796 #ifdef FEAT_SYN_HL |
1797 hashtab_T b_keywtab; /* syntax keywords hash table */ | 1797 hashtab_T b_keywtab; /* syntax keywords hash table */ |
1798 hashtab_T b_keywtab_ic; /* idem, ignore case */ | 1798 hashtab_T b_keywtab_ic; /* idem, ignore case */ |
1799 int b_syn_error; /* TRUE when error occurred in HL */ | 1799 int b_syn_error; /* TRUE when error occurred in HL */ |
1800 # ifdef FEAT_RELTIME | |
1801 int b_syn_slow; /* TRUE when 'redrawtime' reached */ | |
1802 # endif | |
1800 int b_syn_ic; /* ignore case for :syn cmds */ | 1803 int b_syn_ic; /* ignore case for :syn cmds */ |
1801 int b_syn_spell; /* SYNSPL_ values */ | 1804 int b_syn_spell; /* SYNSPL_ values */ |
1802 garray_T b_syn_patterns; /* table for syntax patterns */ | 1805 garray_T b_syn_patterns; /* table for syntax patterns */ |
1803 garray_T b_syn_clusters; /* table for syntax clusters */ | 1806 garray_T b_syn_clusters; /* table for syntax clusters */ |
1804 int b_spell_cluster_id; /* @Spell cluster ID or 0 */ | 1807 int b_spell_cluster_id; /* @Spell cluster ID or 0 */ |