liquid_cms 0.3.0.1 → 0.3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. data/CHANGELOG.rdoc +5 -1
  2. data/Gemfile.lock +1 -1
  3. data/README.rdoc +5 -1
  4. data/app/helpers/cms/common_helper.rb +1 -0
  5. data/app/views/cms/pages/_page.html.erb +2 -1
  6. data/app/views/layouts/cms.html.erb +2 -1
  7. data/lib/generators/liquid_cms/templates/public/cms/codemirror/LICENSE +2 -2
  8. data/lib/generators/liquid_cms/templates/public/cms/codemirror/css/csscolors.css +12 -8
  9. data/lib/generators/liquid_cms/templates/public/cms/codemirror/css/docs.css +123 -29
  10. data/lib/generators/liquid_cms/templates/public/cms/codemirror/csstest.html +1 -1
  11. data/lib/generators/liquid_cms/templates/public/cms/codemirror/htmltest.html +1 -1
  12. data/lib/generators/liquid_cms/templates/public/cms/codemirror/index.html +232 -179
  13. data/lib/generators/liquid_cms/templates/public/cms/codemirror/js/codemirror.js +211 -65
  14. data/lib/generators/liquid_cms/templates/public/cms/codemirror/js/editor.js +360 -194
  15. data/lib/generators/liquid_cms/templates/public/cms/codemirror/js/mirrorframe.js +1 -1
  16. data/lib/generators/liquid_cms/templates/public/cms/codemirror/js/parsecss.js +11 -7
  17. data/lib/generators/liquid_cms/templates/public/cms/codemirror/js/parsejavascript.js +14 -5
  18. data/lib/generators/liquid_cms/templates/public/cms/codemirror/js/parsesparql.js +1 -1
  19. data/lib/generators/liquid_cms/templates/public/cms/codemirror/js/select.js +140 -87
  20. data/lib/generators/liquid_cms/templates/public/cms/codemirror/js/stringstream.js +5 -0
  21. data/lib/generators/liquid_cms/templates/public/cms/codemirror/js/tokenizejavascript.js +1 -1
  22. data/lib/generators/liquid_cms/templates/public/cms/codemirror/js/undo.js +7 -7
  23. data/lib/generators/liquid_cms/templates/public/cms/codemirror/manual.html +148 -52
  24. data/lib/generators/liquid_cms/templates/public/cms/codemirror/story.html +631 -614
  25. data/lib/generators/liquid_cms/templates/public/cms/stylesheets/styles.css +7 -7
  26. data/lib/liquid_cms/version.rb +1 -1
  27. metadata +4 -26
  28. data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/lua/LICENSE +0 -32
  29. data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/lua/css/luacolors.css +0 -63
  30. data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/lua/index.html +0 -68
  31. data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/lua/js/parselua.js +0 -253
  32. data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/php/LICENSE +0 -37
  33. data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/php/css/phpcolors.css +0 -114
  34. data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/php/index.html +0 -292
  35. data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/php/js/parsephp.js +0 -371
  36. data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/php/js/parsephphtmlmixed.js +0 -90
  37. data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/php/js/tokenizephp.js +0 -1006
  38. data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/plsql/LICENSE +0 -22
  39. data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/plsql/css/plsqlcolors.css +0 -57
  40. data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/plsql/index.html +0 -67
  41. data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/plsql/js/parseplsql.js +0 -233
  42. data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/python/LICENSE +0 -32
  43. data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/python/css/pythoncolors.css +0 -58
  44. data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/python/index.html +0 -141
  45. data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/python/js/parsepython.js +0 -542
  46. data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/sql/LICENSE +0 -22
  47. data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/sql/css/sqlcolors.css +0 -57
  48. data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/sql/index.html +0 -56
  49. data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/sql/js/parsesql.js +0 -211
@@ -1,192 +1,245 @@
1
- <html xmlns="http://www.w3.org/1999/xhtml">
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
+ <html>
2
3
  <head>
3
- <title>CodeMirror: In-browser code editing</title>
4
-
4
+ <title>CodeMirror</title>
5
5
  <link rel="stylesheet" type="text/css" href="css/docs.css"/>
