CodeMirror

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
CodeMirror
64px
Developer(s) Marijn Haverbeke
Stable release 5.12 / February 19, 2016; 8 years ago (2016-02-19)[1]
Written in JavaScript
Platform Web
Type Source code editor
License MIT
Website codemirror.net

CodeMirror is a JavaScript component that provides a code editor in the browser. It has a rich programming API and a focus on extensibility.

History

The first version of the editor was written early 2007, for the console in the Eloquent JavaScript website. The code was first packaged up and released under the name CodeMirror in May 2007. This version was based on the contentEditable feature of browsers.[2]

In late 2010, the Ace project, another JavaScript-based code editor, pioneered new implementation techniques and demonstrated that it is possible, even in JavaScript, to handle documents with many thousands of lines without degraded performance. This prompted a rewrite of CodeMirror [3] along the same principles. The result was version 2, which no longer relied on contentEditable and significantly improved performance.

Features

Projects using CodeMirror

See also

References

  1. http://codemirror.net/doc/releases.html
  2. Lua error in package.lua at line 80: module 'strict' not found.
  3. Lua error in package.lua at line 80: module 'strict' not found.
  4. Lua error in package.lua at line 80: module 'strict' not found.

External links

<templatestyles src="Asbox/styles.css"></templatestyles>