official website definition : http://codemirror.net/
- Codemirror is a code-editor component the can be embedded in Web pages. The core library provides only the editor component, no accompanying buttons, auto-completion, or othe R IDE functionality. It does provide a rich API on top of the which such functionality can be straightforwardly implemented. See the addons included in the distribution, and thelist of externally hosted addons, for reusable implementatio NS of extra features.
- Codemirror works with language-specific modes. Modes is JavaScript programs that help color (and optionally indent) the text written in a given language. The distribution comes with a number of modes (see The
mode/
directory), and it isn ' t hard to Write new Ones for other languages.
1Features 2 3 languages out of the box 4 A powerful, composable language mode system 5 autocompletion (XML) 6 Code Folding 7 Configurable keybindings 8 Vim, Emacs, and Sublime Text bindings 9 Search and replace Interface10 bracket and tag matching11 support for split views12 linter integration13 Mixing font sizes and styles14 Various themes15 Able to Resize to fit content16 Inline and block widgets17 Programmable gutters18 Making ranges of text styled, read-only, or Atom Ic19 bi-directional Text support20 Many other methods and addons ...
Codemirror is a JavaScript-based code editor that we can embed into any JavaScript-enabled page.
Codemirror supports highlighting of a large number of languages, including C, C + +, C #, JAVA, Perl, PHP, JavaScript, Python, Lua, Go, Groovy, Ruby, and more, as well as diff, LaTeX, SQL, wiki, Markdown and other file formats. In addition, Codemirror supports code autocomplete, search/replace, HTML previews, line numbers, selection/Search result highlighting, Visual tab, Emacs/vim key bindings, code auto-formatting, and more.
Codemirror is currently integrated into various applications such as the Adobe bracket, codev, light table and other development environments using the MIT development License Agreement, and is also used as a variety of SQL, Haxe, JavaScript Online Editor's base library to use.
Codemirror is a "online source editor", based on JavaScript, short, real-time online code highlighting, he is not an affiliate of a rich text editor, he is the most famous online code editor base library. For example, the following code editor is based on Codemirror :
Google Earth KML Sampler
Eloquent JavaScript ' s console
The Qooxdoo Playground
A Cool Tutorial about the element
An online IDE for the ORC programming language
Google ' s API playground
Raphaël Live
JS Bin
The Rokpad plugin for Joomla
The Scraperwiki Editor
JSLINB UI Builder
Notes-Demo demos in various languages:
Javascript
Xml/html
Css
Sparql
HTML Mixed-mode
html+php mixed-mode (courtesy of Yahoo!)
Python (by Timothy Farrell)
Lua (by Franciszek Wawrzak)
Ruby (by Michal Hantl, unfinished)
SQL (by John Benediktsson)
Plsql (by Peter Raganitsch)
diff (Courtesy of Liran Nuna)
Groovy (by EXo Platform)
C # (by Boris Gaber and Christopher Buchino)
Ometajs (by Eric Kedji)
Scheme (by Danny Yoo)
Codemirror: JavaScript-based Code editor