opening text editor with some text