Jane Street interview question

What would you start with when creating a text editor