6
- <style type="text/css">
7
- div.top {text-align: center;}
8
- div.top h1 {margin-bottom: 0;}
9
- div.top h2 {margin-top: 0; margin-bottom: 1.5em;}
10
- div.donate span {cursor: pointer; text-decoration: underline;}
11
- div.donate {font-size: 70%; margin-top: 1em; width: 155px; padding: 10px; border: 1px solid #c44;}
12
- </style>
6
+ <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Droid+Sans|Droid+Sans+Mono|Droid+Sans:bold"/>
7
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
13
8
  </head>
14
9
  <body>
15
10
 
16
- <div class="top">
17
- <h1>CodeMirror</h1>
18
- <h2 class="underline">In-browser code editing made almost bearable</h2>
11
+ <h1><span class="logo-braces">{ }</span> CodeMirror</h1>
12
+
13
+ <pre class="grey">
14
+ /* In-browser code editing
15
+ made almost bearable */
16
+ </pre>
17
+
18
+ <div class="clear"><div class="left blk">
19
+
20
+ <p style="margin-top: 0">CodeMirror is a JavaScript library that can be used to create a
21
+ relatively pleasant editor interface for code-like content &#x2015;
22
+ computer programs, HTML markup, and similar. If a parser has been
23
+ written for the language you are editing (see below for a list of
24
+ supported languages), the code will be coloured, and the editor will
25
+ help you with indentation.</p>
26
+
27
+ <div class="clear"><div class="left1 blk">
28
+
29
+ <h2 style="margin-top: 0">Try the parser test pages:</h2>
30
+
31
+ <ul>
32
+ <li><a href="jstest.html">JavaScript</a></li>
33
+ <li><a href="htmltest.html">XML/HTML</a></li>
34
+ <li><a href="csstest.html">CSS</a></li>
35
+ <li><a href="mixedtest.html">HTML mixed-mode</a></li>
36
+ <li><a href="sparqltest.html">SPARQL</a></li>
37
+ <li><a href="contrib/php/index.html">HTML+PHP mixed-mode</a> (courtesy of <a href="contrib/php/LICENSE">Yahoo!</a>)</li>
38
+ <li><a href="contrib/python/index.html">Python</a> (by <a href="contrib/python/LICENSE">Timothy Farrell</a>)</li>
39
+ <li><a href="contrib/lua/index.html">Lua</a> (by <a href="http://francio.pl/">Franciszek Wawrzak</a>)</li>
40
+ <li><a href="http://github.com/hakunin/ruby-in-codemirror/tree/master">Ruby</a> (by Michal Hantl, unfinished)</li>
41
+ <li><a href="contrib/sql/index.html">SQL</a> (by John Benediktsson)</li>
42
+ <li><a href="contrib/plsql/index.html">PLSQL</a> (by <a href="http://www.oracle-and-apex.com/">Peter Raganitsch</a>)</li>
43
+ <li><a href="http://www.liranuna.com/diff-parser-for-codemirror/">diff</a> (courtesy of <a href="http://www.liranuna.com">Liran Nuna</a>)</li>
44
+ <li><a href="contrib/groovy/index.html">Groovy</a> (by <a href="http://exoplatform.org/">eXo Platform</a>)</li>
45
+ <li><a href="contrib/csharp/index.html">C#</a> (by <a href="http://skilltesting.com/">Boris Gaber and Christopher Buchino</a>)</li>
46
+ <li><a href="contrib/scheme/index.html">Scheme</a> (by <a href="http://hashcollision.org/">Danny Yoo</a>)</li>
47
+ <li><a href="contrib/xquery/index.html">XQuery</a> (by <a href="http://mike.brevoort.com/">Mike Brevoort</a>)</li>
48
+ <li><a href="contrib/ometa/index.html">OmetaJS</a> (by <a href="http://erickedji.wordpress.com/">Eric KEDJI</a>)</li>
49
+ </ul>
50
+
51
+ </div><div class="left2 blk">
52
+
53
+ <h2 style="margin-top: 0">Some real-world uses:</h2>
54
+
55
+ <ul>
56
+ <li><a href="http://kml-samples.googlecode.com/svn/trunk/interactive/index.html">Google Earth KML sampler</a></li>
57
+ <li><a href="http://eloquentjavascript.net/chapter1.html">Eloquent JavaScript's console</a></li>
58
+ <li><a href="http://demo.qooxdoo.org/current/playground/#Hello_World">The qooxdoo playground</a></li>
59
+ <li><a href="http://billmill.org/static/canvastutorial/index.html">A cool tutorial about the &lt;canvas> element</a></li>
60
+ <li><a href="http://orc.csres.utexas.edu/tryorc.shtml">An online IDE for the Orc programming language</a></li>
61
+ <li><a href="http://code.google.com/apis/ajax/playground">Google's API playground</a></li>
62
+ <li><a href="http://craic.com/tutorials/javascript/raphael_live/raphael_live.html">Raphaël Live</a></li>
63
+ <li><a href="http://jsbin.com/">JS Bin</a></li>
64
+ <li><a href="http://www.rockettheme.com/extensions-joomla/rokpad">The RokPad plugin for Joomla</a></li>
65
+ <li><a href="http://scraperwiki.com/editor/">The scraperwiki editor</a></li>
66
+ <li><a href="http://www.linb.net/VisualJS/UIBuilder.html">jsLinb UI Builder</a></li>
67
+ </ul>
68
+
69
+ </div></div>
70
+
71
+ <h2 id="supported">Supported browsers</h2>
72
+
73
+ <p>The following browsers are able to run CodeMirror:</p>
74
+
75
+ <ul>
76
+ <li>Firefox 1.5 or higher</li>
77
+ <li>Internet Explorer 6 or higher</li>
78
+ <li>Safari 3 or higher</li>
79
+ <li>Opera 9.52 or higher</li>
80
+ <li>Chrome</li>
81
+ </ul>
82
+
83
+ <p>I am not actively testing against every new browser release, and
84
+ vendors have a habit of introducing bugs all the time, so I am
85
+ relying on the community to tell me when something breaks. See <a
86
+ href="#support">below</a> for information on how to contact me.</p>
87
+
88
+ <h2 id="code">Getting the code</h2>
89
+
90
+ <p>All of CodeMirror is released under a <a
91
+ href="LICENSE">zlib-style</a> license. To get it, you can download
92
+ the <a href="http://codemirror.net/codemirror.zip">latest
93
+ release</a> or the current <a
94
+ href="http://codemirror.net/codemirror-latest.zip">development
95
+ snapshot</a> as zip files. To create a custom minified script file,
96
+ you can use the <a href="compress.html">compression API</a>.</p>
97
+
98
+ <p>We use <a href="http://git-scm.com/">git</a> for version control.
99
+ The main repository can be fetched in this way:</p>
100
+
101
+ <pre class="code">git clone http://marijn.haverbeke.nl/git/codemirror</pre>
102
+
103
+ <p>CodeMirror can also be found on GitHub: <a
104
+ href="http://github.com/marijnh/CodeMirror">http://github.com/marijnh/CodeMirror</a>.
105
+ If you plan to hack on the code and contribute patches, the best way
106
+ to do it is to create a GitHub fork, and send pull requests.</p>
107
+
108
+ <h2 id="documention">Documentation</h2>
109
+
110
+ <p>The <a href="manual.html">manual</a> is your first stop for
111
+ learning how to use this library. It starts with a quick explanation
112
+ of how to use the editor, and then describes all of the (many)
113
+ options and methods that CodeMirror exposes.</p>
114
+
115
+ <p>For those who want to learn more about the code, <a
116
+ href="story.html">this document</a> about CodeMirror's architecture
117
+ will be useful. The <a
118
+ href="http://github.com/marijnh/CodeMirror">source code</a> itself
119
+ is, for the most part, also very well commented.</p>
120
+
121
+ <h2 id="support">Support</h2>
122
+
123
+ <p>There is a <a
124
+ href="http://groups.google.com/group/codemirror">Google group</a> (a
125
+ sort of mailing list/newsgroup thing) for discussion and news
126
+ related to CodeMirror. Please check the <a href="faq.html">FAQ</a>
127
+ before asking a question. You can also e-mail me directly: <a
128
+ href="mailto:marijnh@gmail.com">Marijn Haverbeke</a>.</p>
129
+
19
130
  </div>
20
- <div style="float: right; padding-left: 10px;">
131
+
132
+ <div class="right blk">
133
+
134
+ <a href="http://codemirror.net/codemirror.zip" class="download">Download the latest release</a>
135
+
136
+ <h2>Make a donation</h2>
137
+
138
+ <ul>
139
+ <li><span onclick="document.getElementById('paypal').submit();" class="quasilink">Paypal</span></li>
140
+ <li><span onclick="document.getElementById('bankinfo').style.display = 'block';" class="quasilink">Bank</span></li>
141
+ </ul>
142
+
143
+ <p id="bankinfo" style="display: none;">
144
+ Bank: <i>Rabobank</i><br/>
145
+ Country: <i>Netherlands</i><br/>
146
+ SWIFT: <i>RABONL2U</i><br/>
147
+ Account: <i>147850770</i><br/>
148
+ Name: <i>Marijn Haverbeke</i><br/>
149
+ IBAN: <i>NL26 RABO 0147 8507 70</i>
150
+ </p>
151
+
152
+ <h2>Releases:</h2>
153
+
154
+ <p class="rel">02-10-2010: <a
155
+ href="http://codemirror.net/codemirror-0.9.zip">Version 0.9</a>:</p>
156
+ <ul class="rel-note">
157
+ <li>Add support for searching backwards.</li>
158
+ <li>There are now parsers for <a href="contrib/scheme/index.html">Scheme</a>, <a href="contrib/xquery/index.html">XQuery</a>, and <a href="contrib/ometa/index.html">OmetaJS</a>.</li>
159
+ <li>Makes <code>height: "dynamic"</code> more robust.</li>
160
+ <li>Fixes bug where paste did not work on OS X.</li>
161
+ <li>Add a <code>enterMode</code> and <code>electricChars</code> options to make indentation even more customizable.</li>
162
+ <li>Add <code>firstLineNumber</code> option.</li>
163
+ <li>Fix bad handling of <code>@media</code> rules by the CSS parser.</li>
164
+ <li>Take a new, more robust approach to working around the invisible-last-line bug in WebKit.</li>
165
+ </ul>
166
+
167
+ <p class="rel">22-07-2010: <a
168
+ href="http://codemirror.net/codemirror-0.8.zip">Version 0.8</a>:</p>
169
+ <ul class="rel-note">
170
+ <li>Add a <code>cursorCoords</code> method to find the screen
171
+ coordinates of the cursor.</li>
172
+ <li>A number of fixes and support for more syntax in the PHP parser.</li>
173
+ <li>Fix indentation problem with JSON-mode JS parser in Webkit.</li>
174
+ <li>Add a <a href="compress.html">minification</a> UI.</li>
175
+ <li>Support a <code>height: dynamic</code> mode, where the editor's
176
+ height will adjust to the size of its content.</li>
177
+ <li>Better support for IME input mode.</li>
178
+ <li>Fix JavaScript parser getting confused when seeing a no-argument
179
+ function call.</li>
180
+ <li>Have CSS parser see the difference between selectors and other
181
+ identifiers.</li>
182
+ <li>Fix scrolling bug when pasting in a horizontally-scrolled
183
+ editor.</li>
184
+ <li>Support <code>toTextArea</code> method in instances created with
185
+ <code>fromTextArea</code>.</li>
186
+ <li>Work around new Opera cursor bug that causes the cursor to jump
187
+ when pressing backspace at the end of a line.</li>
188
+ </ul>
189
+
190
+ <p class="rel">27-04-2010: <a
191
+ href="http://codemirror.net/codemirror-0.67.zip">Version
192
+ 0.67</a>:</p>
193
+ <p class="rel-note">More consistent page-up/page-down behaviour
194
+ across browsers. Fix some issues with hidden editors looping forever
195
+ when line-numbers were enabled. Make PHP parser parse
196
+ <code>"\\"</code> correctly. Have <code>jumpToLine</code> work on
197
+ line handles, and add <code>cursorLine</code> function to fetch the
198
+ line handle where the cursor currently is. Add new
199
+ <code>setStylesheet</code> function to switch style-sheets in a
200
+ running editor.</p>
201
+
202
+ <p class="rel">01-03-2010: <a
203
+ href="http://codemirror.net/codemirror-0.66.zip">Version
204
+ 0.66</a>:</p>
205
+ <p class="rel-note">Adds <code>removeLine</code> method to API.
206
+ Introduces the <a href="contrib/plsql/index.html">PLSQL parser</a>.
207
+ Marks XML errors by adding (rather than replacing) a CSS class, so
208
+ that they can be disabled by modifying their style. Fixes several
209
+ selection bugs, and a number of small glitches.</p>
210
+
211
+ <p class="rel">12-11-2009: <a
212
+ href="http://codemirror.net/codemirror-0.65.zip">Version
213
+ 0.65</a>:</p>
214
+ <p class="rel-note">Add support for having both line-wrapping and
215
+ line-numbers turned on, make paren-highlighting style customisable
216
+ (<code>markParen</code> and <code>unmarkParen</code> config
217
+ options), work around a selection bug that Opera
218
+ <em>re</em>introduced in version 10.</p>
219
+
220
+ <p class="rel">23-10-2009: <a
221
+ href="http://codemirror.net/codemirror-0.64.zip">Version
222
+ 0.64</a>:</p>
223
+
224
+ <p class="rel-note">Solves some issues introduced by the
225
+ paste-handling changes from the previous release. Adds
226
+ <code>setSpellcheck</code>, <code>setTextWrapping</code>,
227
+ <code>setIndentUnit</code>, <code>setUndoDepth</code>,
228
+ <code>setTabMode</code>, and <code>setLineNumbers</code> to
229
+ customise a running editor. Introduces an <a
230
+ href="contrib/sql/index.html">SQL</a> parser. Fixes a few small
231
+ problems in the <a href="contrib/python/index.html">Python</a>
232
+ parser. And, as usual, add workarounds for various newly discovered
233
+ browser incompatibilities.</p>
234
+
235
+ </div></div>
236
+
237
+ <div style="height: 2em">&nbsp;</div>
238
+
21
239
  <form action="https://www.paypal.com/cgi-bin/webscr" method="post" id="paypal">
22
240
  <input type="hidden" name="cmd" value="_s-xclick"/>
23
241
  <input type="hidden" name="hosted_button_id" value="3FVHS5FGUY7CC"/>
24
242
  </form>
25
- <img src="css/people.jpg" alt=""/><br/>
26
- <div class="donate">
27
- Make a donation:
28
- <ul style="margin: 0 2em; padding: 0">
29
- <li><span onclick="document.getElementById('paypal').submit();">Paypal</span></li>
30
- <li><span onclick="document.getElementById('bankinfo').style.display = 'block';">Bank</span></li>
31
- </ul>
32
- <div id="bankinfo" style="display: none; font-size: 80%;">
33
- Bank: <i>Rabobank</i><br/>
34
- Country: <i>Netherlands</i><br/>
35
- SWIFT: <i>RABONL2U</i><br/>
36
- Account: <i>147850770</i><br/>
37
- Name: <i>Marijn Haverbeke</i><br/>
38
- IBAN: <i>NL26 RABO 0147 8507 70</i>
39
- </div>
40
- </div>
41
- </div>
42
-
43
- <p>CodeMirror is a JavaScript library that can be used to create a
44
- relatively pleasant editor interface for code-like content &#x2015;
45
- computer programs, HTML markup, and similar. If a parser has been
46
- written for the language you are editing (see below for a list of
47
- supported languages), the code will be coloured, and the editor will
48
- help you with indentation.</p>
49
-
50
- <p>To get a look at CodeMirror, see the test pages for the various
51
- parsers...</p>
52
-
53
- <ul>
54
- <li><a href="jstest.html">JavaScript</a></li>
55
- <li><a href="htmltest.html">XML/HTML</a></li>
56
- <li><a href="csstest.html">CSS</a></li>
57
- <li><a href="sparqltest.html">SPARQL</a></li>
58
- <li><a href="mixedtest.html">HTML mixed-mode</a></li>
59
- <li><a href="contrib/php/index.html">HTML+PHP mixed-mode</a> (courtesy of <a href="contrib/php/LICENSE">Yahoo!</a>)</li>
60
- <li><a href="contrib/python/index.html">Python</a> (courtesy of <a href="contrib/python/LICENSE">Timothy Farrell</a>)</li>
61
- <li><a href="contrib/lua/index.html">Lua</a> (courtesy of <a href="http://francio.pl/">Franciszek Wawrzak</a>)</li>
62
- <li><a href="http://d.hantl.cz/d/ruby-in-codemirror/">Ruby</a> (by Michal Hantl, <a href="http://github.com/hakunin/ruby-in-codemirror/tree/master">unfinished</a>)</li>
63
- <li><a href="contrib/sql/index.html">SQL</a> (courtesy of John Benediktsson)</li>
64
- <li><a href="contrib/plsql/index.html">PLSQL</a> (courtesy of <a href="http://www.oracle-and-apex.com/">Peter Raganitsch</a>)</li>
65
- <li><a href="http://www.liranuna.com/diff-parser-for-codemirror/">diff</a> (courtesy of <a href="http://www.liranuna.com">Liran Nuna</a>)</li>
66
- </ul>
67
-
68
- <p>Or take a look at some real-world uses of the system...</p>
69
-
70
- <ul>
71
- <li><a href="http://kml-samples.googlecode.com/svn/trunk/interactive/index.html">Google Earth KML sampler</a></li>
72
- <li><a href="http://eloquentjavascript.net/chapter1.html">Eloquent JavaScript's console</a></li>
73
- <li><a href="http://demo.qooxdoo.org/current/playground/#Hello_World">The qooxdoo playground</a></li>
74
- <li><a href="http://billmill.org/static/canvastutorial/index.html">A cool tutorial about the &lt;canvas> element</a></li>
75
- <li><a href="http://orc.csres.utexas.edu/tryorc.shtml">An online IDE for the Orc programming language</a></li>
76
- <li><a href="http://code.google.com/apis/ajax/playground">Google's API playground</a></li>
77
- <li><a href="http://dev.freebaseapps.com/">Freebase's Acre IDE</a></li>
78
- <li><a href="http://jsbin.com/">JS Bin</a></li>
79
- </ul>
80
-
81
- <h2>Releases</h2>
82
-
83
- <p class="rel"><em>01-03-2010</em>: <a
84
- href="http://marijn.haverbeke.nl/codemirror/codemirror-0.66.zip">Version
85
- 0.66</a>: Adds <code>removeLine</code> method to API. Introduces the
86
- <a href="contrib/plsql/index.html">PLSQL parser</a>. Marks XML errors
87
- by adding (rather than replacing) a CSS class, so that they can be
88
- disabled by modifying their style. Fixes several selection bugs, and a
89
- number of small glitches.</p>
90
-
91
- <p class="rel"><em>12-11-2009</em>: <a
92
- href="http://marijn.haverbeke.nl/codemirror/codemirror-0.65.zip">Version
93
- 0.65</a>: Add support for having both line-wrapping and line-numbers
94
- turned on, make paren-highlighting style customisable
95
- (<code>markParen</code> and <code>unmarkParen</code> config options),
96
- work around a selection bug that Opera <em>re</em>introduced in
97
- version 10.</p>
98
-
99
- <p class="rel"><em>23-10-2009</em>: <a
100
- href="http://marijn.haverbeke.nl/codemirror/codemirror-0.64.zip">Version
101
- 0.64</a>: Solves some issues introduced by the paste-handling changes
102
- from the previous release. Adds <code>setSpellcheck</code>,
103
- <code>setTextWrapping</code>, <code>setIndentUnit</code>,
104
- <code>setUndoDepth</code>, <code>setTabMode</code>, and
105
- <code>setLineNumbers</code> to customise a running editor. Introduces
106
- an <a href="contrib/sql/index.html">SQL</a> parser. Fixes a few small
107
- problems in the <a href="contrib/python/index.html">Python</a> parser.
108
- And, as usual, add workarounds for various newly discovered browser
109
- incompatibilities.</p>
110
-
111
- <p class="rel"><em>31-08-2009</em>: <a
112
- href="http://marijn.haverbeke.nl/codemirror/codemirror-0.63.zip">Version
113
- 0.63</a>: Overhaul of paste-handling (less fragile), fixes for several
114
- serious IE8 issues (cursor jumping, end-of-document bugs) and a number
115
- of small problems.</p>
116
-
117
- <p class="rel"><em>30-05-2009</em>: <a
118
- href="http://marijn.haverbeke.nl/codemirror/codemirror-0.62.zip">Version
119
- 0.62</a>: Introduces <a href="contrib/python/index.html">Python</a>
120
- and <a href="contrib/lua/index.html">Lua</a> parsers. Add
121
- <code>setParser</code> (on-the-fly mode changing) and
122
- <code>clearHistory</code> methods. Make parsing passes time-based
123
- instead of lines-based (see the <code>passTime</code> option).</p>
124
-
125
- <p class="rel"><em>04-03-2009</em>: <a
126
- href="http://marijn.haverbeke.nl/codemirror/codemirror-0.61.zip">Version
127
- 0.61</a>: Add line numbers support (see <code>lineNumbers</code>
128
- option in <a href="manual.html">manual</a>). Support a mode where tab
129
- 'shifts' indentation instead of resetting it (see
130
- <code>tabMode="shift"</code>). Add <code>indentUnit</code> option to
131
- configure indentation depths. Make it possible to grab the editor's
132
- keyboard input, which is useful when popping up dialogs (see
133
- <code>grabKeys</code>/<code>ungrabKeys</code>). Fix a lot of small
134
- bugs, among which the various issues related to pasting in Internet
135
- Explorer.</p>
136
-
137
- <h2 id="supported">Supported browsers</h2>
138
-
139
- <p>At this time, the following browsers are supported:</p>
140
-
141
- <ul>
142
- <li>Firefox 1.5 or higher</li>
143
- <li>Internet Explorer 6 or higher</li>
144
- <li>Safari 3 or higher</li>
145
- <li>Opera 9.52 or higher</li>
146
- <li>Chrome</li>
147
- </ul>
148
-
149
- <p>Making it work on other browsers that have decent support for the
150
- W3C DOM model should not be too hard, but I am not actively testing
151
- against those.</p>
152
-
153
- <h2>Getting the code</h2>
154
-
155
- <p>All of CodeMirror is released under a <a
156
- href="LICENSE">zlib-style</a> license. To get it, you can download the
157
- <a href="http://marijn.haverbeke.nl/codemirror/codemirror.zip">latest
158
- release</a> or the current <a
159
- href="http://marijn.haverbeke.nl/codemirror/codemirror-latest.zip">development
160
- snapshot</a> as zip files, or use <a
161
- href="http://git-scm.com/">git</a> to get the repository:</p>
162
-
163
- <pre class="code">git clone http://marijn.haverbeke.nl/codemirror/.git</pre>
164
-
165
- <p>This second method is recommended if you are planning to hack on
166
- CodeMirror &#x2015; it makes it easy to record your patches and share
167
- them with me. CodeMirror can also be found on GitHub: <a
168
- href="http://github.com/marijnh/CodeMirror">http://github.com/marijnh/CodeMirror</a>.</p>
169
-
170
- <h2>Support</h2>
171
-
172
- <p>There is a <a
173
- href="http://groups.google.com/group/codemirror">Google group</a> (a
174
- sort of mailing list/newsgroup thingy) for discussion and news related
175
- to CodeMirror. You can also e-mail me directly: <a
176
- href="mailto:marijnh@gmail.com">Marijn Haverbeke</a>.</p>
177
-
178
- <h2>Documentation</h2>
179
-
180
- <ul>
181
- <li>The <a href="manual.html">manual</a> is all most users will need
182
- to read (or skim).</li>
183
- <li>If you're interested in working on the code, <a
184
- href="story.html">this document</a> about CodeMirror's architecture
185
- will be useful.</li>
186
- <li>The <a href="http://github.com/marijnh/CodeMirror">source
187
- code</a> is, for the most part, rather well commented, so if all
188
- else fails, you can try reading it.</li>
189
- </ul>
190
243
 
191
244
  </body>
192
245
  </html>