* New modes: [JSX](http://codemirror.net/mode/jsx/index.html), [literate Haskell](http://codemirror.net/mode/haskell-literate/index.html)
* The editor now forwards more [DOM events](http://codemirror.net/doc/manual.html#event_dom): `cut`, `copy`, `paste`, and `touchstart`. It will also forward `mousedown` for drag events
...
...
@@ -6,7 +6,7 @@
* The [Swift](http://codemirror.net/mode/swift/index.html) mode now supports auto-indentation
* Frontmatters in the [YAML frontmatter](http://codemirror.net/mode/yaml-frontmatter/index.html) mode are now optional as intended
## 5.10.0
## 5.10.0 (2015-12-21)
* Modify the way [atomic ranges](http://codemirror.net/doc/manual.html#mark_atomic) are skipped by selection to try and make it less surprising.
* The [Swift mode](http://codemirror.net/mode/swift/index.html) was rewritten.
...
...
@@ -16,7 +16,7 @@
* The object passed to [`"beforeSelectionChange"`](http://codemirror.net/doc/manual.html#event_beforeSelectionChange) events now has an `origin` property.
* New mode: [Crystal](http://codemirror.net/mode/crystal/index.html).
## 5.9.0
## 5.9.0 (2015-11-23)
* Improve the way overlay (OS X-style) scrollbars are handled
* Make [annotatescrollbar](http://codemirror.net/doc/manual.html#addon_annotatescrollbar) and scrollpastend addons work properly together
...
...
@@ -24,7 +24,7 @@
* Properly fold comments that include block-comment-start markers
* Many small language mode fixes
## 5.8.0
## 5.8.0 (2015-10-20)
* Fixes an infinite loop in the [hardwrap addon](http://codemirror.net/doc/manual.html#addon_hardwrap)
* New modes: [NSIS](http://codemirror.net/mode/nsis/index.html), [Ceylon](http://codemirror.net/mode/clike/index.html)
...
...
@@ -32,7 +32,7 @@
* New option: [`allowDropFileTypes`](http://codemirror.net/doc/manual.html#option_allowDropFileTypes). Binary files can no longer be dropped into CodeMirror
* New themes: [bespin](http://codemirror.net/demo/theme.html#bespin), [hopscotch](http://codemirror.net/demo/theme.html#hopscotch), [isotope](http://codemirror.net/demo/theme.html#isotope), [railscasts](http://codemirror.net/demo/theme.html#railscasts)
## 5.7.0
## 5.7.0 (2015-09-21)
* New modes: [Vue](http://codemirror.net/mode/vue/index.html), [Oz](http://codemirror.net/mode/oz/index.html), [MscGen](http://codemirror.net/mode/mscgen/index.html)(and dialects), [Closure Stylesheets](http://codemirror.net/mode/css/gss.html)
* Implement [CommonMark](http://commonmark.org)-style flexible list indent and cross-line code spans in [Markdown](http://codemirror.net/mode/markdown/index.html) mode
...
...
@@ -43,7 +43,7 @@
* Tokenize properties as properties in the [CoffeeScript mode](http://codemirror.net/mode/coffeescript/index.html)
* The [placeholder addon](http://codemirror.net/doc/manual.html#addon_placeholder) now accepts a DOM node as well as a string placeholder
## 5.6.0
## 5.6.0 (2015-08-20)
* Fix bug where you could paste into a `readOnly` editor
* Show a cursor at the drop location when dragging over the editor
...
...
@@ -54,7 +54,7 @@
* New addons: [`autorefresh`](http://codemirror.net/doc/manual.html#addon_autorefresh) for refreshing an editor the first time it becomes visible, and `html-lint` for using [HTMLHint](http://htmlhint.com/)
* The [`search`](http://codemirror.net/doc/manual.html#addon_search) addon now recognizes `\r` and `\n` in pattern and replacement input
## 5.5.0
## 5.5.0 (2015-07-20)
* New option: [`lineSeparator`](http://codemirror.net/doc/manual.html#option_lineSeparator)(with corresponding [method](http://codemirror.net/doc/manual.html#lineSeparator))
* New themes: [dracula](http://codemirror.net/demo/theme.html#dracula), [seti](http://codemirror.net/demo/theme.html#seti), [yeti](http://codemirror.net/demo/theme.html#yeti), [material](http://codemirror.net/demo/theme.html#material), and [icecoder](http://codemirror.net/demo/theme.html#icecoder)
...
...
@@ -63,14 +63,14 @@
* From this release on, the NPM module doesn't include documentation and demos
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/5.4.0...5.5.0)
## 5.4.0
## 5.4.0 (2015-06-25)
* New modes: [Twig](http://codemirror.net/mode/twig/index.html), [Elm](http://codemirror.net/mode/elm/index.html), [Factor](http://codemirror.net/mode/factor/index.html), [Swift](http://codemirror.net/mode/swift/index.html)
* Prefer clipboard API (if available) when pasting
* Refined definition highlighting in [clike](http://codemirror.net/mode/clike/index.html) mode
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/5.3.0...5.4.0)
## 5.3.0
## 5.3.0 (2015-05-20)
* Fix several regressions in the [`show-hint`](http://codemirror.net/doc/manual.html#addon_show-hint) addon (`completeSingle` option, `"shown"` and `"close"` events)
* The [vim mode](http://codemirror.net/demo/vim.html) API was [documented](http://codemirror.net/doc/manual.html#vimapi)
...
...
@@ -78,7 +78,7 @@
* The [clike](http://codemirror.net/mode/clike/index.html) mode can now deep-indent `switch` statements, and roughly recognizes types and defined identifiers
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/5.2.0...5.3.0)
## 5.2.0
## 5.2.0 (2015-04-20)
* Fix several race conditions in [`show-hint`](http://codemirror.net/doc/manual.html#addon_show-hint)'s asynchronous mode
* Fix backspace binding in [Sublime bindings](http://codemirror.net/demo/sublime.html)
...
...
@@ -90,7 +90,7 @@
* The [Vim mode](http://codemirror.net/demo/vim.html) now supports buffer-local options and the `filetype` setting
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/5.1.0...5.2.0)
## 5.1.0
## 5.1.0 (2015-03-23)
* New modes: [ASCII armor](http://codemirror.net/mode/asciiarmor/index.html)(PGP data), [Troff](http://codemirror.net/mode/troff/index.html), and [CMake](http://codemirror.net/mode/cmake/index.html).
* Remove SmartyMixed mode, rewrite [Smarty](http://codemirror.net/mode/smarty/index.html) mode to supersede it.
...
...
@@ -98,14 +98,14 @@
* The [closebrackets addon](http://codemirror.net/doc/manual.html#addon_closebrackets) can now be configured per mode.
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/5.0.0...5.1.0).
## 5.0.0
## 5.0.0 (2015-02-20)
* Experimental mobile support (tested on iOS, Android Chrome, stock Android browser)
* New option [`inputStyle`](http://codemirror.net/doc/manual.html#option_inputStyle) to switch between hidden textarea and contenteditable input.
* The [`getInputField`](http://codemirror.net/doc/manual.html#getInputField) method is no longer guaranteed to return a textarea.
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/4.13.0...5.0.0).
## 4.13.0
## 4.13.0 (2015-02-20)
* Fix the way the [`closetag`](http://codemirror.net/demo/closetag.html) demo handles the slash character.
* New modes: [Forth](http://codemirror.net/mode/forth/index.html), [Stylus](http://codemirror.net/mode/stylus/index.html).
...
...
@@ -113,7 +113,7 @@
* Have the [Scala mode](http://codemirror.net/mode/clike/index.html) handle symbols and triple-quoted strings.
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/4.12.0...4.13.0).
## 4.12.0
## 4.12.0 (2015-01-22)
* The [`closetag`](http://codemirror.net/doc/manual.html#addon_closetag) addon now defines a `"closeTag"` command.
* Adds a `findModeByFileName` to the [mode metadata](http://codemirror.net/doc/manual.html#addon_meta) addon.
...
...
@@ -123,15 +123,15 @@
* The [Vim keymap](http://codemirror.net/demo/vim.html)'s search functionality now supports [scrollbar annotation](http://codemirror.net/doc/manual.html#addon_matchesonscrollbar).
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/4.11.0...4.12.0).
## 4.11.0
## 4.11.0 (2015-01-09)
Unfortunately, 4.10 did not take care of the Firefox scrolling issue entirely. This release adds two more patches to address that.
## 4.10.0
## 4.10.0 (2014-12-29)
Emergency single-patch update to 4.9\. Fixes Firefox-specific problem where the cursor could end up behind the horizontal scrollbar.
## 4.9.0
## 4.9.0 (2014-12-23)
* Overhauled scroll bar handling. Add pluggable [scrollbar implementations](http://codemirror.net/demo/simplescrollbars.html).
* Tweaked behavior for the [completion addons](http://codemirror.net/doc/manual.html#addon_show-hint) to not take text after cursor into account.
...
...
@@ -142,7 +142,7 @@ Emergency single-patch update to 4.9\. Fixes Firefox-specific problem where the
* Allow ctrl-click to clear existing cursors.
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/4.8.0...4.9.0).
## 4.8.0
## 4.8.0 (2014-11-22)
* Built-in support for [multi-stroke key bindings](http://codemirror.net/doc/manual.html#normalizeKeyMap).
* New method: [`getLineTokens`](http://codemirror.net/doc/manual.html#getLineTokens).
...
...
@@ -152,7 +152,7 @@ Emergency single-patch update to 4.9\. Fixes Firefox-specific problem where the
* Improvements to modes: [gfm](http://codemirror.net/mode/gfm/index.html)(strikethrough), [SPARQL](http://codemirror.net/mode/sparql/index.html)(version 1.1 support), and [sTeX](http://codemirror.net/mode/stex/index.html)(no more runaway math mode).
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/4.7.0...4.8.0).
## 4.7.0
## 4.7.0 (2014-10-20)
***Incompatible**: The [lint addon](http://codemirror.net/demo/lint.html) now passes the editor's value as first argument to asynchronous lint functions, for consistency. The editor is still passed, as fourth argument.
* Improved handling of unicode identifiers in modes for languages that support them.
...
...
@@ -164,14 +164,14 @@ Emergency single-patch update to 4.9\. Fixes Firefox-specific problem where the
* New logo!
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/4.6.0...4.7.0).
## 4.6.0
## 4.6.0 (2014-09-19)
* New mode: [Modelica](http://codemirror.net/mode/modelica/index.html)
* New method: [`findWordAt`](http://codemirror.net/doc/manual.html#findWordAt)
* Make it easier to [use text background styling](http://codemirror.net/demo/markselection.html)
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/4.5.0...4.6.0).
## 4.5.0
## 4.5.0 (2014-08-21)
* Fix several serious bugs with horizontal scrolling
* New mode: [Slim](http://codemirror.net/mode/slim/index.html)
...
...
@@ -179,7 +179,7 @@ Emergency single-patch update to 4.9\. Fixes Firefox-specific problem where the
* More fixes and extensions for the [Vim](http://codemirror.net/demo/vim.html) visual block mode
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/4.4.0...4.5.0).
## 4.4.0
## 4.4.0 (2014-07-21)
***Note:** Some events might now fire in slightly different order (`"change"` is still guaranteed to fire before `"cursorActivity"`)
* Nested operations in multiple editors are now synced (complete at same time, reducing DOM reflows)
...
...
@@ -188,14 +188,14 @@ Emergency single-patch update to 4.9\. Fixes Firefox-specific problem where the
* Better multi-selection paste for text copied from multiple CodeMirror selections
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/4.3.0...4.4.0).
## 4.3.0
## 4.3.0 (2014-06-23)
* Several [vim bindings](http://codemirror.net/demo/vim.html) improvements: search and exCommand history, global flag for `:substitute`, `:global` command.
* Allow hiding the cursor by setting [`cursorBlinkRate`](http://codemirror.net/doc/manual.html#option_cursorBlinkRate) to a negative value.
* Make gutter markers themeable, use this in foldgutter.
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/4.2.0...4.3.0).
## 4.2.0
## 4.2.0 (2014-05-19)
* Fix problem where some modes were broken by the fact that empty tokens were forbidden.
* Several fixes to context menu handling.
...
...
@@ -210,7 +210,7 @@ Emergency single-patch update to 4.9\. Fixes Firefox-specific problem where the
* In the [Vim bindings](http://codemirror.net/demo/vim.html): Fix bracket matching, support case conversion in visual mode, visual paste, append action.
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/4.1.0...4.2.0).
## 4.1.0
## 4.1.0 (2014-04-22)
* _Slightly incompatible_: The [`"cursorActivity"`](http://codemirror.net/doc/manual.html#event_cursorActivity) event now fires after all other events for the operation (and only for handlers that were actually registered at the time the activity happened).
* New command: [`insertSoftTab`](http://codemirror.net/doc/manual.html#command_insertSoftTab).
...
...
@@ -219,17 +219,17 @@ Emergency single-patch update to 4.9\. Fixes Firefox-specific problem where the
* Many small issues from the 3.x→4.x transition were found and fixed.
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/4.0.3...4.1.0).
## 3.24.0
## 3.24.0 (2014-04-22)
Merges the improvements from 4.1 that could easily be applied to the 3.x code. Also improves the way the editor size is updated when line widgets change.
## 3.23.0
## 3.23.0 (2014-03-20)
* In the [XML mode](http://codemirror.net/mode/xml/index.html), add `brackets` style to angle brackets, fix case-sensitivity of tags for HTML.
* New mode: [Dylan](http://codemirror.net/mode/dylan/index.html).
* Many improvements to the [Vim bindings](http://codemirror.net/demo/vim.html).
## 3.22.0
## 3.22.0 (2014-02-21)
* Adds the [`findMarks`](http://codemirror.net/doc/manual.html#findMarks) method.
* New addons: [rulers](http://codemirror.net/doc/manual.html#addon_rulers), markdown-fold, yaml-lint.
...
...
@@ -237,7 +237,7 @@ Merges the improvements from 4.1 that could easily be applied to the 3.x code. A
* New mode: [Solr](http://codemirror.net/mode/solr/index.html).
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/3.21.0...3.22.0).
## 3.21.0
## 3.21.0 (2014-01-16)
* Auto-indenting a block will no longer add trailing whitespace to blank lines.
* Marking text has a new option [`clearWhenEmpty`](http://codemirror.net/doc/manual.html#markText) to control auto-removal.
...
...
@@ -249,7 +249,7 @@ Merges the improvements from 4.1 that could easily be applied to the 3.x code. A
* Better ECMAScript 6 support in [JavaScript](http://codemirror.net/mode/javascript/index.html) mode.
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/3.20.0...3.21.0).
## 3.20.0
## 3.20.0 (2013-11-21)
* New modes: [Julia](http://codemirror.net/mode/julia/index.html) and [PEG.js](http://codemirror.net/mode/pegjs/index.html).
* Support ECMAScript 6 in the [JavaScript mode](http://codemirror.net/mode/javascript/index.html).
...
...
@@ -258,7 +258,7 @@ Merges the improvements from 4.1 that could easily be applied to the 3.x code. A
* Add ‘notification’ functionality to [dialog](http://codemirror.net/doc/manual.html#addon_dialog) addon.
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/3.19.0...3.20.0).
## 3.19.0
## 3.19.0 (2013-10-21)
* New modes: [Eiffel](http://codemirror.net/mode/eiffel/index.html), [Gherkin](http://codemirror.net/mode/gherkin/index.html), [MSSQL dialect](http://codemirror.net/mode/sql/?mime=text/x-mssql).
* New addons: [hardwrap](http://codemirror.net/doc/manual.html#addon_hardwrap), [sql-hint](http://codemirror.net/doc/manual.html#addon_sql-hint).
...
...
@@ -266,18 +266,18 @@ Merges the improvements from 4.1 that could easily be applied to the 3.x code. A
* Add [support](http://codemirror.net/doc/manual.html#token_style_line) for line-level styling from mode tokenizers.
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/3.18.0...3.19.0).
## 3.18.0
## 3.18.0 (2013-09-23)
Emergency release to fix a problem in 3.17 where `.setOption("lineNumbers", false)` would raise an error.
## 3.17.0
## 3.17.0 (2013-09-23)
* New modes: [Fortran](http://codemirror.net/mode/fortran/index.html), [Octave](http://codemirror.net/mode/octave/index.html)(Matlab), [TOML](http://codemirror.net/mode/toml/index.html), and [DTD](http://codemirror.net/mode/dtd/index.html).
* New addons: [`css-lint`](http://codemirror.net/addon/lint/css-lint.js), [`css-hint`](http://codemirror.net/doc/manual.html#addon_css-hint).
* Improve resilience to CSS 'frameworks' that globally mess up `box-sizing`.
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/3.16.0...3.17.0).
## 3.16.0
## 3.16.0 (2013-08-21)
* The whole codebase is now under a single [license](http://codemirror.net/LICENSE) file.
* The project page was overhauled and redesigned.
...
...
@@ -287,7 +287,7 @@ Emergency release to fix a problem in 3.17 where `.setOption("lineNumbers", fals
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/3.15.0...3.16.0).
## 3.15.0
## 3.15.0 (2013-07-29)
* New modes: [Jade](http://codemirror.net/mode/jade/index.html), [Nginx](http://codemirror.net/mode/nginx/index.html).
* New addons: [Tern](http://codemirror.net/demo/tern.html), [matchtags](http://codemirror.net/doc/manual.html#addon_matchtags), and [foldgutter](http://codemirror.net/doc/manual.html#addon_foldgutter).
...
...
@@ -296,7 +296,7 @@ Emergency release to fix a problem in 3.17 where `.setOption("lineNumbers", fals
* New themes: base16 [dark](http://codemirror.net/demo/theme.html#base16-dark)/[light](http://codemirror.net/demo/theme.html#base16-light), 3024 [dark](http://codemirror.net/demo/theme.html#3024-night)/[light](http://codemirror.net/demo/theme.html#3024-day), [tomorrow-night](http://codemirror.net/demo/theme.html#tomorrow-night-eighties).
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/3.14.0...3.15.0).
## 3.14.0
## 3.14.0 (2013-06-20)
* New addons: [trailing space highlight](http://codemirror.net/doc/manual.html#addon_trailingspace), [XML completion](http://codemirror.net/doc/manual.html#addon_xml-hint)(rewritten), and [diff merging](http://codemirror.net/doc/manual.html#addon_merge).
*[`markText`](http://codemirror.net/doc/manual.html#markText) and [`addLineWidget`](http://codemirror.net/doc/manual.html#addLineWidget) now take a `handleMouseEvents` option.
...
...
@@ -307,7 +307,7 @@ Emergency release to fix a problem in 3.17 where `.setOption("lineNumbers", fals
* Various improvements to [Ruby](http://codemirror.net/mode/ruby/index.html), [Smarty](http://codemirror.net/mode/smarty/index.html), [SQL](http://codemirror.net/mode/sql/index.html), and [Vim](http://codemirror.net/demo/vim.html) modes.
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/3.13.0...3.14.0).
## 3.13.0
## 3.13.0 (2013-05-20)
* New modes: [COBOL](http://codemirror.net/mode/cobol/index.html) and [HAML](http://codemirror.net/mode/haml/index.html).
* New options: [`cursorScrollMargin`](http://codemirror.net/doc/manual.html#option_cursorScrollMargin) and [`coverGutterNextToScrollbar`](http://codemirror.net/doc/manual.html#option_coverGutterNextToScrollbar).
...
...
@@ -315,7 +315,7 @@ Emergency release to fix a problem in 3.17 where `.setOption("lineNumbers", fals
* More features added to the [Vim keymap](http://codemirror.net/demo/vim.html).
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/v3.12...3.13.0).
## 3.12.0
## 3.12.0 (2013-04-19)
* New mode: [GNU assembler](http://codemirror.net/mode/gas/index.html).
* New options: [`maxHighlightLength`](http://codemirror.net/doc/manual.html#option_maxHighlightLength) and [`historyEventDelay`](http://codemirror.net/doc/manual.html#option_historyEventDelay).
...
...
@@ -324,7 +324,7 @@ Emergency release to fix a problem in 3.17 where `.setOption("lineNumbers", fals
* Further improvements to the vim mode.
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/v3.11...v3.12).
## 3.11.0
## 3.11.0 (2013-03-20)
***Removed code:**`collapserange`, `formatting`, and `simple-hint` addons. `plsql` and `mysql` modes (use [`sql`](http://codemirror.net/mode/sql/index.html) mode).
***Moved code:** the range-finding functions for folding now have [their own files](http://codemirror.net/addon/fold/).
...
...
@@ -338,11 +338,11 @@ Emergency release to fix a problem in 3.17 where `.setOption("lineNumbers", fals
* Further improvements to the [vim mode](http://codemirror.net/demo/vim.html).
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/v3.1...v3.11).
## 3.02.0
## 3.02.0 (2013-01-25)
Single-bugfix release. Fixes a problem that prevents CodeMirror instances from being garbage-collected after they become unused.
## 3.01.0
## 3.01.0 (2013-01-21)
* Move all add-ons into an organized directory structure under [`/addon`](http://codemirror.net/addon/). **You might have to adjust your paths.**
* New modes: [D](http://codemirror.net/mode/d/index.html), [Sass](http://codemirror.net/mode/sass/index.html), [APL](http://codemirror.net/mode/apl/index.html), [SQL](http://codemirror.net/mode/sql/index.html)(configurable), and [Asterisk](http://codemirror.net/mode/asterisk/index.html).
...
...
@@ -355,7 +355,7 @@ Single-bugfix release. Fixes a problem that prevents CodeMirror instances from b
* Bring back the [`fixedGutter`](http://codemirror.net/doc/manual.html#option_fixedGutter) option.
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/v3.0...v3.01).
## 3.1.0
## 3.1.0 (2013-02-21)
***Incompatible:** key handlers may now _return_, rather than _throw_ `CodeMirror.Pass` to signal they didn't handle the key.
* Make documents a [first-class construct](http://codemirror.net/doc/manual.html#api_doc), support split views and subviews.
...
...
@@ -371,7 +371,7 @@ Single-bugfix release. Fixes a problem that prevents CodeMirror instances from b
* Further improvements to the [vim mode](http://codemirror.net/demo/vim.html).
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/v3.01...v3.1).
## 3.0.0
## 3.0.0 (2012-12-10)
**New major version**. Only partially backwards-compatible. See the [upgrading guide](http://codemirror.net/doc/upgrade_v3.html) for more information. Changes since release candidate 2:
...
...
@@ -380,18 +380,18 @@ Single-bugfix release. Fixes a problem that prevents CodeMirror instances from b
* Work around Safari segfault when dragging.
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/v3.0rc2...v3.0).
## 2.38.0
## 2.38.0 (2013-01-21)
Integrate some bugfixes, enhancements to the vim keymap, and new modes ([D](http://codemirror.net/mode/d/index.html), [Sass](http://codemirror.net/mode/sass/index.html), [APL](http://codemirror.net/mode/apl/index.html)) from the v3 branch.
## 2.37.0
## 2.37.0 (2012-12-20)
* New mode: [SQL](http://codemirror.net/mode/sql/index.html)(will replace [plsql](http://codemirror.net/mode/plsql/index.html) and [mysql](http://codemirror.net/mode/mysql/index.html) modes).
* Further work on the new VIM mode.
* Fix Cmd/Ctrl keys on recent Operas on OS X.
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/v2.36...v2.37).
## 2.36.0
## 2.36.0 (2012-11-20)
* New mode: [Z80 assembly](http://codemirror.net/mode/z80/index.html).
* New theme: [Twilight](http://codemirror.net/demo/theme.html#twilight).
...
...
@@ -403,7 +403,7 @@ Integrate some bugfixes, enhancements to the vim keymap, and new modes ([D](http
* Full [list of patches](https://github.com/codemirror/CodeMirror/compare/v2.34...v2.35).
## 2.34.0
## 2.34.0 (2012-09-19)
* New mode: [Common Lisp](http://codemirror.net/mode/commonlisp/index.html).
* Fix right-click select-all on most browsers.
...
...
@@ -426,7 +426,7 @@ Integrate some bugfixes, enhancements to the vim keymap, and new modes ([D](http
* Un/redo now preserves [marked text](http://codemirror.net/doc/manual.html#markText) and bookmarks.
*[Full list](https://github.com/codemirror/CodeMirror/compare/v2.33...v2.34) of patches.
## 2.33.0
## 2.33.0 (2012-08-23)
* New mode: [Sieve](http://codemirror.net/mode/sieve/index.html).
* New [`getViewPort`](http://codemirror.net/doc/manual.html#getViewport) and [`onViewportChange`](http://codemirror.net/doc/manual.html#option_onViewportChange) API.
...
...
@@ -438,11 +438,11 @@ Integrate some bugfixes, enhancements to the vim keymap, and new modes ([D](http
* Remove most uses of `innerHTML`. Remove `CodeMirror.htmlEscape`.
*[Full list](https://github.com/codemirror/CodeMirror/compare/v2.32...v2.33) of patches.
## 2.32.0
## 2.32.0 (2012-07-23)
Emergency fix for a bug where an editor with line wrapping on IE will break when there is _no_ scrollbar.
## 2.31.0
## 2.31.0 (2012-07-20)
* New modes: [OCaml](http://codemirror.net/mode/ocaml/index.html), [Haxe](http://codemirror.net/mode/haxe/index.html), and [VB.NET](http://codemirror.net/mode/vb/index.html).
* Several fixes to the new scrolling model.
...
...
@@ -452,7 +452,17 @@ Emergency fix for a bug where an editor with line wrapping on IE will break when
* Support double- and triple-click drag, double-clicking whitespace.
* And more... [(all patches)](https://github.com/codemirror/CodeMirror/compare/v2.3...v2.31)
## 2.25.0
## 2.30.0 (2012-06-22)
***New scrollbar implementation**. Should flicker less. Changes DOM structure of the editor.
* New theme: [vibrant-ink](http://codemirror.net/demo/theme.html#vibrant-ink).
* Many extensions to the VIM keymap (including text objects).
@@ -509,11 +519,23 @@ Emergency fix for a bug where an editor with line wrapping on IE will break when
* Allow undo/redo events to span non-adjacent lines.
* Lots and lots of bugfixes.
## 2.18.0
## 2.20.0 (2011-12-20)
* Slightly incompatible API changes. Read [this](http://codemirror.net/doc/upgrade_v2.2.html).
* New approach to [binding](http://codemirror.net/doc/manual.html#option_extraKeys) keys, support for [custom bindings](http://codemirror.net/doc/manual.html#option_keyMap).
* Support for overwrite (insert).
*[Custom-width](http://codemirror.net/doc/manual.html#option_tabSize) and [stylable](http://codemirror.net/demo/visibletabs.html) tabs.
* Moved more code into [add-on scripts](http://codemirror.net/doc/manual.html#addons).
* Support for sane vertical cursor movement in wrapped lines.
* More reliable handling of editing [marked text](http://codemirror.net/doc/manual.html#markText).
* Add minimal [emacs](http://codemirror.net/demo/emacs.html) and [vim](http://codemirror.net/demo/vim.html) bindings.
* Rename `coordsFromIndex` to [`posFromIndex`](http://codemirror.net/doc/manual.html#posFromIndex), add [`indexFromPos`](http://codemirror.net/doc/manual.html#indexFromPos) method.
## 2.18.0 (2011-11-21)
Fixes `TextMarker.clear`, which is broken in 2.17.
## 2.17.0
## 2.17.0 (2011-11-21)
* Add support for [line wrapping](http://codemirror.net/doc/manual.html#option_lineWrapping) and [code folding](http://codemirror.net/doc/manual.html#hideLine).
@@ -528,7 +550,7 @@ Fixes `TextMarker.clear`, which is broken in 2.17.
* Make double- and triple-click work in IE.
* Various fixes to modes.
## 2.16.0
## 2.16.0 (2011-10-27)
* Add [Perl](http://codemirror.net/mode/perl/index.html), [Rust](http://codemirror.net/mode/rust/index.html), [TiddlyWiki](http://codemirror.net/mode/tiddlywiki/index.html), and [Groovy](http://codemirror.net/mode/groovy/index.html) modes.
* Dragging text inside the editor now moves, rather than copies.
...
...
@@ -537,11 +559,11 @@ Fixes `TextMarker.clear`, which is broken in 2.17.
***API change**: [`markText`](http://codemirror.net/doc/manual.html#markText) now returns an object with `clear` and `find` methods. Marked text is now more robust when edited.
* Fix editing code with tabs in Internet Explorer.
## 2.15.0
## 2.15.0 (2011-09-26)
Fix bug that snuck into 2.14: Clicking the character that currently has the cursor didn't re-focus the editor.
## 2.14.0
## 2.14.0 (2011-09-26)
* Add [Clojure](http://codemirror.net/mode/clojure/index.html), [Pascal](http://codemirror.net/mode/pascal/index.html), [NTriples](http://codemirror.net/mode/ntriples/index.html), [Jinja2](http://codemirror.net/mode/jinja2/index.html), and [Markdown](http://codemirror.net/mode/markdown/index.html) modes.
* Add [Cobalt](http://codemirror.net/theme/cobalt.css) and [Eclipse](http://codemirror.net/theme/eclipse.css) themes.
...
...
@@ -550,7 +572,7 @@ Fix bug that snuck into 2.14: Clicking the character that currently has the curs
* Make gutter updates much more efficient.
* Allow dragging of text out of the editor (on modern browsers).
## 2.13.0
## 2.13.0 (2011-08-23)
* Add [Ruby](http://codemirror.net/mode/ruby/index.html), [R](http://codemirror.net/mode/r/index.html), [CoffeeScript](http://codemirror.net/mode/coffeescript/index.html), and [Velocity](http://codemirror.net/mode/velocity/index.html) modes.
* Add [`getGutterElement`](http://codemirror.net/doc/manual.html#getGutterElement) to API.
...
...
@@ -558,7 +580,7 @@ Fix bug that snuck into 2.14: Clicking the character that currently has the curs
* Fix bug where right-click paste works in read-only mode.
* Add a [`getScrollInfo`](http://codemirror.net/doc/manual.html#getScrollInfo) method.
* Lots of other [fixes](https://github.com/codemirror/CodeMirror/compare/v2.25...v2.3).
## 2.2.0
## 2.10.0 (2011-06-07)
* Slightly incompatible API changes. Read [this](http://codemirror.net/doc/upgrade_v2.2.html).
* New approach to [binding](http://codemirror.net/doc/manual.html#option_extraKeys) keys, support for [custom bindings](http://codemirror.net/doc/manual.html#option_keyMap).
* Support for overwrite (insert).
*[Custom-width](http://codemirror.net/doc/manual.html#option_tabSize) and [stylable](http://codemirror.net/demo/visibletabs.html) tabs.
* Moved more code into [add-on scripts](http://codemirror.net/doc/manual.html#addons).
* Support for sane vertical cursor movement in wrapped lines.
* More reliable handling of editing [marked text](http://codemirror.net/doc/manual.html#markText).
* Add minimal [emacs](http://codemirror.net/demo/emacs.html) and [vim](http://codemirror.net/demo/vim.html) bindings.
* Rename `coordsFromIndex` to [`posFromIndex`](http://codemirror.net/doc/manual.html#posFromIndex), add [`indexFromPos`](http://codemirror.net/doc/manual.html#indexFromPos) method.
Add a [theme](http://codemirror.net/doc/manual.html#option_theme) system ([demo](http://codemirror.net/demo/theme.html)). Note that this is not backwards-compatible—you'll have to update your styles and modes!
## 2.2.0
## 2.2.0 (2011-06-07)
* Add a [Lua mode](http://codemirror.net/mode/lua/index.html).
* Fix reverse-searching for a regexp.
...
...
@@ -616,11 +620,7 @@ Fix bug that snuck into 2.14: Clicking the character that currently has the curs
* Immediately re-highlight text when typing.
* Fix problem with 'sticking' horizontal scrollbar.
## 2.1.0
Add a [theme](http://codemirror.net/doc/manual.html#option_theme) system ([demo](http://codemirror.net/demo/theme.html)). Note that this is not backwards-compatible—you'll have to update your styles and modes!
## 2.1.0
## 2.1.0 (2011-05-26)
* Add a [Smalltalk mode](http://codemirror.net/mode/smalltalk/index.html).
* Add a [reStructuredText mode](http://codemirror.net/mode/rst/index.html).
...
...
@@ -637,6 +637,6 @@ Add a [theme](http://codemirror.net/doc/manual.html#option_theme) system ([demo]
* Add an `onHighlightComplete` option.
* Fix the context menu for Firefox.
## 2.0.0
## 2.0.0 (2011-03-28)
CodeMirror 2 is a complete rewrite that's faster, smaller, simpler to use, and less dependent on browser quirks. See [this](http://codemirror.net/doc/internals.html) and [this](http://groups.google.com/group/codemirror/browse_thread/thread/5a8e894024a9f580) for more information.