ace

http://ace.ajax.org/

Ace is a standalone code editor written in JavaScript.

code, editor