codemirror

In-browser code editing made bearable

JavaScriptCodeMirrorEditor

http://codemirror.net