- Updated TextEditor to fix a few bugs