text editor new

some modifications