-
Notifications
You must be signed in to change notification settings - Fork 752
Closed
Labels
Description
Version of Kakoune
v2021.11.08
Reproducer
- Try to open any file with 20,000 or more lines.
- Try multi selection editing in the file.
Outcome
For files that have 20,000 lines or more, syntax highlighting is slow.
The file size is still less than 1 megabytes with a bit more than 20,000 lines.
Multi selection editing is also slow due to syntax highlighting. Perhaps, syntax highlighting is updated as I type each letter in editing mode.
neovim doesn't seem to apply syntax highlighting to the whole file. It seems to apply syntax highlighting to just visible parts. But, neovim's syntax highlighting is buggy because it applies syntax highlighting to visible parts only.
3D engines are efficient because they render only what they have to. Recent 3D engines even tweak level of detail dynamically to make rendering more efficient.
Expectations
Syntax highlighting should be efficient.
Additional information
No response