Ace is a code editor written in JavaScript which can be embedded in any web-page/JavaScript application. It is a community project with the source code hosted on GitHub and released under the BSD license.
Features include:
- Syntax highlighting
- Over 20 themes
- Automatic indenting
- Search and replace with regular expressions
- Highlight matching parentheses
- Line wrapping
- Code folding
- Cut, copy, and paste functionality
- etc.
All the details are available at