added text editor with syntax highlighting