Finally got TextEdit set up correctly