debug textEditor