CodeMirror
Page Module:Infobox/styles.css has no content.
| CodeMirror | |
|---|---|
| Lua error in package.lua at line 80: module 'Module:InfoboxImage/data' not found. | |
| [[Programmer|DeveloperTemplate:Pluralize from text]] | Marijn Haverbeke |
| Written in | JavaScript |
| Engine | Page Template:Plainlist/styles.css has no content.Template:EditAtWikidata |
| Platform | Web |
| Type | Source code editor |
| License | MIT |
| Website | codemirror |
| Repository | code |
Script error: No such module "Check for conflicting parameters".Lua error in mw.title.lua at line 404: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').
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.
Version 6 was released in 2022.[4][5] The library has been split into a collection of packages,[6][7] and core packages are released independently.[1]
See also
References
Page Template:Reflist/styles.css has no content.
- ^ a b Page Module:Citation/CS1/styles.css has no content."CodeMirror Changelog". Retrieved 2 February 2026.
- ^ Page Module:Citation/CS1/styles.css has no content."Implementing a Syntax-Highlighting JavaScript Editor—in JavaScript". 24 May 2007.
- ^ Page Module:Citation/CS1/styles.css has no content."CodeMirror 2 has entered beta". 8 February 2011.
- ^ Page Module:Citation/CS1/styles.css has no content.Haverbeke, Marijn (8 June 2022). "CodeMirror 6.0 has been released".
- ^ Page Module:Citation/CS1/styles.css has no content.Haverbeke, Marijn (8 June 2022). "CodeMirror 6.0".
- ^ Page Module:Citation/CS1/styles.css has no content."CodeMirror 5 to 6 Migration Guide". Retrieved 30 June 2023.
- ^ Page Module:Citation/CS1/styles.css has no content."CodeMirror System Guide". Retrieved 30 June 2023.
External links
- Lua error in Module:Official_website at line 94: attempt to index field 'wikibase' (a nil value).
- Blog series about CodeMirror internals
Lua error in package.lua at line 80: module 'Module:Navbox/configuration' not found. Lua error in package.lua at line 80: module 'Module:Authority control/config' not found. Template:DMCA