3 ms·
One of the more interesting editors I've seen being worked on is edlib (https://github.com/neilbrown/edlib https://github.com/neilbrown/edlib). The theory is th
by cyphar 11y ago
One of the more interesting editors I've seen being worked on is edlib (https://github.com/neilbrown/edlib https://github.com/neilbrown/edlib). The theory is that rather doing a buffer-based approach as in Emacs, the text is actually just a representation of a file. The consequence being that you can have a presentation open as one representation and also be modifying the presentation as a different representation. It's very young (and is a toy project as well), but it's definitely a cool idea IMO.
- amelius 11y agoIsn't this just MVC (model-view-controller), with multiple views?
- hittaruki 11y agoIsn't an emacs buffer exactly that? Depending on what modes are turned on the way the file data is presented will also change. For ex, how you can open a svg file, if you use the image mode you see the image representation otherwise you get the code.
- cyphar 11y agoEmacs buffers are copies of the representation, not actual representations. The author had a talk at a recent linux.conf.au (can't find the link right now), which explains it much better than I could.