22 March, 2013

CodeMirror 3.11 / 2.37 / 1.0


Developer:

Website:

License / Price:

Platforms:

Databases:

Language:

Last Updated:

Category:
Marijn Haverbeke | More scripts
codemirror.net
Other Free / Open Source License - zlib-style license 

Windows / Linux / Mac OS / BSD / Solaris
N/A
JavaScript
March 23rd, 2013, 03:49 GMT [view history]
C: \ Text Management \ Text Editors

If a parser is available for the programming language of the edited code, this library will handle syntax highlighting and indentation.

Usage:

To use CodeMirror in a document, a script tag to load codemirror.js must be added.
This adds two objects to the environment, CodeMirror and CodeMirrorConfig.
The first is the interface to the editor, the second can be used to configure it.

Here are some key features of "CodeMirror":

Supported languages:
· C, C++, C#, Java, and similar
· Clojure
· CoffeeScript
· Common Lisp
· CSS
· D
· diff
· ECL
· Erlang
· Go
· Groovy
· Haskell
· HaXe
· HTML embedded scripts
· HTML mixed-mode
· INI
· JavaScript
· Jinja2
· LESS
· LiveScript
· Lua
· Markdown (Github-flavour)
· mIRC
· NoTex (rST authoring)
· NTriples
· OCaml
· Pascal
· Perl
· PHP
· Pig Latin
· Properties files
· Python
· R
· RPM spec and changelog
· reStructuredText
· Ruby
· Rust
· SASS (SCSS)
· Scala
· Scheme
· Shell
· Smalltalk
· Smarty
· SPARQL
· SQL (many dialects)
· sTeX, LaTeX
· Tiddlywiki
· Tiki wiki
· TypeScript
· VB.NET
· VBScript
· Velocity
· Verilog
· XML/HTML (alternative XML)
· XQuery
· YAML
· z80

Supported browsers:
· Firefox 1.5 or higher
· Internet Explorer 6 or higher
· Safari 3 or higher
· Opera 9.52 or higher
· Chrome

Requirements:

· JavaScript enabled on client side

What's New in This Release: [ read full changelog ]

· Removed code: collapserange, formatting, and simple-hint addons. plsql and mysql modes (use sql mode).
· Moved code: the range-finding functions for folding now have their own files.
· Changed interface: the continuecomment addon now exposes an option, rather than a command.
· New modes: SCSS, Tcl, LiveScript, and mIRC.
· New addons: placeholder, HTML completion.
· New methods: hasFocus, defaultCharWidth.
· New events: beforeCursorEnter, renderLine.
· Many improvements to the show-hint completion dialog addon.
· Tweak behavior of by-word cursor motion.


Download button
Via: CodeMirror 3.11 / 2.37 / 1.0

0 Comment: