adding syntax highlighting in text editor