Skip to content

Commit 545aeb7

Browse files
committed
Mark release 3.1
1 parent 69fa5fd commit 545aeb7

File tree

5 files changed

+78
-40
lines changed

5 files changed

+78
-40
lines changed

doc/compress.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ <h1><span class="logo-braces">{ }</span> <a href="http://codemirror.net/">CodeMi
3030
<input type="hidden" id="download" name="download" value="codemirror-compressed.js"/>
3131
<p>Version: <select id="version" onchange="setVersion(this);" style="padding: 1px">
3232
<option value="http://codemirror.net/">HEAD</option>
33+
<option value="http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v3.1;f=">3.1</option>
3334
<option value="http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v3.02;f=">3.02</option>
3435
<option value="http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v3.01;f=">3.01</option>
3536
<option value="http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v3.0;f=">3.0</option>

doc/oldrelease.html

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,43 @@ <h1><span class="logo-braces">{ }</span> <a href="http://codemirror.net/">CodeMi
1919
</pre>
2020
</div>
2121

22+
<p class="rel">19-09-2012: <a href="http://codemirror.net/codemirror-2.34.zip">Version 2.34</a>:</p>
23+
24+
<ul class="rel-note">
25+
<li>New mode: <a href="../mode/commonlisp/index.html">Common Lisp</a>.</li>
26+
<li>Fix right-click select-all on most browsers.</li>
27+
<li>Change the way highlighting happens:<br>&nbsp; Saves memory and CPU cycles.<br>&nbsp; <code>compareStates</code> is no longer needed.<br>&nbsp; <code>onHighlightComplete</code> no longer works.</li>
28+
<li>Integrate mode (Markdown, XQuery, CSS, sTex) tests in central testsuite.</li>
29+
<li>Add a <a href="manual.html#version"><code>CodeMirror.version</code></a> property.</li>
30+
<li>More robust handling of nested modes in <a href="../demo/formatting.html">formatting</a> and <a href="../demo/closetag.html">closetag</a> plug-ins.</li>
31+
<li>Un/redo now preserves <a href="manual.html#markText">marked text</a> and bookmarks.</li>
32+
<li><a href="https://github.com/marijnh/CodeMirror/compare/v2.33...v2.34">Full list</a> of patches.</li>
33+
</ul>
34+
35+
<p class="rel">19-09-2012: <a href="http://codemirror.net/codemirror-3.0beta1.zip">Version 3.0, beta 1</a>:</p>
36+
37+
<ul class="rel-note">
38+
<li>Bi-directional text support.</li>
39+
<li>More powerful gutter model.</li>
40+
<li>Support for arbitrary text/widget height.</li>
41+
<li>In-line widgets.</li>
42+
<li>Generalized event handling.</li>
43+
</ul>
44+
45+
<p class="rel">23-08-2012: <a href="http://codemirror.net/codemirror-2.33.zip">Version 2.33</a>:</p>
46+
47+
<ul class="rel-note">
48+
<li>New mode: <a href="../mode/sieve/index.html">Sieve</a>.</li>
49+
<li>New <a href="manual.html#getViewport"><code>getViewPort</code></a> and <a href="manual.html#option_onViewportChange"><code>onViewportChange</code></a> API.</li>
50+
<li><a href="manual.html#option_cursorBlinkRate">Configurable</a> cursor blink rate.</li>
51+
<li>Make binding a key to <code>false</code> disabling handling (again).</li>
52+
<li>Show non-printing characters as red dots.</li>
53+
<li>More tweaks to the scrolling model.</li>
54+
<li>Expanded testsuite. Basic linter added.</li>
55+
<li>Remove most uses of <code>innerHTML</code>. Remove <code>CodeMirror.htmlEscape</code>.</li>
56+
<li><a href="https://github.com/marijnh/CodeMirror/compare/v2.32...v2.33">Full list</a> of patches.</li>
57+
</ul>
58+
2259
<p class="rel">23-07-2012: <a href="http://codemirror.net/codemirror-2.32.zip">Version 2.32</a>:</p>
2360

2461
<p class="rel-note">Emergency fix for a bug where an editor with

index.html

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,44 @@ <h2>Reading material</h2>
284284

285285
<h2 id=releases>Releases</h2>
286286

