Update TextEdit.py

Improvements