4 ms·
How do you implement a text editor? I think a lot of people don't consider how complex text editors are and then there are the complexities of an IDE, or exten
by rovr138 2y ago
How do you implement a text editor?
I think a lot of people don't consider how complex text editors are and then there are the complexities of an IDE, or extensions, to be able to interact with it.
ropes? gap buffers? https://code.visualstudio.com/blogs/2018/03/23/text-buffer-reimplementation https://code.visualstudio.com/blogs/2018/03/23/text-buffer-r...
how vscode does it,
- https://code.visualstudio.com/blogs/2018/03/23/text-buffer-reimplementation https://code.visualstudio.com/blogs/2018/03/23/text-buffer-r...
- https://en.wikipedia.org/wiki/Piece_table https://en.wikipedia.org/wiki/Piece_table
- k__ 2y agoI'm not saying text editors are on the last place in terms of perf requirements. I'm just saying, that general graphics editors is above that and do just fine with React.