These are summarized here:
Looking at the forums, there are two that stand out:
- Code Mirror (html demo) (Google kml example)
- Ace Editor (kitch sink demo)
I'd also like to create a "do it yourself" guide, once I figure out if it's easy to do just really simply highlighting where you can specify a few words or regex to highlight.