TextEditor init