Create texteditor.py