add TextEdit class