Skip to content

Commit e38cc3a

Browse files
committed
Mark release 2.2
1 parent 6ae6b18 commit e38cc3a

File tree

4 files changed

+46
-25
lines changed

4 files changed

+46
-25
lines changed

doc/compress.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ <h1><span class="logo-braces">{ }</span> <a href="http://codemirror.net/">CodeMi
2727
<input type="hidden" id="download" name="download" value="codemirror-compressed.js"/>
2828
<p>Version: <select id="version" onchange="setVersion(this);" style="padding: 1px">
2929
<option value="http://codemirror.net/">HEAD</option>
30+
<option value="http://marijnhaverbeke.nl/git/codemirror2?a=blob_plain;hb=v2.2;f=">2.2</option>
3031
<option value="http://marijnhaverbeke.nl/git/codemirror2?a=blob_plain;hb=v2.18;f=">2.18</option>
3132
<option value="http://marijnhaverbeke.nl/git/codemirror2?a=blob_plain;hb=v2.16;f=">2.16</option>
3233
<option value="http://marijnhaverbeke.nl/git/codemirror2?a=blob_plain;hb=v2.15;f=">2.15</option>

doc/oldrelease.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,25 @@ <h1><span class="logo-braces">{ }</span> <a href="http://codemirror.net/">CodeMi
1515
<img src="baboon.png" class="logo" alt="logo"/>/* Old release history */
1616

1717
</pre>
18+
<p class="rel">07-06-2011: <a href="http://codemirror.net/codemirror-2.1.zip">Version 2.1</a>:</p>
19+
<p class="rel-note">Add
20+
a <a href="manual.html#option_theme">theme</a> system
21+
(<a href="../demo/theme.html">demo</a>). Note that this is not
22+
backwards-compatible—you'll have to update your styles and
23+
modes!</p>
24+
25+
<p class="rel">07-06-2011: <a href="http://codemirror.net/codemirror-2.02.zip">Version 2.02</a>:</p>
26+
<ul class="rel-note">
27+
<li>Add a <a href="../mode/lua/index.html">Lua mode</a>.</li>
28+
<li>Fix reverse-searching for a regexp.</li>
29+
<li>Empty lines can no longer break highlighting.</li>
30+
<li>Rework scrolling model (the outer wrapper no longer does the scrolling).</li>
31+
<li>Solve horizontal jittering on long lines.</li>
32+
<li>Add <a href="../demo/runmode.html">runmode.js</a>.</li>
33+
<li>Immediately re-highlight text when typing.</li>
34+
<li>Fix problem with 'sticking' horizontal scrollbar.</li>
35+
</ul>
36+
1837
<p class="rel">26-05-2011: <a href="http://codemirror.net/codemirror-2.01.zip">Version 2.01</a>:</p>
1938
<ul class="rel-note">
2039
<li>Add a <a href="../mode/smalltalk/index.html">Smalltalk mode</a>.</li>

doc/upgrade_v2.2.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ <h1><span class="logo-braces">{ }</span> <a href="http://codemirror.net/">CodeMi
1717

1818
<div class="left">
1919

20-
<p>There are a few things in the current HEAD (which will be released
21-
as 2.2 somewhere in December), that require some care when
22-
upgrading.</p>
20+
<p>There are a few things in the 2.2 release that require some care
21+
when upgrading.</p>
2322

2423
<h2>No more default.css</h2>
2524

index.html

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,12 @@ <h2 id="commercial">Commercial support</h2>
199199
<h2>Support CodeMirror</h2>
200200

201201
<ul>
202-
<li><strong>Donate</strong>
202+
<li>Donate
203203
(<span onclick="document.getElementById('paypal').submit();"
204204
class="quasilink">Paypal</span>
205205
or <span onclick="document.getElementById('bankinfo').style.display = 'block';"
206206
class="quasilink">bank</span>)</li>
207-
<li>Purchase <strong><a href="#commercial">commercial support</a></strong></li>
207+
<li>Purchase <a href="#commercial">commercial support</a></li>
208208
</ul>
209209

210210
<p id="bankinfo" style="display: none;">
@@ -218,7 +218,28 @@ <h2>Support CodeMirror</h2>
218218

219219
<h2>Releases:</h2>
220220

221-
<p class="rel"><strong>Note:</strong> <a href="doc/upgrade_v2.2.html">incompatible changes</a> in HEAD</p>
221+
<p class="rel">20-12-2011: <a href="http://codemirror.net/codemirror-2.2.zip">Version 2.2</a>:</p>
222+
223+
<ul class="rel-note">
224+
<li>Slightly incompatible API changes. Read <a href="doc/upgrade_v2.2.html">this</a>.</li>
225+
<li>New approach
226+
to <a href="doc/manual.html#option_extraKeys">binding</a> keys,
227+
support for <a href="doc/manual.html#option_keyMap">custom
228+
bindings</a>.</li>
229+
<li>Support for overwrite (insert).</li>
230+
<li><a href="doc/manual.html#option_tabSize">Custom-width</a>
231+
and <a href="demo/visibletabs.html">stylable</a> tabs.</li>
232+
<li>Moved more code into <a href="doc/manual.html#addons">add-on scripts</a>.</li>
233+
<li>Support for sane vertical cursor movement in wrapped lines.</li>
234+
<li>More reliable handling of
235+
editing <a href="doc/manual.html#markText">marked text</a>.</li>
236+
<li>Add minimal <a href="demo/emacs.html">emacs</a>
237+
and <a href="demo/vim.html">vim</a> bindings.</li>
238+
<li>Rename <code>coordsFromIndex</code>
239+
to <a href="doc/manual.html#posFromIndex"><code>posFromIndex</code></a>,
240+
add <a href="doc/manual.html#indexFromPos"><code>indexFromPos</code></a>
241+
method.</li>
242+
</ul>
222243

223244
<p class="rel">21-11-2011: <a href="http://codemirror.net/codemirror-2.18.zip">Version 2.18</a>:</p>
224245
<p class="rel-note">Fixes <code>TextMarker.clear</code>, which is broken in 2.17.</p>
@@ -306,25 +327,6 @@ <h2>Releases:</h2>
306327
<li>Add <a href="demo/fullscreen.html">full-screen editing</a> and <a href="demo/changemode.html">mode-changing</a> demos.</li>
307328
</ul>
308329

309-
<p class="rel">07-06-2011: <a href="http://codemirror.net/codemirror-2.1.zip">Version 2.1</a>:</p>
310-
<p class="rel-note">Add
311-
a <a href="doc/manual.html#option_theme">theme</a> system
312-
(<a href="demo/theme.html">demo</a>). Note that this is not
313-
backwards-compatible—you'll have to update your styles and
314-
modes!</p>
315-
316-
<p class="rel">07-06-2011: <a href="http://codemirror.net/codemirror-2.02.zip">Version 2.02</a>:</p>
317-
<ul class="rel-note">
318-
<li>Add a <a href="mode/lua/index.html">Lua mode</a>.</li>
319-
<li>Fix reverse-searching for a regexp.</li>
320-
<li>Empty lines can no longer break highlighting.</li>
321-
<li>Rework scrolling model (the outer wrapper no longer does the scrolling).</li>
322-
<li>Solve horizontal jittering on long lines.</li>
323-
<li>Add <a href="demo/runmode.html">runmode.js</a>.</li>
324-
<li>Immediately re-highlight text when typing.</li>
325-
<li>Fix problem with 'sticking' horizontal scrollbar.</li>
326-
</ul>
327-
328330
<p><a href="doc/oldrelease.html">Older releases...</a></p>
329331

330332
</div></div>

0 commit comments

Comments
 (0)