Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

CodeMirror

From Wikipedia, the free encyclopedia
JavaScript component that provides a code editor in the browser
CodeMirror
DeveloperMarijn Haverbeke
Stable release
6.x / 30 January 2026; 18 days ago (2026-01-30)[1]
Written inJavaScript
PlatformWeb
TypeSource code editor
LicenseMIT
Websitecodemirror.net
Repositorygithub.com/codemirror/dev

CodeMirror is aJavaScriptcomponent that provides acode editor in thebrowser. It has a rich programmingAPI and a focus onextensibility.

History

[edit]

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 thecontentEditable feature of browsers.[2]

In late 2010, theAce 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 oncontentEditable 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

[edit]

References

[edit]
  1. ^ab"CodeMirror Changelog". Retrieved2 February 2026.
  2. ^"Implementing a Syntax-Highlighting JavaScript Editor—in JavaScript". 24 May 2007.
  3. ^"CodeMirror 2 has entered beta". 8 February 2011.
  4. ^Haverbeke, Marijn (8 June 2022)."CodeMirror 6.0 has been released".
  5. ^Haverbeke, Marijn (8 June 2022)."CodeMirror 6.0".
  6. ^"CodeMirror 5 to 6 Migration Guide". Retrieved30 June 2023.
  7. ^"CodeMirror System Guide". Retrieved30 June 2023.

External links

[edit]
Open-source
CodeMirror-based
Mozilla Composer-based
Scintilla-based
Web-based
Freeware
Commercial
software
Cross-platform
macOS only
Windows only
Discontinued
Helper tools


Stub icon

ThisWeb-software-related article is astub. You can help Wikipedia byadding missing information.

Retrieved from "https://en.wikipedia.org/w/index.php?title=CodeMirror&oldid=1336192441"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp