Writing my own text editor, and daily-driving it