more text editor improvements!