text editor implementation started