A simple line editor