Comment

Peter Bengtsson

Great tip! Thanks. I'll now take the time to look at Codemirror.

Parent comment

Dan Dascalescu

I reviewed 12 JavaScript code editors on Wikipedia (http://en.wikipedia.org/wiki/Comparison_of_Javascript-based_source_code_editors). For the needs of our project, a template management system (http://sourceforge.net/projects/rthree), Codemirror was the best choice: + it supports mixed mode syntax (HTML+JavaScript+CSS, and I'm working on adding PHP to the mix) + it's fast + it's being actively developed (unlike Codepress) and the author is very responsive. Codemirror is at http://marijn.haverbeke.nl/codemirror