11 ms·
The 'extent' you talk about is exactly the lexer (parser) state, you just have to properly serialize it for the beginning of the buffer to get cheap redisplays.
by mpu 11y ago
The 'extent' you talk about is exactly the lexer (parser) state, you just have to properly serialize it for the beginning of the buffer to get cheap redisplays. It's not rocket science but almost no editor got it right.
- porges 11y agoYi is one editor that does incremental parsing correctly: https://github.com/yi-editor/yi https://github.com/yi-editor/yi
- deleted 11y ago[deleted]