Intergrating the texteditor