Mercurial > vim
comparison src/proto/syntax.pro @ 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 | 918942a3b0ef |
children | 6141a21dd232 |
comparison
equal
deleted
inserted
replaced
11528:5d3f98e7f715 | 11529:998d2cf59caa |
---|---|
1 /* syntax.c */ | 1 /* syntax.c */ |
2 void syntax_start(win_T *wp, linenr_T lnum); | 2 void syntax_start(win_T *wp, linenr_T lnum, proftime_T *syntax_tm); |
3 void syn_stack_free_all(synblock_T *block); | 3 void syn_stack_free_all(synblock_T *block); |
4 void syn_stack_apply_changes(buf_T *buf); | 4 void syn_stack_apply_changes(buf_T *buf); |
5 void syntax_end_parsing(linenr_T lnum); | 5 void syntax_end_parsing(linenr_T lnum); |
6 int syntax_check_changed(linenr_T lnum); | 6 int syntax_check_changed(linenr_T lnum); |
7 int get_syntax_attr(colnr_T col, int *can_spell, int keep_state); | 7 int get_syntax_attr(colnr_T col, int *can_spell, int keep_state); |