I am looking for something for typing in php/html "formatters" in textareas in drupal (a CMS) administration forms. CodeMirror with the php-html-css code parser looks like what I am looking for. Ymacs looks pretty good, too, but, based on the demos, CodeMirror looks better-suited to editing relatively short pieces of php/html while remaining in a web-form.
In response to, "Why are you representing them as textareas?": Well, yes, the form textarea could be hidden when js is available. I think Ymacs does that. I know there are some js wysiwyg editors that hide the textarea that the user is editing.
How do you use SyntaxHighlighter for making the user's life easier when editing code in a web client? All the examples I see only use SyntaxHighlighter to highlight code which is already on the server. Why would you want to burden every visitor with downloading the library and slowly executing a task which could have been done once and cached by the server?