Sophisticated text editor for code, html and prose