Comment on Optimizing an Important Atom PrimitiveparentComments−mpu11yThe '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.−porges11yYi is one editor that does incremental parsing correctly: https://github.com/yi-editor/yi
Comments
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.
Yi is one editor that does incremental parsing correctly: https://github.com/yi-editor/yi