diff options
| author | Maxime Coste <mawww@kakoune.org> | 2018-10-08 22:09:50 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2018-10-14 09:48:39 +1100 |
| commit | 194a5db5d636a343fe4edb07a727cab93aa8315e (patch) | |
| tree | 671abd6409a29a50a712c62eaff88a2ccde7e152 /src/input_handler.cc | |
| parent | dd0e4310a745064c1390358b5493d2ae585e156e (diff) | |
maintain a list of valid ranges for region highlighting
This should greatly reduce memory usage by only caching matches
for ranges that needs to be highlighted, in the case where multiple
regions are nested, this means only the topmost region needs to parse
and cache the whole buffer, other regions highlighter will only ensure
the lines for the ranges they are called up are cached.
Fixes #2454
Diffstat (limited to 'src/input_handler.cc')
0 files changed, 0 insertions, 0 deletions
