TextEdit tweaks