6 ms·
Obviously there is a trade off on file size here. I'm curious on how the implementation works.
by mcormier 17y ago
Obviously there is a trade off on file size here. I'm curious on how the implementation works.
- jules 17y agoText files are small. Even if they saved every keystroke and you type 100 chars/second for 10 hours it's less than 3.5 megabytes.
- steerpike 17y agoI'm incredibly curious as to implementation too. Any of the HN boffins want to breakdown how something like this works?
- joe_the_user 17y agoThe source code of Scintilla shows a good implementation of undo functionality. The only thing you'd need only you have undo was a way to serialize and unserialize the information.