17 points · by vasko · 1y ago · 7 comments
https://www.github.com/marssaxman/ozette/
If I did it over again, I might use a rope instead of a line array as the central data structure, but it works well enough that I've never bothered to change it.
What I learned is it's fairly simple to make a text editor - but there's also the occasional fiddly little bug that has to be sorted out. (It could've also had security holes -- it was protected by obscurity...)
I was frustrated with downtime at my blogging site at the time -- but in the end I just switched to "live-editing" my blog posts directly on the server using Pico.