287-
<p class="rel">21-01-2013: <a href="http://codemirror.net/codemirror-3.02.zip">Version 3.02</a>:</p>
287+
<p class="rel">21-02-2013: <a href="http://codemirror.net/codemirror-3.1.zip">Version 3.1</a>:</p>
288+
289+
<ul class="rel-note">
290+
<li><strong>Incompatible:</strong> key handlers may
291+
now <em>return</em>, rather
292+
than <em>throw</em> <code>CodeMirror.Pass</code> to signal they
293+
didn't handle the key.</li>
294+
<li>Make documents a <a href="doc/manual.html#api_doc">first-class
295+
construct</a>, support split views and subviews.</li>
296+
<li>Add a <a href="doc/manual.html#addon_show-hint">new module</a>
297+
for showing completion hints.
298+
Deprecate <code>simple-hint.js</code>.</li>
299+
<li>Extend <a href="mode/htmlmixed/index.html">htmlmixed mode</a>
300+
to allow custom handling of script types.</li>
301+
<li>Support an <code>insertLeft</code> option
302+
to <a href="doc/manual.html#setBookmark"><code>setBookmark</code></a>.</li>
303+
<li>Add an <a href="doc/manual.html#eachLine"><code>eachLine</code></a>
304+
method to iterate over a document.</li>
305+
<li>New addon modules: <a href="demo/markselection.html">selection
306+
marking</a>, <a href="demo/lint.html">linting</a>,
307+
and <a href="demo/closebrackets.html">automatic bracket
308+
closing</a>.</li>
309+
<li>Add <a href="doc/manual.html#event_beforeChange"><code>"beforeChange"</code></a>
310+
and <a href="doc/manual.html#event_beforeSelectionChange"><code>"beforeSelectionChange"</code></a>
311+
events.</li>
312+
<li>Add <a href="doc/manual.html#event_hide"><code>"hide"</code></a>
313+
and <a href="doc/manual.html#event_unhide"><code>"unhide"</code></a>
314+
events to marked ranges.</li>
315+
<li>Fix <a href="doc/manual.html#coordsChar"><code>coordsChar</code></a>'s
316+
interpretation of its argument to match the documentation.</li>
317+
<li>New modes: <a href="mode/turtle/index.html">Turtle</a>
318+
and <a href="mode/q/index.html">Q</a>.</li>
319+
<li>Further improvements to the <a href="demo/vim.html">vim mode</a>.</li>
320+
<li>Full <a href="https://github.com/marijnh/CodeMirror/compare/v3.01...v3.1">list of patches</a>.</li>
321+
</ul>
322+
323+
324+
<p class="rel">25-01-2013: <a href="http://codemirror.net/codemirror-3.02.zip">Version 3.02</a>:</p>
288325

289326
<p class="rel-note">Single-bugfix release. Fixes a problem that
290327
prevents CodeMirror instances from being garbage-collected after
@@ -410,43 +447,6 @@ <h2 id=releases>Releases</h2>
410447
<li>Full <a href="https://github.com/marijnh/CodeMirror/compare/v3.0beta1...v3.0beta2">list of patches</a>.</li>
411448
</ul>
412449

413-
<p class="rel">19-09-2012: <a href="http://codemirror.net/codemirror-2.34.zip">Version 2.34</a>:</p>
414-
415-
<ul class="rel-note">
416-
<li>New mode: <a href="mode/commonlisp/index.html">Common Lisp</a>.</li>
417-
<li>Fix right-click select-all on most browsers.</li>
418-
<li>Change the way highlighting happens:<br>&nbsp; Saves memory and CPU cycles.<br>&nbsp; <code>compareStates</code> is no longer needed.<br>&nbsp; <code>onHighlightComplete</code> no longer works.</li>
419-
<li>Integrate mode (Markdown, XQuery, CSS, sTex) tests in central testsuite.</li>
420-
<li>Add a <a href="doc/manual.html#version"><code>CodeMirror.version</code></a> property.</li>
421-
<li>More robust handling of nested modes in <a href="demo/formatting.html">formatting</a> and <a href="demo/closetag.html">closetag</a> plug-ins.</li>
422-
<li>Un/redo now preserves <a href="doc/manual.html#markText">marked text</a> and bookmarks.</li>
423-
<li><a href="https://github.com/marijnh/CodeMirror/compare/v2.33...v2.34">Full list</a> of patches.</li>
424-
</ul>
425-
426-
<p class="rel">19-09-2012: <a href="http://codemirror.net/codemirror-3.0beta1.zip">Version 3.0, beta 1</a>:</p>
427-
428-
<ul class="rel-note">
429-
<li>Bi-directional text support.</li>
430-
<li>More powerful gutter model.</li>
431-
<li>Support for arbitrary text/widget height.</li>
432-
<li>In-line widgets.</li>
433-
<li>Generalized event handling.</li>
434-
</ul>
435-
436-
<p class="rel">23-08-2012: <a href="http://codemirror.net/codemirror-2.33.zip">Version 2.33</a>:</p>
437-
438-
<ul class="rel-note">
439-
<li>New mode: <a href="mode/sieve/index.html">Sieve</a>.</li>
440-
<li>New <a href="doc/manual.html#getViewport"><code>getViewPort</code></a> and <a href="doc/manual.html#option_onViewportChange"><code>onViewportChange</code></a> API.</li>
441-
<li><a href="doc/manual.html#option_cursorBlinkRate">Configurable</a> cursor blink rate.</li>
442-
<li>Make binding a key to <code>false</code> disabling handling (again).</li>
443-
<li>Show non-printing characters as red dots.</li>
444-
<li>More tweaks to the scrolling model.</li>
445-
<li>Expanded testsuite. Basic linter added.</li>
446-
<li>Remove most uses of <code>innerHTML</code>. Remove <code>CodeMirror.htmlEscape</code>.</li>
447-
<li><a href="https://github.com/marijnh/CodeMirror/compare/v2.32...v2.33">Full list</a> of patches.</li>
448-
</ul>
449-
450450
<p><a href="doc/oldrelease.html">Older releases...</a></p>
451451

452452
</div></div>

lib/codemirror.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5376,7 +5376,7 @@ window.CodeMirror = (function() {
53765376

53775377
// THE END
53785378

5379-
CodeMirror.version = "3.02 +";
5379+
CodeMirror.version = "3.1";
53805380

53815381
return CodeMirror;
53825382
})();

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codemirror",
3-
"version":"3.02.01",
3+
"version":"3.10.00",
44
"main": "codemirror.js",
55
"description": "In-browser code editing made bearable",
66
"licenses": [{"type": "MIT",

0 commit comments

Comments
 (0)