A texteditor miniproject.