Single line text editor