poly-cms 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (460) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +10 -0
  3. data/Gemfile +27 -0
  4. data/Gemfile.lock +95 -0
  5. data/README.md +3 -0
  6. data/Rakefile +45 -0
  7. data/bin/poly +88 -0
  8. data/config.ru +3 -0
  9. data/core/admin/assets/images/icons/cache-clear.svg +11 -0
  10. data/core/admin/assets/images/icons/delete-dark.svg +10 -0
  11. data/core/admin/assets/images/icons/delete.svg +10 -0
  12. data/core/admin/assets/images/icons/handle.svg +12 -0
  13. data/core/admin/assets/images/icons/logout.svg +13 -0
  14. data/core/admin/assets/images/icons/move.svg +10 -0
  15. data/core/admin/assets/images/icons/new.svg +9 -0
  16. data/core/admin/assets/images/icons/prompt.svg +11 -0
  17. data/core/admin/assets/images/icons/refresh.svg +40 -0
  18. data/core/admin/assets/images/icons/save.svg +7 -0
  19. data/core/admin/assets/images/poly-small-boxed.svg +51 -0
  20. data/core/admin/assets/images/poly-small.svg +52 -0
  21. data/core/admin/assets/images/poly.svg +36 -0
  22. data/core/admin/assets/js/app/file-ext.js +15 -0
  23. data/core/admin/assets/js/app/views/editor.js +300 -0
  24. data/core/admin/assets/js/app/views/git.js +65 -0
  25. data/core/admin/assets/js/app/views/main.js +59 -0
  26. data/core/admin/assets/js/main.js +44 -0
  27. data/core/admin/assets/js/routes.js +25 -0
  28. data/core/admin/assets/js/vendor/backbone.js +4 -0
  29. data/core/admin/assets/js/vendor/codemirror/.gitattributes +8 -0
  30. data/core/admin/assets/js/vendor/codemirror/.gitignore +6 -0
  31. data/core/admin/assets/js/vendor/codemirror/.travis.yml +3 -0
  32. data/core/admin/assets/js/vendor/codemirror/addon/comment/comment.js +145 -0
  33. data/core/admin/assets/js/vendor/codemirror/addon/comment/continuecomment.js +54 -0
  34. data/core/admin/assets/js/vendor/codemirror/addon/dialog/dialog.css +32 -0
  35. data/core/admin/assets/js/vendor/codemirror/addon/dialog/dialog.js +80 -0
  36. data/core/admin/assets/js/vendor/codemirror/addon/display/fullscreen.css +6 -0
  37. data/core/admin/assets/js/vendor/codemirror/addon/display/fullscreen.js +30 -0
  38. data/core/admin/assets/js/vendor/codemirror/addon/display/placeholder.js +54 -0
  39. data/core/admin/assets/js/vendor/codemirror/addon/edit/closebrackets.js +82 -0
  40. data/core/admin/assets/js/vendor/codemirror/addon/edit/closetag.js +87 -0
  41. data/core/admin/assets/js/vendor/codemirror/addon/edit/continuelist.js +25 -0
  42. data/core/admin/assets/js/vendor/codemirror/addon/edit/matchbrackets.js +86 -0
  43. data/core/admin/assets/js/vendor/codemirror/addon/edit/matchtags.js +56 -0
  44. data/core/admin/assets/js/vendor/codemirror/addon/edit/trailingspace.js +15 -0
  45. data/core/admin/assets/js/vendor/codemirror/addon/fold/brace-fold.js +93 -0
  46. data/core/admin/assets/js/vendor/codemirror/addon/fold/comment-fold.js +40 -0
  47. data/core/admin/assets/js/vendor/codemirror/addon/fold/foldcode.js +75 -0
  48. data/core/admin/assets/js/vendor/codemirror/addon/fold/foldgutter.css +21 -0
  49. data/core/admin/assets/js/vendor/codemirror/addon/fold/foldgutter.js +124 -0
  50. data/core/admin/assets/js/vendor/codemirror/addon/fold/indent-fold.js +26 -0
  51. data/core/admin/assets/js/vendor/codemirror/addon/fold/xml-fold.js +167 -0
  52. data/core/admin/assets/js/vendor/codemirror/addon/hint/anyword-hint.js +34 -0
  53. data/core/admin/assets/js/vendor/codemirror/addon/hint/css-hint.js +50 -0
  54. data/core/admin/assets/js/vendor/codemirror/addon/hint/html-hint.js +337 -0
  55. data/core/admin/assets/js/vendor/codemirror/addon/hint/javascript-hint.js +130 -0
  56. data/core/admin/assets/js/vendor/codemirror/addon/hint/pig-hint.js +121 -0
  57. data/core/admin/assets/js/vendor/codemirror/addon/hint/python-hint.js +95 -0
  58. data/core/admin/assets/js/vendor/codemirror/addon/hint/show-hint.css +38 -0
  59. data/core/admin/assets/js/vendor/codemirror/addon/hint/show-hint.js +274 -0
  60. data/core/admin/assets/js/vendor/codemirror/addon/hint/sql-hint.js +105 -0
  61. data/core/admin/assets/js/vendor/codemirror/addon/hint/xml-hint.js +69 -0
  62. data/core/admin/assets/js/vendor/codemirror/addon/lint/coffeescript-lint.js +27 -0
  63. data/core/admin/assets/js/vendor/codemirror/addon/lint/css-lint.js +19 -0
  64. data/core/admin/assets/js/vendor/codemirror/addon/lint/javascript-lint.js +126 -0
  65. data/core/admin/assets/js/vendor/codemirror/addon/lint/json-lint.js +17 -0
  66. data/core/admin/assets/js/vendor/codemirror/addon/lint/lint.css +73 -0
  67. data/core/admin/assets/js/vendor/codemirror/addon/lint/lint.js +203 -0
  68. data/core/admin/assets/js/vendor/codemirror/addon/merge/dep/diff_match_patch.js +50 -0
  69. data/core/admin/assets/js/vendor/codemirror/addon/merge/merge.css +92 -0
  70. data/core/admin/assets/js/vendor/codemirror/addon/merge/merge.js +474 -0
  71. data/core/admin/assets/js/vendor/codemirror/addon/mode/loadmode.js +51 -0
  72. data/core/admin/assets/js/vendor/codemirror/addon/mode/multiplex.js +101 -0
  73. data/core/admin/assets/js/vendor/codemirror/addon/mode/multiplex_test.js +30 -0
  74. data/core/admin/assets/js/vendor/codemirror/addon/mode/overlay.js +59 -0
  75. data/core/admin/assets/js/vendor/codemirror/addon/runmode/colorize.js +29 -0
  76. data/core/admin/assets/js/vendor/codemirror/addon/runmode/runmode-standalone.js +136 -0
  77. data/core/admin/assets/js/vendor/codemirror/addon/runmode/runmode.js +56 -0
  78. data/core/admin/assets/js/vendor/codemirror/addon/runmode/runmode.node.js +103 -0
  79. data/core/admin/assets/js/vendor/codemirror/addon/scroll/scrollpastend.js +34 -0
  80. data/core/admin/assets/js/vendor/codemirror/addon/search/match-highlighter.js +91 -0
  81. data/core/admin/assets/js/vendor/codemirror/addon/search/search.js +133 -0
  82. data/core/admin/assets/js/vendor/codemirror/addon/search/searchcursor.js +143 -0
  83. data/core/admin/assets/js/vendor/codemirror/addon/selection/active-line.js +39 -0
  84. data/core/admin/assets/js/vendor/codemirror/addon/selection/mark-selection.js +108 -0
  85. data/core/admin/assets/js/vendor/codemirror/addon/tern/tern.css +85 -0
  86. data/core/admin/assets/js/vendor/codemirror/addon/tern/tern.js +632 -0
  87. data/core/admin/assets/js/vendor/codemirror/addon/tern/worker.js +41 -0
  88. data/core/admin/assets/js/vendor/codemirror/addon/wrap/hardwrap.js +99 -0
  89. data/core/admin/assets/js/vendor/codemirror/bin/authors.sh +6 -0
  90. data/core/admin/assets/js/vendor/codemirror/bin/compress +92 -0
  91. data/core/admin/assets/js/vendor/codemirror/bin/lint +16 -0
  92. data/core/admin/assets/js/vendor/codemirror/bin/source-highlight +61 -0
  93. data/core/admin/assets/js/vendor/codemirror/bower.json +15 -0
  94. data/core/admin/assets/js/vendor/codemirror/demo/activeline.html +78 -0
  95. data/core/admin/assets/js/vendor/codemirror/demo/anywordhint.html +79 -0
  96. data/core/admin/assets/js/vendor/codemirror/demo/bidi.html +74 -0
  97. data/core/admin/assets/js/vendor/codemirror/demo/btree.html +86 -0
  98. data/core/admin/assets/js/vendor/codemirror/demo/buffers.html +109 -0
  99. data/core/admin/assets/js/vendor/codemirror/demo/changemode.html +59 -0
  100. data/core/admin/assets/js/vendor/codemirror/demo/closebrackets.html +63 -0
  101. data/core/admin/assets/js/vendor/codemirror/demo/closetag.html +40 -0
  102. data/core/admin/assets/js/vendor/codemirror/demo/complete.html +80 -0
  103. data/core/admin/assets/js/vendor/codemirror/demo/emacs.html +75 -0
  104. data/core/admin/assets/js/vendor/codemirror/demo/folding.html +75 -0
  105. data/core/admin/assets/js/vendor/codemirror/demo/fullscreen.html +130 -0
  106. data/core/admin/assets/js/vendor/codemirror/demo/hardwrap.html +69 -0
  107. data/core/admin/assets/js/vendor/codemirror/demo/html5complete.html +54 -0
  108. data/core/admin/assets/js/vendor/codemirror/demo/indentwrap.html +58 -0
  109. data/core/admin/assets/js/vendor/codemirror/demo/lint.html +171 -0
  110. data/core/admin/assets/js/vendor/codemirror/demo/loadmode.html +49 -0
  111. data/core/admin/assets/js/vendor/codemirror/demo/marker.html +52 -0
  112. data/core/admin/assets/js/vendor/codemirror/demo/markselection.html +45 -0
  113. data/core/admin/assets/js/vendor/codemirror/demo/matchhighlighter.html +47 -0
  114. data/core/admin/assets/js/vendor/codemirror/demo/matchtags.html +49 -0
  115. data/core/admin/assets/js/vendor/codemirror/demo/merge.html +82 -0
  116. data/core/admin/assets/js/vendor/codemirror/demo/multiplex.html +75 -0
  117. data/core/admin/assets/js/vendor/codemirror/demo/mustache.html +68 -0
  118. data/core/admin/assets/js/vendor/codemirror/demo/placeholder.html +45 -0
  119. data/core/admin/assets/js/vendor/codemirror/demo/preview.html +88 -0
  120. data/core/admin/assets/js/vendor/codemirror/demo/resize.html +58 -0
  121. data/core/admin/assets/js/vendor/codemirror/demo/runmode.html +62 -0
  122. data/core/admin/assets/js/vendor/codemirror/demo/search.html +94 -0
  123. data/core/admin/assets/js/vendor/codemirror/demo/spanaffectswrapping_shim.html +85 -0
  124. data/core/admin/assets/js/vendor/codemirror/demo/tern.html +128 -0
  125. data/core/admin/assets/js/vendor/codemirror/demo/theme.html +121 -0
  126. data/core/admin/assets/js/vendor/codemirror/demo/trailingspace.html +48 -0
  127. data/core/admin/assets/js/vendor/codemirror/demo/variableheight.html +61 -0
  128. data/core/admin/assets/js/vendor/codemirror/demo/vim.html +74 -0
  129. data/core/admin/assets/js/vendor/codemirror/demo/visibletabs.html +62 -0
  130. data/core/admin/assets/js/vendor/codemirror/demo/widget.html +85 -0
  131. data/core/admin/assets/js/vendor/codemirror/demo/xmlcomplete.html +116 -0
  132. data/core/admin/assets/js/vendor/codemirror/doc/activebookmark.js +42 -0
  133. data/core/admin/assets/js/vendor/codemirror/doc/compress.html +231 -0
  134. data/core/admin/assets/js/vendor/codemirror/doc/docs.css +226 -0
  135. data/core/admin/assets/js/vendor/codemirror/doc/internals.html +503 -0
  136. data/core/admin/assets/js/vendor/codemirror/doc/logo.png +0 -0
  137. data/core/admin/assets/js/vendor/codemirror/doc/logo.svg +147 -0
  138. data/core/admin/assets/js/vendor/codemirror/doc/manual.html +2512 -0
  139. data/core/admin/assets/js/vendor/codemirror/doc/realworld.html +134 -0
  140. data/core/admin/assets/js/vendor/codemirror/doc/releases.html +779 -0
  141. data/core/admin/assets/js/vendor/codemirror/doc/reporting.html +61 -0
  142. data/core/admin/assets/js/vendor/codemirror/doc/upgrade_v2.2.html +96 -0
  143. data/core/admin/assets/js/vendor/codemirror/doc/upgrade_v3.html +230 -0
  144. data/core/admin/assets/js/vendor/codemirror/index.html +192 -0
  145. data/core/admin/assets/js/vendor/codemirror/keymap/emacs.js +387 -0
  146. data/core/admin/assets/js/vendor/codemirror/keymap/extra.js +43 -0
  147. data/core/admin/assets/js/vendor/codemirror/keymap/vim.js +3704 -0
  148. data/core/admin/assets/js/vendor/codemirror/lib/codemirror.css +263 -0
  149. data/core/admin/assets/js/vendor/codemirror/lib/codemirror.js +5910 -0
  150. data/core/admin/assets/js/vendor/codemirror/mode/apl/apl.js +160 -0
  151. data/core/admin/assets/js/vendor/codemirror/mode/apl/index.html +72 -0
  152. data/core/admin/assets/js/vendor/codemirror/mode/asterisk/asterisk.js +183 -0
  153. data/core/admin/assets/js/vendor/codemirror/mode/asterisk/index.html +154 -0
  154. data/core/admin/assets/js/vendor/codemirror/mode/clike/clike.js +362 -0
  155. data/core/admin/assets/js/vendor/codemirror/mode/clike/index.html +195 -0
  156. data/core/admin/assets/js/vendor/codemirror/mode/clike/scala.html +767 -0
  157. data/core/admin/assets/js/vendor/codemirror/mode/clojure/clojure.js +224 -0
  158. data/core/admin/assets/js/vendor/codemirror/mode/clojure/index.html +88 -0
  159. data/core/admin/assets/js/vendor/codemirror/mode/cobol/cobol.js +240 -0
  160. data/core/admin/assets/js/vendor/codemirror/mode/cobol/index.html +210 -0
  161. data/core/admin/assets/js/vendor/codemirror/mode/coffeescript/coffeescript.js +349 -0
  162. data/core/admin/assets/js/vendor/codemirror/mode/coffeescript/index.html +740 -0
  163. data/core/admin/assets/js/vendor/codemirror/mode/commonlisp/commonlisp.js +105 -0
  164. data/core/admin/assets/js/vendor/codemirror/mode/commonlisp/index.html +177 -0
  165. data/core/admin/assets/js/vendor/codemirror/mode/css/css.js +639 -0
  166. data/core/admin/assets/js/vendor/codemirror/mode/css/index.html +70 -0
  167. data/core/admin/assets/js/vendor/codemirror/mode/css/scss.html +157 -0
  168. data/core/admin/assets/js/vendor/codemirror/mode/css/scss_test.js +84 -0
  169. data/core/admin/assets/js/vendor/codemirror/mode/css/test.js +130 -0
  170. data/core/admin/assets/js/vendor/codemirror/mode/d/d.js +205 -0
  171. data/core/admin/assets/js/vendor/codemirror/mode/d/index.html +273 -0
  172. data/core/admin/assets/js/vendor/codemirror/mode/diff/diff.js +32 -0
  173. data/core/admin/assets/js/vendor/codemirror/mode/diff/index.html +117 -0
  174. data/core/admin/assets/js/vendor/codemirror/mode/dtd/dtd.js +127 -0
  175. data/core/admin/assets/js/vendor/codemirror/mode/dtd/index.html +89 -0
  176. data/core/admin/assets/js/vendor/codemirror/mode/ecl/ecl.js +192 -0
  177. data/core/admin/assets/js/vendor/codemirror/mode/ecl/index.html +52 -0
  178. data/core/admin/assets/js/vendor/codemirror/mode/eiffel/eiffel.js +147 -0
  179. data/core/admin/assets/js/vendor/codemirror/mode/eiffel/index.html +430 -0
  180. data/core/admin/assets/js/vendor/codemirror/mode/erlang/erlang.js +484 -0
  181. data/core/admin/assets/js/vendor/codemirror/mode/erlang/index.html +75 -0
  182. data/core/admin/assets/js/vendor/codemirror/mode/fortran/fortran.js +173 -0
  183. data/core/admin/assets/js/vendor/codemirror/mode/fortran/index.html +81 -0
  184. data/core/admin/assets/js/vendor/codemirror/mode/gas/gas.js +330 -0
  185. data/core/admin/assets/js/vendor/codemirror/mode/gas/index.html +68 -0
  186. data/core/admin/assets/js/vendor/codemirror/mode/gfm/gfm.js +97 -0
  187. data/core/admin/assets/js/vendor/codemirror/mode/gfm/index.html +82 -0
  188. data/core/admin/assets/js/vendor/codemirror/mode/gfm/test.js +112 -0
  189. data/core/admin/assets/js/vendor/codemirror/mode/gherkin/gherkin.js +168 -0
  190. data/core/admin/assets/js/vendor/codemirror/mode/gherkin/index.html +48 -0
  191. data/core/admin/assets/js/vendor/codemirror/mode/go/go.js +168 -0
  192. data/core/admin/assets/js/vendor/codemirror/mode/go/index.html +85 -0
  193. data/core/admin/assets/js/vendor/codemirror/mode/groovy/groovy.js +211 -0
  194. data/core/admin/assets/js/vendor/codemirror/mode/groovy/index.html +84 -0
  195. data/core/admin/assets/js/vendor/codemirror/mode/haml/haml.js +153 -0
  196. data/core/admin/assets/js/vendor/codemirror/mode/haml/index.html +79 -0
  197. data/core/admin/assets/js/vendor/codemirror/mode/haml/test.js +94 -0
  198. data/core/admin/assets/js/vendor/codemirror/mode/haskell/haskell.js +250 -0
  199. data/core/admin/assets/js/vendor/codemirror/mode/haskell/index.html +73 -0
  200. data/core/admin/assets/js/vendor/codemirror/mode/haxe/haxe.js +429 -0
  201. data/core/admin/assets/js/vendor/codemirror/mode/haxe/index.html +103 -0
  202. data/core/admin/assets/js/vendor/codemirror/mode/htmlembedded/htmlembedded.js +73 -0
  203. data/core/admin/assets/js/vendor/codemirror/mode/htmlembedded/index.html +60 -0
  204. data/core/admin/assets/js/vendor/codemirror/mode/htmlmixed/htmlmixed.js +104 -0
  205. data/core/admin/assets/js/vendor/codemirror/mode/htmlmixed/index.html +85 -0
  206. data/core/admin/assets/js/vendor/codemirror/mode/http/http.js +98 -0
  207. data/core/admin/assets/js/vendor/codemirror/mode/http/index.html +45 -0
  208. data/core/admin/assets/js/vendor/codemirror/mode/index.html +112 -0
  209. data/core/admin/assets/js/vendor/codemirror/mode/jade/index.html +66 -0
  210. data/core/admin/assets/js/vendor/codemirror/mode/jade/jade.js +90 -0
  211. data/core/admin/assets/js/vendor/codemirror/mode/javascript/index.html +107 -0
  212. data/core/admin/assets/js/vendor/codemirror/mode/javascript/javascript.js +480 -0
  213. data/core/admin/assets/js/vendor/codemirror/mode/javascript/test.js +10 -0
  214. data/core/admin/assets/js/vendor/codemirror/mode/javascript/typescript.html +61 -0
  215. data/core/admin/assets/js/vendor/codemirror/mode/jinja2/index.html +50 -0
  216. data/core/admin/assets/js/vendor/codemirror/mode/jinja2/jinja2.js +42 -0
  217. data/core/admin/assets/js/vendor/codemirror/mode/less/index.html +753 -0
  218. data/core/admin/assets/js/vendor/codemirror/mode/less/less.js +344 -0
  219. data/core/admin/assets/js/vendor/codemirror/mode/livescript/index.html +459 -0
  220. data/core/admin/assets/js/vendor/codemirror/mode/livescript/livescript.js +267 -0
  221. data/core/admin/assets/js/vendor/codemirror/mode/livescript/livescript.ls +266 -0
  222. data/core/admin/assets/js/vendor/codemirror/mode/lua/index.html +86 -0
  223. data/core/admin/assets/js/vendor/codemirror/mode/lua/lua.js +144 -0
  224. data/core/admin/assets/js/vendor/codemirror/mode/markdown/index.html +359 -0
  225. data/core/admin/assets/js/vendor/codemirror/mode/markdown/markdown.js +551 -0
  226. data/core/admin/assets/js/vendor/codemirror/mode/markdown/test.js +656 -0
  227. data/core/admin/assets/js/vendor/codemirror/mode/meta.js +89 -0
  228. data/core/admin/assets/js/vendor/codemirror/mode/mirc/index.html +161 -0
  229. data/core/admin/assets/js/vendor/codemirror/mode/mirc/mirc.js +177 -0
  230. data/core/admin/assets/js/vendor/codemirror/mode/nginx/index.html +181 -0
  231. data/core/admin/assets/js/vendor/codemirror/mode/nginx/nginx.js +163 -0
  232. data/core/admin/assets/js/vendor/codemirror/mode/ntriples/index.html +45 -0
  233. data/core/admin/assets/js/vendor/codemirror/mode/ntriples/ntriples.js +170 -0
  234. data/core/admin/assets/js/vendor/codemirror/mode/ocaml/index.html +146 -0
  235. data/core/admin/assets/js/vendor/codemirror/mode/ocaml/ocaml.js +116 -0
  236. data/core/admin/assets/js/vendor/codemirror/mode/octave/index.html +95 -0
  237. data/core/admin/assets/js/vendor/codemirror/mode/octave/octave.js +118 -0
  238. data/core/admin/assets/js/vendor/codemirror/mode/pascal/index.html +61 -0
  239. data/core/admin/assets/js/vendor/codemirror/mode/pascal/pascal.js +94 -0
  240. data/core/admin/assets/js/vendor/codemirror/mode/perl/index.html +75 -0
  241. data/core/admin/assets/js/vendor/codemirror/mode/perl/perl.js +816 -0
  242. data/core/admin/assets/js/vendor/codemirror/mode/php/index.html +62 -0
  243. data/core/admin/assets/js/vendor/codemirror/mode/php/php.js +132 -0
  244. data/core/admin/assets/js/vendor/codemirror/mode/pig/index.html +55 -0
  245. data/core/admin/assets/js/vendor/codemirror/mode/pig/pig.js +171 -0
  246. data/core/admin/assets/js/vendor/codemirror/mode/properties/index.html +53 -0
  247. data/core/admin/assets/js/vendor/codemirror/mode/properties/properties.js +63 -0
  248. data/core/admin/assets/js/vendor/codemirror/mode/python/index.html +187 -0
  249. data/core/admin/assets/js/vendor/codemirror/mode/python/python.js +368 -0
  250. data/core/admin/assets/js/vendor/codemirror/mode/q/index.html +144 -0
  251. data/core/admin/assets/js/vendor/codemirror/mode/q/q.js +124 -0
  252. data/core/admin/assets/js/vendor/codemirror/mode/r/index.html +86 -0
  253. data/core/admin/assets/js/vendor/codemirror/mode/r/r.js +141 -0
  254. data/core/admin/assets/js/vendor/codemirror/mode/rpm/changes/changes.js +19 -0
  255. data/core/admin/assets/js/vendor/codemirror/mode/rpm/changes/index.html +67 -0
  256. data/core/admin/assets/js/vendor/codemirror/mode/rpm/spec/index.html +114 -0
  257. data/core/admin/assets/js/vendor/codemirror/mode/rpm/spec/spec.css +5 -0
  258. data/core/admin/assets/js/vendor/codemirror/mode/rpm/spec/spec.js +66 -0
  259. data/core/admin/assets/js/vendor/codemirror/mode/rst/index.html +534 -0
  260. data/core/admin/assets/js/vendor/codemirror/mode/rst/rst.js +560 -0
  261. data/core/admin/assets/js/vendor/codemirror/mode/ruby/index.html +185 -0
  262. data/core/admin/assets/js/vendor/codemirror/mode/ruby/ruby.js +247 -0
  263. data/core/admin/assets/js/vendor/codemirror/mode/rust/index.html +61 -0
  264. data/core/admin/assets/js/vendor/codemirror/mode/rust/rust.js +436 -0
  265. data/core/admin/assets/js/vendor/codemirror/mode/sass/index.html +66 -0
  266. data/core/admin/assets/js/vendor/codemirror/mode/sass/sass.js +330 -0
  267. data/core/admin/assets/js/vendor/codemirror/mode/scheme/index.html +77 -0
  268. data/core/admin/assets/js/vendor/codemirror/mode/scheme/scheme.js +232 -0
  269. data/core/admin/assets/js/vendor/codemirror/mode/shell/index.html +66 -0
  270. data/core/admin/assets/js/vendor/codemirror/mode/shell/shell.js +118 -0
  271. data/core/admin/assets/js/vendor/codemirror/mode/sieve/index.html +93 -0
  272. data/core/admin/assets/js/vendor/codemirror/mode/sieve/sieve.js +183 -0
  273. data/core/admin/assets/js/vendor/codemirror/mode/smalltalk/index.html +68 -0
  274. data/core/admin/assets/js/vendor/codemirror/mode/smalltalk/smalltalk.js +151 -0
  275. data/core/admin/assets/js/vendor/codemirror/mode/smarty/index.html +136 -0
  276. data/core/admin/assets/js/vendor/codemirror/mode/smarty/smarty.js +205 -0
  277. data/core/admin/assets/js/vendor/codemirror/mode/smartymixed/index.html +114 -0
  278. data/core/admin/assets/js/vendor/codemirror/mode/smartymixed/smartymixed.js +175 -0
  279. data/core/admin/assets/js/vendor/codemirror/mode/sparql/index.html +54 -0
  280. data/core/admin/assets/js/vendor/codemirror/mode/sparql/sparql.js +145 -0
  281. data/core/admin/assets/js/vendor/codemirror/mode/sql/index.html +75 -0
  282. data/core/admin/assets/js/vendor/codemirror/mode/sql/sql.js +365 -0
  283. data/core/admin/assets/js/vendor/codemirror/mode/stex/index.html +110 -0
  284. data/core/admin/assets/js/vendor/codemirror/mode/stex/stex.js +246 -0
  285. data/core/admin/assets/js/vendor/codemirror/mode/stex/test.js +120 -0
  286. data/core/admin/assets/js/vendor/codemirror/mode/tcl/index.html +143 -0
  287. data/core/admin/assets/js/vendor/codemirror/mode/tcl/tcl.js +131 -0
  288. data/core/admin/assets/js/vendor/codemirror/mode/tiddlywiki/index.html +155 -0
  289. data/core/admin/assets/js/vendor/codemirror/mode/tiddlywiki/tiddlywiki.css +14 -0
  290. data/core/admin/assets/js/vendor/codemirror/mode/tiddlywiki/tiddlywiki.js +353 -0
  291. data/core/admin/assets/js/vendor/codemirror/mode/tiki/index.html +95 -0
  292. data/core/admin/assets/js/vendor/codemirror/mode/tiki/tiki.css +26 -0
  293. data/core/admin/assets/js/vendor/codemirror/mode/tiki/tiki.js +308 -0
  294. data/core/admin/assets/js/vendor/codemirror/mode/toml/index.html +73 -0
  295. data/core/admin/assets/js/vendor/codemirror/mode/toml/toml.js +71 -0
  296. data/core/admin/assets/js/vendor/codemirror/mode/turtle/index.html +51 -0
  297. data/core/admin/assets/js/vendor/codemirror/mode/turtle/turtle.js +145 -0
  298. data/core/admin/assets/js/vendor/codemirror/mode/vb/index.html +103 -0
  299. data/core/admin/assets/js/vendor/codemirror/mode/vb/vb.js +259 -0
  300. data/core/admin/assets/js/vendor/codemirror/mode/vbscript/index.html +55 -0
  301. data/core/admin/assets/js/vendor/codemirror/mode/vbscript/vbscript.js +334 -0
  302. data/core/admin/assets/js/vendor/codemirror/mode/velocity/index.html +119 -0
  303. data/core/admin/assets/js/vendor/codemirror/mode/velocity/velocity.js +186 -0
  304. data/core/admin/assets/js/vendor/codemirror/mode/verilog/index.html +132 -0
  305. data/core/admin/assets/js/vendor/codemirror/mode/verilog/verilog.js +182 -0
  306. data/core/admin/assets/js/vendor/codemirror/mode/xml/index.html +57 -0
  307. data/core/admin/assets/js/vendor/codemirror/mode/xml/xml.js +345 -0
  308. data/core/admin/assets/js/vendor/codemirror/mode/xquery/index.html +210 -0
  309. data/core/admin/assets/js/vendor/codemirror/mode/xquery/test.js +64 -0
  310. data/core/admin/assets/js/vendor/codemirror/mode/xquery/xquery.js +432 -0
  311. data/core/admin/assets/js/vendor/codemirror/mode/yaml/index.html +80 -0
  312. data/core/admin/assets/js/vendor/codemirror/mode/yaml/yaml.js +97 -0
  313. data/core/admin/assets/js/vendor/codemirror/mode/z80/index.html +52 -0
  314. data/core/admin/assets/js/vendor/codemirror/mode/z80/z80.js +85 -0
  315. data/core/admin/assets/js/vendor/codemirror/package.json +19 -0
  316. data/core/admin/assets/js/vendor/codemirror/test/comment_test.js +51 -0
  317. data/core/admin/assets/js/vendor/codemirror/test/doc_test.js +329 -0
  318. data/core/admin/assets/js/vendor/codemirror/test/driver.js +139 -0
  319. data/core/admin/assets/js/vendor/codemirror/test/emacs_test.js +135 -0
  320. data/core/admin/assets/js/vendor/codemirror/test/index.html +209 -0
  321. data/core/admin/assets/js/vendor/codemirror/test/lint/acorn.js +1593 -0
  322. data/core/admin/assets/js/vendor/codemirror/test/lint/lint.js +139 -0
  323. data/core/admin/assets/js/vendor/codemirror/test/lint/walk.js +216 -0
  324. data/core/admin/assets/js/vendor/codemirror/test/mode_test.css +10 -0
  325. data/core/admin/assets/js/vendor/codemirror/test/mode_test.js +200 -0
  326. data/core/admin/assets/js/vendor/codemirror/test/phantom_driver.js +31 -0
  327. data/core/admin/assets/js/vendor/codemirror/test/run.js +34 -0
  328. data/core/admin/assets/js/vendor/codemirror/test/test.js +1562 -0
  329. data/core/admin/assets/js/vendor/codemirror/test/vim_test.js +2391 -0
  330. data/core/admin/assets/js/vendor/codemirror/theme/3024-day.css +34 -0
  331. data/core/admin/assets/js/vendor/codemirror/theme/3024-night.css +34 -0
  332. data/core/admin/assets/js/vendor/codemirror/theme/ambiance-mobile.css +5 -0
  333. data/core/admin/assets/js/vendor/codemirror/theme/ambiance.css +75 -0
  334. data/core/admin/assets/js/vendor/codemirror/theme/base16-dark.css +34 -0
  335. data/core/admin/assets/js/vendor/codemirror/theme/base16-light.css +34 -0
  336. data/core/admin/assets/js/vendor/codemirror/theme/blackboard.css +28 -0
  337. data/core/admin/assets/js/vendor/codemirror/theme/cobalt.css +21 -0
  338. data/core/admin/assets/js/vendor/codemirror/theme/eclipse.css +23 -0
  339. data/core/admin/assets/js/vendor/codemirror/theme/elegant.css +13 -0
  340. data/core/admin/assets/js/vendor/codemirror/theme/erlang-dark.css +30 -0
  341. data/core/admin/assets/js/vendor/codemirror/theme/lesser-dark.css +47 -0
  342. data/core/admin/assets/js/vendor/codemirror/theme/mbo.css +35 -0
  343. data/core/admin/assets/js/vendor/codemirror/theme/midnight.css +43 -0
  344. data/core/admin/assets/js/vendor/codemirror/theme/monokai.css +29 -0
  345. data/core/admin/assets/js/vendor/codemirror/theme/neat.css +12 -0
  346. data/core/admin/assets/js/vendor/codemirror/theme/night.css +24 -0
  347. data/core/admin/assets/js/vendor/codemirror/theme/paraiso-dark.css +34 -0
  348. data/core/admin/assets/js/vendor/codemirror/theme/paraiso-light.css +34 -0
  349. data/core/admin/assets/js/vendor/codemirror/theme/rubyblue.css +23 -0
  350. data/core/admin/assets/js/vendor/codemirror/theme/solarized-mod.css +181 -0
  351. data/core/admin/assets/js/vendor/codemirror/theme/solarized.css +180 -0
  352. data/core/admin/assets/js/vendor/codemirror/theme/the-matrix.css +26 -0
  353. data/core/admin/assets/js/vendor/codemirror/theme/tomorrow-night-eighties.css +34 -0
  354. data/core/admin/assets/js/vendor/codemirror/theme/twilight.css +28 -0
  355. data/core/admin/assets/js/vendor/codemirror/theme/vibrant-ink.css +30 -0
  356. data/core/admin/assets/js/vendor/codemirror/theme/xq-dark.css +49 -0
  357. data/core/admin/assets/js/vendor/codemirror/theme/xq-light.css +43 -0
  358. data/core/admin/assets/js/vendor/fastclick.js +777 -0
  359. data/core/admin/assets/js/vendor/jquery.js +6 -0
  360. data/core/admin/assets/js/vendor/lodash.underscore.js +38 -0
  361. data/core/admin/assets/js/vendor/require.js +36 -0
  362. data/core/admin/assets/scss/bootstrap.scss +18 -0
  363. data/core/admin/assets/scss/modules/_all.scss +7 -0
  364. data/core/admin/assets/scss/modules/_colors.scss +7 -0
  365. data/core/admin/assets/scss/modules/_extensions.scss +24 -0
  366. data/core/admin/assets/scss/modules/_mixins.scss +18 -0
  367. data/core/admin/assets/scss/modules/_susy.scss +7 -0
  368. data/core/admin/assets/scss/partials/_base.scss +33 -0
  369. data/core/admin/assets/scss/partials/_buttons.scss +9 -0
  370. data/core/admin/assets/scss/partials/_links.scss +15 -0
  371. data/core/admin/assets/scss/partials/_main.scss +14 -0
  372. data/core/admin/assets/scss/partials/_typography.scss +15 -0
  373. data/core/admin/assets/scss/sections/_editor.scss +274 -0
  374. data/core/admin/assets/scss/sections/_login.scss +34 -0
  375. data/core/admin/assets/scss/vendor/_normalize.scss +406 -0
  376. data/core/admin/layouts/admin.haml +67 -0
  377. data/core/admin/partials/_head.haml +23 -0
  378. data/core/admin/partials/_tree.haml +3 -0
  379. data/core/admin/partials/_treeitem.haml +4 -0
  380. data/core/admin/settings.yml +4 -0
  381. data/core/app.rb +21 -0
  382. data/core/classes/cached.rb +35 -0
  383. data/core/classes/checker.rb +37 -0
  384. data/core/classes/commit.rb +62 -0
  385. data/core/classes/error.rb +9 -0
  386. data/core/classes/page.rb +165 -0
  387. data/core/classes/partial.rb +13 -0
  388. data/core/classes/path.rb +30 -0
  389. data/core/classes/persona.rb +55 -0
  390. data/core/classes/sassfile.rb +95 -0
  391. data/core/classes/settings.rb +19 -0
  392. data/core/classes/theme.rb +55 -0
  393. data/core/helpers/base.rb +46 -0
  394. data/core/helpers/render.rb +26 -0
  395. data/core/helpers/truncate.rb +17 -0
  396. data/core/routes/admin.rb +139 -0
  397. data/core/routes/assetcompiler.rb +23 -0
  398. data/core/routes/base.rb +22 -0
  399. data/core/routes/bootstrap.rb +35 -0
  400. data/core/routes/cache.rb +52 -0
  401. data/core/routes/deploy.rb +16 -0
  402. data/core/routes/git.rb +23 -0
  403. data/poly.gemspec +29 -0
  404. data/sample/.cabi-data +0 -0
  405. data/sample/data/home/index.haml +22 -0
  406. data/sample/data/other/nav/links.yml +4 -0
  407. data/sample/data/page/about/index.haml +12 -0
  408. data/sample/data/page/contact-us/index.haml +11 -0
  409. data/sample/data/page/dynamic-page/index.haml +14 -0
  410. data/sample/data/page/error/index.haml +8 -0
  411. data/sample/data/page/html/index.html +4 -0
  412. data/sample/data/page/no-front-matter/index.haml +7 -0
  413. data/sample/data/page/not-found/index.haml +8 -0
  414. data/sample/data/page/static-page/index.haml +14 -0
  415. data/sample/data/post/about-life/index.md +12 -0
  416. data/sample/data/post/sample-post/index.haml +12 -0
  417. data/sample/data/post/technology/index.haml +12 -0
  418. data/sample/data/post/the-40-hour-workweek/index.haml +9 -0
  419. data/sample/data/post/things-are-changing/index.haml +9 -0
  420. data/sample/data/post/yet-another-post/index.haml +11 -0
  421. data/sample/plugins/my-plugin/plugin.rb +15 -0
  422. data/sample/settings.yml +21 -0
  423. data/sample/themes/base/assets/css/readme.txt +6 -0
  424. data/sample/themes/base/assets/images/poly.svg +36 -0
  425. data/sample/themes/base/assets/js/app/views/main.js +13 -0
  426. data/sample/themes/base/assets/js/main.js +31 -0
  427. data/sample/themes/base/assets/js/vendor/backbone.js +4 -0
  428. data/sample/themes/base/assets/js/vendor/jquery.js +6 -0
  429. data/sample/themes/base/assets/js/vendor/lodash.underscore.js +38 -0
  430. data/sample/themes/base/assets/js/vendor/require.js +36 -0
  431. data/sample/themes/base/assets/scss/bootstrap.scss +20 -0
  432. data/sample/themes/base/assets/scss/modules/_all.scss +7 -0
  433. data/sample/themes/base/assets/scss/modules/_colors.scss +7 -0
  434. data/sample/themes/base/assets/scss/modules/_extensions.scss +13 -0
  435. data/sample/themes/base/assets/scss/modules/_mixins.scss +11 -0
  436. data/sample/themes/base/assets/scss/modules/_susy.scss +7 -0
  437. data/sample/themes/base/assets/scss/partials/_base.scss +33 -0
  438. data/sample/themes/base/assets/scss/partials/_buttons.scss +0 -0
  439. data/sample/themes/base/assets/scss/partials/_links.scss +15 -0
  440. data/sample/themes/base/assets/scss/partials/_main.scss +39 -0
  441. data/sample/themes/base/assets/scss/partials/_typography.scss +15 -0
  442. data/sample/themes/base/assets/scss/sections/_footer.scss +22 -0
  443. data/sample/themes/base/assets/scss/sections/_header.scss +23 -0
  444. data/sample/themes/base/assets/scss/sections/_home.scss +13 -0
  445. data/sample/themes/base/assets/scss/sections/_pages.scss +11 -0
  446. data/sample/themes/base/assets/scss/vendor/_normalize.scss +406 -0
  447. data/sample/themes/base/layouts/default.haml +14 -0
  448. data/sample/themes/base/layouts/post.haml +15 -0
  449. data/sample/themes/base/partials/_footer.haml +9 -0
  450. data/sample/themes/base/partials/_ga.haml +10 -0
  451. data/sample/themes/base/partials/_head.haml +20 -0
  452. data/sample/themes/base/partials/_header.haml +5 -0
  453. data/sample/themes/base/settings.yml +4 -0
  454. data/test/data/post-receive-hook.json +146 -0
  455. data/test/test_basics.rb +50 -0
  456. data/test/test_data.rb +14 -0
  457. data/test/test_deploy.rb +23 -0
  458. data/test/test_includes.rb +43 -0
  459. data/test/test_page.rb +47 -0
  460. metadata +1049 -0
@@ -0,0 +1,134 @@
1
+ <!doctype html>
2
+
3
+ <title>CodeMirror: Real-world Uses</title>
4
+ <meta charset="utf-8"/>
5
+ <link rel=stylesheet href="docs.css">
6
+
7
+ <div id=nav>
8
+ <a href="http://codemirror.net"><img id=logo src="logo.png"></a>
9
+
10
+ <ul>
11
+ <li><a href="../index.html">Home</a>
12
+ <li><a href="manual.html">Manual</a>
13
+ <li><a href="https://github.com/marijnh/codemirror">Code</a>
14
+ </ul>
15
+ <ul>
16
+ <li><a class=active href="#">Real-world uses</a>
17
+ </ul>
18
+ </div>
19
+
20
+ <article>
21
+
22
+ <h2>CodeMirror real-world uses</h2>
23
+
24
+ <p><a href="mailto:marijnh@gmail.com">Contact me</a> if you'd like
25
+ your project to be added to this list.</p>
26
+
27
+ <ul>
28
+ <li><a href="http://brackets.io">Adobe Brackets</a> (code editor)</li>
29
+ <li><a href="http://amber-lang.net/">Amber</a> (JavaScript-based Smalltalk system)</li>
30
+ <li><a href="http://apeye.org/">APEye</a> (tool for testing &amp; documenting APIs)</li>
31
+ <li><a href="http://blog.bitbucket.org/2013/05/14/edit-your-code-in-the-cloud-with-bitbucket/">Bitbucket</a> (code hosting)</li>
32
+ <li><a href="http://buzz.blogger.com/2013/04/improvements-to-blogger-template-html.html">Blogger's template editor</a></li>
33
+ <li><a href="http://bluegriffon.org/">BlueGriffon</a> (HTML editor)</li>
34
+ <li><a href="http://cargocollective.com/">Cargo Collective</a> (creative publishing platform)</li>
35
+ <li><a href="http://clickhelp.co/">ClickHelp</a> (technical writing tool)</li>
36
+ <li><a href="http://complete-ly.appspot.com/playground/code.playground.html">Complete.ly playground</a></li>
37
+ <li><a href="http://drupal.org/project/cpn">Code per Node</a> (Drupal module)</li>
38
+ <li><a href="http://www.codebugapp.com/">Codebug</a> (PHP Xdebug front-end)</li>
39
+ <li><a href="https://github.com/angelozerr/CodeMirror-Eclipse">CodeMirror Eclipse</a> (embed CM in Eclipse)</li>
40
+ <li><a href="http://emmet.io/blog/codemirror-movie/">CodeMirror movie</a> (scripted editing demos)</li>
41
+ <li><a href="http://code.google.com/p/codemirror2-gwt/">CodeMirror2-GWT</a> (Google Web Toolkit wrapper)</li>
42
+ <li><a href="http://www.crunchzilla.com/code-monster">Code Monster</a> & <a href="http://www.crunchzilla.com/code-maven">Code Maven</a> (learning environment)</li>
43
+ <li><a href="http://codepen.io">Codepen</a> (gallery of animations)</li>
44
+ <li><a href="http://sasstwo.codeschool.com/levels/1/challenges/1">Code School</a> (online tech learning environment)</li>
45
+ <li><a href="http://code-snippets.bungeshea.com/">Code Snippets</a> (WordPress snippet management plugin)</li>
46
+ <li><a href="http://antonmi.github.io/code_together/">Code together</a> (collaborative editing)</li>
47
+ <li><a href="http://codev.it/">Codev</a> (collaborative IDE)</li>
48
+ <li><a href="http://www.codezample.com">CodeZample</a> (code snippet sharing)</li>
49
+ <li><a href="http://codio.com">Codio</a> (Web IDE)</li>
50
+ <li><a href="http://ot.substance.io/demo/">Collaborative CodeMirror demo</a> (CodeMirror + operational transforms)</li>
51
+ <li><a href="http://www.communitycodecamp.com/">Community Code Camp</a> (code snippet sharing)</li>
52
+ <li><a href="http://www.compilejava.net/">compilejava.net</a> (online Java sandbox)</li>
53
+ <li><a href="http://www.ckwnc.com/">CKWNC</a> (UML editor)</li>
54
+ <li><a href="http://cssdeck.com/">CSSDeck</a> (CSS showcase)</li>
55
+ <li><a href="http://ireneros.com/deck/deck.js-codemirror/introduction/#textarea-code">Deck.js integration</a> (slides with editors)</li>
56
+ <li><a href="http://www.dbninja.com">DbNinja</a> (MySQL access interface)</li>
57
+ <li><a href="https://chat.echoplex.us/">Echoplexus</a> (chat and collaborative coding)</li>
58
+ <li><a href="http://elm-lang.org/Examples.elm">Elm language examples</a></li>
59
+ <li><a href="http://eloquentjavascript.net/chapter1.html">Eloquent JavaScript</a> (book)</li>
60
+ <li><a href="http://emmet.io">Emmet</a> (fast XML editing)</li>
61
+ <li><a href="http://www.fastfig.com/">Fastfig</a> (online computation/math tool)</li>
62
+ <li><a href="https://metacpan.org/module/Farabi">Farabi</a> (modern Perl IDE)</li>
63
+ <li><a href="http://blog.pamelafox.org/2012/02/interactive-html5-slides-with-fathomjs.html">FathomJS integration</a> (slides with editors, again)</li>
64
+ <li><a href="http://fiddlesalad.com/">Fiddle Salad</a> (web development environment)</li>
65
+ <li><a href="http://www.firepad.io">Firepad</a> (collaborative text editor)</li>
66
+ <li><a href="https://code.google.com/p/gerrit/">Gerrit</a>'s diff view</a></li>
67
+ <li><a href="http://tour.golang.org">Go language tour</a></li>
68
+ <li><a href="https://github.com/github/android">GitHub's Android app</a></li>
69
+ <li><a href="https://script.google.com/">Google Apps Script</a></li>
70
+ <li><a href="http://web.uvic.ca/~siefkenj/graphit/graphit.html">Graphit</a> (function graphing)</li>
71
+ <li><a href="http://www.handcraft2.com/">Handcraft 2</a> (HTML prototyping)</li>
72
+ <li><a href="http://try.haxe.org">Haxe</a> (Haxe Playground) </li>
73
+ <li><a href="http://haxpad.com/">HaxPad</a> (editor for Win RT)</li>
74
+ <li><a href="http://megafonweblab.github.com/histone-javascript/">Histone template engine playground</a></li>
75
+ <li><a href="http://icecoder.net">ICEcoder</a> (web IDE)</li>
76
+ <li><a href="http://www.janvas.com/">Janvas</a> (vector graphics editor)</li>
77
+ <li><a href="http://extensions.joomla.org/extensions/edition/editors/8723">Joomla plugin</a></li>
78
+ <li><a href="http://jqfundamentals.com/">jQuery fundamentals</a> (interactive tutorial)</li>
79
+ <li><a href="http://jsbin.com">jsbin.com</a> (JS playground)</li>
80
+ <li><a href="http://jsfiddle.com">jsfiddle.com</a> (another JS playground)</li>
81
+ <li><a href="http://www.jshint.com/">JSHint</a> (JS linter)</li>
82
+ <li><a href="http://jumpseller.com/">Jumpseller</a> (online store builder)</li>
83
+ <li><a href="http://kl1p.com/cmtest/1">kl1p</a> (paste service)</li>
84
+ <li><a href="http://www.chris-granger.com/2012/04/12/light-table---a-new-ide-concept/">Light Table</a> (experimental IDE)</li>
85
+ <li><a href="http://liveweave.com/">Liveweave</a> (HTML/CSS/JS scratchpad)</li>
86
+ <li><a href="http://marklighteditor.com/">Marklight editor</a> (lightweight markup editor)</li>
87
+ <li><a href="http://www.mergely.com/">Mergely</a> (interactive diffing)</li>
88
+ <li><a href="http://www.iunbug.com/mihtool">MIHTool</a> (iOS web-app debugging tool)</li>
89
+ <li><a href="http://mongo-mapreduce-webbrowser.opensagres.cloudbees.net/">Mongo MapReduce WebBrowser</a></li>
90
+ <li><a href="https://www.my2ndgeneration.com/">My2ndGeneration</a> (social coding)</li>
91
+ <li><a href="http://www.navigatecms.com">Navigate CMS</a></li>
92
+ <li><a href="https://github.com/soliton4/nodeMirror">nodeMirror</a> (IDE project)</li>
93
+ <li><a href="https://notex.ch">NoTex</a> (rST authoring)</li>
94
+ <li><a href="http://oakoutliner.com">Oak</a> (online outliner)</li>
95
+ <li><a href="http://clrhome.org/asm/">ORG</a> (z80 assembly IDE)</li>
96
+ <li><a href="https://github.com/mamacdon/orion-codemirror">Orion-CodeMirror integration</a> (running CodeMirror modes in Orion)</li>
97
+ <li><a href="http://paperjs.org/">Paper.js</a> (graphics scripting)</li>
98
+ <li><a href="http://prinbit.com/">PrinBit</a> (collaborative coding tool)</li>
99
+ <li><a href="http://prose.io/">Prose.io</a> (github content editor)</li>
100
+ <li><a href="http://www.puzzlescript.net/">Puzzlescript</a> (puzzle game engine)</li>
101
+ <li><a href="http://ql.io/">ql.io</a> (http API query helper)</li>
102
+ <li><a href="http://qyapp.com">QiYun web app platform</a></li>
103
+ <li><a href="http://ariya.ofilabs.com/2011/09/hybrid-webnative-desktop-codemirror.html">Qt+Webkit integration</a> (building a desktop CodeMirror app)</li>
104
+ <li><a href="http://www.quivive-file-manager.com">Quivive File Manager</a></li>
105
+ <li><a href="http://rascalmicro.com/docs/basic-tutorial-getting-started.html">Rascal</a> (tiny computer)</li>
106
+ <li><a href="https://www.realtime.io/">RealTime.io</a> (Internet-of-Things infrastructure)</li>
107
+ <li><a href="https://www.shadertoy.com/">Shadertoy</a> (shader sharing)</li>
108
+ <li><a href="http://www.sketchpatch.net/labs/livecodelabIntro.html">sketchPatch Livecodelab</a></li>
109
+ <li><a href="http://www.skulpt.org/">Skulpt</a> (in-browser Python environment)</li>
110
+ <li><a href="http://snippets.pro/">Snippets.pro</a> (code snippet sharing)</li>
111
+ <li><a href="http://www.solidshops.com/">SolidShops</a> (hosted e-commerce platform)</li>
112
+ <li><a href="http://sqlfiddle.com">SQLFiddle</a> (SQL playground)</li>
113
+ <li><a href="https://thefiletree.com">The File Tree</a> (collab editor)</li>
114
+ <li><a href="http://www.mapbox.com/tilemill/">TileMill</a> (map design tool)</li>
115
+ <li><a href="http://www.toolsverse.com/products/data-explorer/">Toolsverse Data Explorer</a> (database management)</li>
116
+ <li><a href="http://enjalot.com/tributary/2636296/sinwaves.js">Tributary</a> (augmented editing)</li>
117
+ <li><a href="http://blog.englard.net/post/39608000629/codeintumblr">Tumblr code highlighting shim</a></li>
118
+ <li><a href="http://turbopy.com/">TurboPY</a> (web publishing framework)</li>
119
+ <li><a href="http://uicod.com/">uiCod</a> (animation demo gallery and sharing)</li>
120
+ <li><a href="http://cruise.eecs.uottawa.ca/umpleonline/">UmpleOnline</a> (model-oriented programming tool)</li>
121
+ <li><a href="https://upsource.jetbrains.com/#idea/view/923f30395f2603cd9f42a32bcafd13b6c28de0ff/plugins/groovy/src/org/jetbrains/plugins/groovy/intentions/style/ReplaceAbstractClassInstanceByMapIntention.java">Upsource</a> (code viewer)</li>
122
+ <li><a href="https://github.com/brettz9/webappfind">webappfind</a> (windows file bindings for webapps)</li>
123
+ <li><a href="http://www.webglacademy.com/">WebGL academy</a> (learning WebGL)</li>
124
+ <li><a href="http://webglplayground.net/">WebGL playground</a></li>
125
+ <li><a href="https://www.webkit.org/blog/2518/state-of-web-inspector/#source-code">WebKit Web inspector</a></li>
126
+ <li><a href="http://www.wescheme.org/">WeScheme</a> (learning tool)</li>
127
+ <li><a href="http://wordpress.org/extend/plugins/codemirror-for-codeeditor/">WordPress plugin</a></li>
128
+ <li><a href="http://www.xosystem.org/home/applications_websites/xosystem_website/xoside_EN.php">XOSide</a> (online editor)</li>
129
+ <li><a href="http://videlibri.sourceforge.net/cgi-bin/xidelcgi">XQuery tester</a></li>
130
+ <li><a href="http://q42jaap.github.io/xsd2codemirror/">xsd2codemirror</a> (convert XSD to CM XML completion info)</li>
131
+ </ul>
132
+
133
+ </article>
134
+
@@ -0,0 +1,779 @@
1
+ <!doctype html>
2
+
3
+ <title>CodeMirror: Release History</title>
4
+ <meta charset="utf-8"/>
5
+ <link rel=stylesheet href="docs.css">
6
+ <script src="activebookmark.js"></script>
7
+
8
+ <div id=nav>
9
+ <a href="http://codemirror.net"><img id=logo src="logo.png"></a>
10
+
11
+ <ul>
12
+ <li><a href="../index.html">Home</a>
13
+ <li><a href="manual.html">Manual</a>
14
+ <li><a href="https://github.com/marijnh/codemirror">Code</a>
15
+ </ul>
16
+ <ul>
17
+ <li><a class=active data-default="true" href="#v3">Version 3.x</a>
18
+ <li><a href="#v2">Version 2.x</a>
19
+ <li><a href="#v1">Version 0.x</a>
20
+ </ul>
21
+ </div>
22
+
23
+ <article>
24
+
25
+ <h2>Release notes and version history</h2>
26
+
27
+ <section id=v3 class=first>
28
+
29
+ <h2>Version 3.x</h2>
30
+
31
+ <p class="rel">21-10-2013: <a href="http://codemirror.net/codemirror-3.19.zip">Version 3.19</a>:</p>
32
+
33
+ <ul class="rel-note">
34
+ <li>New modes: <a href="../mode/eiffel/index.html">Eiffel</a>, <a href="../mode/gherkin/index.html">Gherkin</a>, <a href="../mode/sql/?mime=text/x-mssql">MSSQL dialect</a>.</li>
35
+ <li>New addons: <a href="manual.html#addon_hardwrap">hardwrap</a>, <a href="manual.html#addon_sql-hint">sql-hint</a>.</li>
36
+ <li>New theme: <a href="../demo/theme.html?mbo">MBO</a>.</li>
37
+ <li>Add <a href="manual.html#token_style_line">support</a> for line-level styling from mode tokenizers.</li>
38
+ <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/3.18.0...3.19.0">list of patches</a>.</li>
39
+ </ul>
40
+
41
+ <p class="rel">23-09-2013: <a href="http://codemirror.net/codemirror-3.18.zip">Version 3.18</a>:</p>
42
+
43
+ <p class="rel-note">Emergency release to fix a problem in 3.17
44
+ where <code>.setOption("lineNumbers", false)</code> would raise an
45
+ error.</p>
46
+
47
+ <p class="rel">23-09-2013: <a href="http://codemirror.net/codemirror-3.17.zip">Version 3.17</a>:</p>
48
+
49
+ <ul class="rel-note">
50
+ <li>New modes: <a href="../mode/fortran/index.html">Fortran</a>, <a href="../mode/octave/index.html">Octave</a> (Matlab), <a href="../mode/toml/index.html">TOML</a>, and <a href="../mode/dtd/index.html">DTD</a>.</li>
51
+ <li>New addons: <a href="../addon/lint/css-lint.js"><code>css-lint</code></a>, <a href="manual.html#addon_css-hint"><code>css-hint</code></a>.</li>
52
+ <li>Improve resilience to CSS 'frameworks' that globally mess up <code>box-sizing</code>.</li>
53
+ <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/3.16.0...3.17.0">list of patches</a>.</li>
54
+ </ul>
55
+
56
+ <p class="rel">21-08-2013: <a href="http://codemirror.net/codemirror-3.16.zip">Version 3.16</a>:</p>
57
+
58
+ <ul class="rel-note">
59
+ <li>The whole codebase is now under a single <a href="../LICENSE">license</a> file.</li>
60
+ <li>The project page was overhauled and redesigned.</li>
61
+ <li>New themes: <a href="../demo/theme.html?paraiso-dark">Paraiso</a> (<a href="../demo/theme.html?paraiso-light">light</a>), <a href="../demo/theme.html?the-matrix">The Matrix</a>.</li>
62
+ <li>Improved interaction between themes and <a href="manual.html#addon_active-line">active-line</a>/<a href="manual.html#addon_matchbrackets">matchbrackets</a> addons.</li>
63
+ <li>New <a href="manual.html#addon_foldcode">folding</a> function <code>CodeMirror.fold.comment</code>.</li>
64
+ <li>Added <a href="manual.html#addon_fullscreen">fullscreen</a> addon.</li>
65
+ <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/3.15.0...3.16.0">list of patches</a>.</li>
66
+ </ul>
67
+
68
+ <p class="rel">29-07-2013: <a href="http://codemirror.net/codemirror-3.15.zip">Version 3.15</a>:</p>
69
+
70
+ <ul class="rel-note">
71
+ <li>New modes: <a href="../mode/jade/index.html">Jade</a>, <a href="../mode/nginx/index.html">Nginx</a>.</li>
72
+ <li>New addons: <a href="../demo/tern.html">Tern</a>, <a href="manual.html#addon_matchtags">matchtags</a>, and <a href="manual.html#addon_foldgutter">foldgutter</a>.</li>
73
+ <li>Introduced <a href="manual.html#getHelper"><em>helper</em></a> concept (<a href="https://groups.google.com/forum/#!msg/codemirror/cOc0xvUUEUU/nLrX1-qnidgJ">context</a>).</li>
74
+ <li>New method: <a href="manual.html#getModeAt"><code>getModeAt</code></a>.</li>
75
+ <li>New themes: base16 <a href="../demo/theme.html?base16-dark">dark</a>/<a href="../demo/theme.html?base16-light">light</a>, 3024 <a href="../demo/theme.html?3024-night">dark</a>/<a href="../demo/theme.html?3024-day">light</a>, <a href="../demo/theme.html?tomorrow-night-eighties">tomorrow-night</a>.</li>
76
+ <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/3.14.0...3.15.0">list of patches</a>.</li>
77
+ </ul>
78
+
79
+ <p class="rel">20-06-2013: <a href="http://codemirror.net/codemirror-3.14.zip">Version 3.14</a>:</p>
80
+
81
+ <ul class="rel-note">
82
+ <li>New
83
+ addons: <a href="manual.html#addon_trailingspace">trailing
84
+ space highlight</a>, <a href="manual.html#addon_xml-hint">XML
85
+ completion</a> (rewritten),
86
+ and <a href="manual.html#addon_merge">diff merging</a>.</li>
87
+ <li><a href="manual.html#markText"><code>markText</code></a>
88
+ and <a href="manual.html#addLineWidget"><code>addLineWidget</code></a>
89
+ now take a <code>handleMouseEvents</code> option.</li>
90
+ <li>New methods: <a href="manual.html#lineAtHeight"><code>lineAtHeight</code></a>,
91
+ <a href="manual.html#getTokenTypeAt"><code>getTokenTypeAt</code></a>.</li>
92
+ <li>More precise cleanness-tracking
93
+ using <a href="manual.html#changeGeneration"><code>changeGeneration</code></a>
94
+ and <a href="manual.html#isClean"><code>isClean</code></a>.</li>
95
+ <li>Many extensions to <a href="../demo/emacs.html">Emacs</a> mode
96
+ (prefixes, more navigation units, and more).</li>
97
+ <li>New
98
+ events <a href="manual.html#event_keyHandled"><code>"keyHandled"</code></a>
99
+ and <a href="manual.html#event_inputRead"><code>"inputRead"</code></a>.</li>
100
+ <li>Various improvements to <a href="../mode/ruby/index.html">Ruby</a>,
101
+ <a href="../mode/smarty/index.html">Smarty</a>, <a href="../mode/sql/index.html">SQL</a>,
102
+ and <a href="../demo/vim.html">Vim</a> modes.</li>
103
+ <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/3.13.0...3.14.0">list of patches</a>.</li>
104
+ </ul>
105
+
106
+ <p class="rel">20-05-2013: <a href="http://codemirror.net/codemirror-3.13.zip">Version 3.13</a>:</p>
107
+
108
+ <ul class="rel-note">
109
+ <li>New modes: <a href="../mode/cobol/index.html">COBOL</a> and <a href="../mode/haml/index.html">HAML</a>.</li>
110
+ <li>New options: <a href="manual.html#option_cursorScrollMargin"><code>cursorScrollMargin</code></a> and <a href="manual.html#option_coverGutterNextToScrollbar"><code>coverGutterNextToScrollbar</code></a>.</li>
111
+ <li>New addon: <a href="manual.html#addon_comment">commenting</a>.</li>
112
+ <li>More features added to the <a href="../demo/vim.html">Vim keymap</a>.</li>
113
+ <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/v3.12...3.13.0">list of patches</a>.</li>
114
+ </ul>
115
+
116
+ <p class="rel">19-04-2013: <a href="http://codemirror.net/codemirror-3.12.zip">Version 3.12</a>:</p>
117
+
118
+ <ul class="rel-note">
119
+ <li>New mode: <a href="../mode/gas/index.html">GNU assembler</a>.</li>
120
+ <li>New
121
+ options: <a href="manual.html#option_maxHighlightLength"><code>maxHighlightLength</code></a>
122
+ and <a href="manual.html#option_historyEventDelay"><code>historyEventDelay</code></a>.</li>
123
+ <li>Added <a href="manual.html#mark_addToHistory"><code>addToHistory</code></a>
124
+ option for <code>markText</code>.</li>
125
+ <li>Various fixes to JavaScript tokenization and indentation corner cases.</li>
126
+ <li>Further improvements to the vim mode.</li>
127
+ <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/v3.11...v3.12">list of patches</a>.</li>
128
+ </ul>
129
+
130
+ <p class="rel">20-03-2013: <a href="http://codemirror.net/codemirror-3.11.zip">Version 3.11</a>:</p>
131
+
132
+ <ul class="rel-note">
133
+ <li><strong>Removed code:</strong> <code>collapserange</code>,
134
+ <code>formatting</code>, and <code>simple-hint</code>
135
+ addons. <code>plsql</code> and <code>mysql</code> modes
136
+ (use <a href="../mode/sql/index.html"><code>sql</code></a> mode).</li>
137
+ <li><strong>Moved code:</strong> the range-finding functions for folding now have <a href="../addon/fold/">their own files</a>.</li>
138
+ <li><strong>Changed interface:</strong>
139
+ the <a href="manual.html#addon_continuecomment"><code>continuecomment</code></a>
140
+ addon now exposes an option, rather than a command.</li>
141
+ <li>New
142
+ modes: <a href="../mode/css/scss.html">SCSS</a>, <a href="../mode/tcl/index.html">Tcl</a>, <a href="../mode/livescript/index.html">LiveScript</a>,
143
+ and <a href="../mode/mirc/index.html">mIRC</a>.</li>
144
+ <li>New addons: <a href="../demo/placeholder.html"><code>placeholder</code></a>, <a href="../demo/html5complete.html">HTML completion</a>.</li>
145
+ <li>New
146
+ methods: <a href="manual.html#hasFocus"><code>hasFocus</code></a>, <a href="manual.html#defaultCharWidth"><code>defaultCharWidth</code></a>.</li>
147
+ <li>New events: <a href="manual.html#event_beforeCursorEnter"><code>beforeCursorEnter</code></a>, <a href="manual.html#event_renderLine"><code>renderLine</code></a>.</li>
148
+ <li>Many improvements to the <a href="manual.html#addon_show-hint"><code>show-hint</code></a> completion
149
+ dialog addon.</li>
150
+ <li>Tweak behavior of by-word cursor motion.</li>
151
+ <li>Further improvements to the <a href="../demo/vim.html">vim mode</a>.</li>
152
+ <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/v3.1...v3.11">list of patches</a>.</li>
153
+ </ul>
154
+
155
+ <p class="rel">21-02-2013: <a href="http://codemirror.net/codemirror-3.1.zip">Version 3.1</a>:</p>
156
+
157
+ <ul class="rel-note">
158
+ <li><strong>Incompatible:</strong> key handlers may
159
+ now <em>return</em>, rather
160
+ than <em>throw</em> <code>CodeMirror.Pass</code> to signal they
161
+ didn't handle the key.</li>
162
+ <li>Make documents a <a href="manual.html#api_doc">first-class
163
+ construct</a>, support split views and subviews.</li>
164
+ <li>Add a <a href="manual.html#addon_show-hint">new module</a>
165
+ for showing completion hints.
166
+ Deprecate <code>simple-hint.js</code>.</li>
167
+ <li>Extend <a href="../mode/htmlmixed/index.html">htmlmixed mode</a>
168
+ to allow custom handling of script types.</li>
169
+ <li>Support an <code>insertLeft</code> option
170
+ to <a href="manual.html#setBookmark"><code>setBookmark</code></a>.</li>
171
+ <li>Add an <a href="manual.html#eachLine"><code>eachLine</code></a>
172
+ method to iterate over a document.</li>
173
+ <li>New addon modules: <a href="../demo/markselection.html">selection
174
+ marking</a>, <a href="../demo/lint.html">linting</a>,
175
+ and <a href="../demo/closebrackets.html">automatic bracket
176
+ closing</a>.</li>
177
+ <li>Add <a href="manual.html#event_beforeChange"><code>"beforeChange"</code></a>
178
+ and <a href="manual.html#event_beforeSelectionChange"><code>"beforeSelectionChange"</code></a>
179
+ events.</li>
180
+ <li>Add <a href="manual.html#event_hide"><code>"hide"</code></a>
181
+ and <a href="manual.html#event_unhide"><code>"unhide"</code></a>
182
+ events to marked ranges.</li>
183
+ <li>Fix <a href="manual.html#coordsChar"><code>coordsChar</code></a>'s
184
+ interpretation of its argument to match the documentation.</li>
185
+ <li>New modes: <a href="../mode/turtle/index.html">Turtle</a>
186
+ and <a href="../mode/q/index.html">Q</a>.</li>
187
+ <li>Further improvements to the <a href="../demo/vim.html">vim mode</a>.</li>
188
+ <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/v3.01...v3.1">list of patches</a>.</li>
189
+ </ul>
190
+
191
+
192
+ <p class="rel">25-01-2013: <a href="http://codemirror.net/codemirror-3.02.zip">Version 3.02</a>:</p>
193
+
194
+ <p class="rel-note">Single-bugfix release. Fixes a problem that
195
+ prevents CodeMirror instances from being garbage-collected after
196
+ they become unused.</p>
197
+
198
+ <p class="rel">21-01-2013: <a href="http://codemirror.net/codemirror-3.01.zip">Version 3.01</a>:</p>
199
+
200
+ <ul class="rel-note">
201
+ <li>Move all add-ons into an organized directory structure
202
+ under <a href="../addon/"><code>/addon</code></a>. <strong>You might have to adjust your
203
+ paths.</strong></li>
204
+ <li>New
205
+ modes: <a href="../mode/d/index.html">D</a>, <a href="../mode/sass/index.html">Sass</a>, <a href="../mode/apl/index.html">APL</a>, <a href="../mode/sql/index.html">SQL</a>
206
+ (configurable), and <a href="../mode/asterisk/index.html">Asterisk</a>.</li>
207
+ <li>Several bugfixes in right-to-left text support.</li>
208
+ <li>Add <a href="manual.html#option_rtlMoveVisually"><code>rtlMoveVisually</code></a> option.</li>
209
+ <li>Improvements to vim keymap.</li>
210
+ <li>Add built-in (lightweight) <a href="manual.html#addOverlay">overlay mode</a> support.</li>
211
+ <li>Support <code>showIfHidden</code> option for <a href="manual.html#addLineWidget">line widgets</a>.</li>
212
+ <li>Add simple <a href="manual.html#addon_python-hint">Python hinter</a>.</li>
213
+ <li>Bring back the <a href="manual.html#option_fixedGutter"><code>fixedGutter</code></a> option.</li>
214
+ <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/v3.0...v3.01">list of patches</a>.</li>
215
+ </ul>
216
+
217
+ <p class="rel">10-12-2012: <a href="http://codemirror.net/codemirror-3.0.zip">Version 3.0</a>:</p>
218
+
219
+ <p class="rel-note"><strong>New major version</strong>. Only
220
+ partially backwards-compatible. See
221
+ the <a href="upgrade_v3.html">upgrading guide</a> for more
222
+ information. Changes since release candidate 2:</p>
223
+
224
+ <ul class="rel-note">
225
+ <li>Rewritten VIM mode.</li>
226
+ <li>Fix a few minor scrolling and sizing issues.</li>
227
+ <li>Work around Safari segfault when dragging.</li>
228
+ <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/v3.0rc2...v3.0">list of patches</a>.</li>
229
+ </ul>
230
+
231
+ <p class="rel">20-11-2012: <a href="http://codemirror.net/codemirror-3.0rc2.zip">Version 3.0, release candidate 2</a>:</p>
232
+
233
+ <ul class="rel-note">
234
+ <li>New mode: <a href="../mode/http/index.html">HTTP</a>.</li>
235
+ <li>Improved handling of selection anchor position.</li>
236
+ <li>Improve IE performance on longer lines.</li>
237
+ <li>Reduce gutter glitches during horiz. scrolling.</li>
238
+ <li>Add <a href="manual.html#addKeyMap"><code>addKeyMap</code></a> and <a href="manual.html#removeKeyMap"><code>removeKeyMap</code></a> methods.</li>
239
+ <li>Rewrite <code>formatting</code> and <code>closetag</code> add-ons.</li>
240
+ <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/v3.0rc1...v3.0rc2">list of patches</a>.</li>
241
+ </ul>
242
+
243
+ <p class="rel">20-11-2012: <a href="http://codemirror.net/codemirror-3.0rc1.zip">Version 3.0, release candidate 1</a>:</p>
244
+
245
+ <ul class="rel-note">
246
+ <li>New theme: <a href="../demo/theme.html?solarized%20light">Solarized</a>.</li>
247
+ <li>Introduce <a href="manual.html#addLineClass"><code>addLineClass</code></a>
248
+ and <a href="manual.html#removeLineClass"><code>removeLineClass</code></a>,
249
+ drop <code>setLineClass</code>.</li>
250
+ <li>Add a <em>lot</em> of
251
+ new <a href="manual.html#markText">options for marked text</a>
252
+ (read-only, atomic, collapsed, widget replacement).</li>
253
+ <li>Remove the old code folding interface in favour of these new ranges.</li>
254
+ <li>Add <a href="manual.html#isClean"><code>isClean</code></a>/<a href="manual.html#markClean"><code>markClean</code></a> methods.</li>
255
+ <li>Remove <code>compoundChange</code> method, use better undo-event-combining heuristic.</li>
256
+ <li>Improve scrolling performance smoothness.</li>
257
+ <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/v3.0beta2...v3.0rc1">list of patches</a>.</li>
258
+ </ul>
259
+
260
+ <p class="rel">22-10-2012: <a href="http://codemirror.net/codemirror-3.0beta2.zip">Version 3.0, beta 2</a>:</p>
261
+
262
+ <ul class="rel-note">
263
+ <li>Fix page-based coordinate computation.</li>
264
+ <li>Fix firing of <a href="manual.html#event_gutterClick"><code>gutterClick</code></a> event.</li>
265
+ <li>Add <a href="manual.html#option_cursorHeight"><code>cursorHeight</code></a> option.</li>
266
+ <li>Fix bi-directional text regression.</li>
267
+ <li>Add <a href="manual.html#option_viewportMargin"><code>viewportMargin</code></a> option.</li>
268
+ <li>Directly handle mousewheel events (again, hopefully better).</li>
269
+ <li>Make vertical cursor movement more robust (through widgets, big line gaps).</li>
270
+ <li>Add <a href="manual.html#option_flattenSpans"><code>flattenSpans</code></a> option.</li>
271
+ <li>Many optimizations. Poor responsiveness should be fixed.</li>
272
+ <li>Initialization in hidden state works again.</li>
273
+ <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/v3.0beta1...v3.0beta2">list of patches</a>.</li>
274
+ </ul>
275
+
276
+ <p class="rel">19-09-2012: <a href="http://codemirror.net/codemirror-3.0beta1.zip">Version 3.0, beta 1</a>:</p>
277
+
278
+ <ul class="rel-note">
279
+ <li>Bi-directional text support.</li>
280
+ <li>More powerful gutter model.</li>
281
+ <li>Support for arbitrary text/widget height.</li>
282
+ <li>In-line widgets.</li>
283
+ <li>Generalized event handling.</li>
284
+ </ul>
285
+
286
+ </section>
287
+
288
+ <section id=v2>
289
+
290
+ <h2>Version 2.x</h2>
291
+
292
+ <p class="rel">21-01-2013: <a href="http://codemirror.net/codemirror-2.38.zip">Version 2.38</a>:</p>
293
+
294
+ <p class="rel-note">Integrate some bugfixes, enhancements to the vim keymap, and new
295
+ modes
296
+ (<a href="../mode/d/index.html">D</a>, <a href="../mode/sass/index.html">Sass</a>, <a href="../mode/apl/index.html">APL</a>)
297
+ from the v3 branch.</p>
298
+
299
+ <p class="rel">20-12-2012: <a href="http://codemirror.net/codemirror-2.37.zip">Version 2.37</a>:</p>
300
+
301
+ <ul class="rel-note">
302
+ <li>New mode: <a href="../mode/sql/index.html">SQL</a> (will replace <a href="../mode/plsql/index.html">plsql</a> and <a href="../mode/mysql/index.html">mysql</a> modes).</li>
303
+ <li>Further work on the new VIM mode.</li>
304
+ <li>Fix Cmd/Ctrl keys on recent Operas on OS X.</li>
305
+ <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/v2.36...v2.37">list of patches</a>.</li>
306
+ </ul>
307
+
308
+ <p class="rel">20-11-2012: <a href="http://codemirror.net/codemirror-2.36.zip">Version 2.36</a>:</p>
309
+
310
+ <ul class="rel-note">
311
+ <li>New mode: <a href="../mode/z80/index.html">Z80 assembly</a>.</li>
312
+ <li>New theme: <a href="../demo/theme.html?twilight">Twilight</a>.</li>
313
+ <li>Add command-line compression helper.</li>
314
+ <li>Make <a href="manual.html#scrollIntoView"><code>scrollIntoView</code></a> public.</li>
315
+ <li>Add <a href="manual.html#defaultTextHeight"><code>defaultTextHeight</code></a> method.</li>
316
+ <li>Various extensions to the vim keymap.</li>
317
+ <li>Make <a href="../mode/php/index.html">PHP mode</a> build on <a href="../mode/htmlmixed/index.html">mixed HTML mode</a>.</li>
318
+ <li>Add <a href="manual.html#addon_continuecomment">comment-continuing</a> add-on.</li>
319
+ <li>Full <a href="../https://github.com/marijnh/CodeMirror/compare/v2.35...v2.36">list of patches</a>.</li>
320
+ </ul>
321
+
322
+ <p class="rel">22-10-2012: <a href="http://codemirror.net/codemirror-2.35.zip">Version 2.35</a>:</p>
323
+
324
+ <ul class="rel-note">
325
+ <li>New (sub) mode: <a href="../mode/javascript/typescript.html">TypeScript</a>.</li>
326
+ <li>Don't overwrite (insert key) when pasting.</li>
327
+ <li>Fix several bugs in <a href="manual.html#markText"><code>markText</code></a>/undo interaction.</li>
328
+ <li>Better indentation of JavaScript code without semicolons.</li>
329
+ <li>Add <a href="manual.html#defineInitHook"><code>defineInitHook</code></a> function.</li>
330
+ <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/v2.34...v2.35">list of patches</a>.</li>
331
+ </ul>
332
+
333
+ <p class="rel">19-09-2012: <a href="http://codemirror.net/codemirror-2.34.zip">Version 2.34</a>:</p>
334
+
335
+ <ul class="rel-note">
336
+ <li>New mode: <a href="../mode/commonlisp/index.html">Common Lisp</a>.</li>
337
+ <li>Fix right-click select-all on most browsers.</li>
338
+ <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>
339
+ <li>Integrate mode (Markdown, XQuery, CSS, sTex) tests in central testsuite.</li>
340
+ <li>Add a <a href="manual.html#version"><code>CodeMirror.version</code></a> property.</li>
341
+ <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>
342
+ <li>Un/redo now preserves <a href="manual.html#markText">marked text</a> and bookmarks.</li>
343
+ <li><a href="https://github.com/marijnh/CodeMirror/compare/v2.33...v2.34">Full list</a> of patches.</li>
344
+ </ul>
345
+
346
+ <p class="rel">23-08-2012: <a href="http://codemirror.net/codemirror-2.33.zip">Version 2.33</a>:</p>
347
+
348
+ <ul class="rel-note">
349
+ <li>New mode: <a href="../mode/sieve/index.html">Sieve</a>.</li>
350
+ <li>New <a href="manual.html#getViewport"><code>getViewPort</code></a> and <a href="manual.html#option_onViewportChange"><code>onViewportChange</code></a> API.</li>
351
+ <li><a href="manual.html#option_cursorBlinkRate">Configurable</a> cursor blink rate.</li>
352
+ <li>Make binding a key to <code>false</code> disabling handling (again).</li>
353
+ <li>Show non-printing characters as red dots.</li>
354
+ <li>More tweaks to the scrolling model.</li>
355
+ <li>Expanded testsuite. Basic linter added.</li>
356
+ <li>Remove most uses of <code>innerHTML</code>. Remove <code>CodeMirror.htmlEscape</code>.</li>
357
+ <li><a href="https://github.com/marijnh/CodeMirror/compare/v2.32...v2.33">Full list</a> of patches.</li>
358
+ </ul>
359
+
360
+ <p class="rel">23-07-2012: <a href="http://codemirror.net/codemirror-2.32.zip">Version 2.32</a>:</p>
361
+
362
+ <p class="rel-note">Emergency fix for a bug where an editor with
363
+ line wrapping on IE will break when there is <em>no</em>
364
+ scrollbar.</p>
365
+
366
+ <p class="rel">20-07-2012: <a href="http://codemirror.net/codemirror-2.31.zip">Version 2.31</a>:</p>
367
+
368
+ <ul class="rel-note">
369
+ <li>New modes: <a href="../mode/ocaml/index.html">OCaml</a>, <a href="../mode/haxe/index.html">Haxe</a>, and <a href="../mode/vb/index.html">VB.NET</a>.</li>
370
+ <li>Several fixes to the new scrolling model.</li>
371
+ <li>Add a <a href="manual.html#setSize"><code>setSize</code></a> method for programmatic resizing.</li>
372
+ <li>Add <a href="manual.html#getHistory"><code>getHistory</code></a> and <a href="manual.html#setHistory"><code>setHistory</code></a> methods.</li>
373
+ <li>Allow custom line separator string in <a href="manual.html#getValue"><code>getValue</code></a> and <a href="manual.html#getRange"><code>getRange</code></a>.</li>
374
+ <li>Support double- and triple-click drag, double-clicking whitespace.</li>
375
+ <li>And more... <a href="https://github.com/marijnh/CodeMirror/compare/v2.3...v2.31">(all patches)</a></li>
376
+ </ul>
377
+
378
+ <p class="rel">22-06-2012: <a href="http://codemirror.net/codemirror-2.3.zip">Version 2.3</a>:</p>
379
+
380
+ <ul class="rel-note">
381
+ <li><strong>New scrollbar implementation</strong>. Should flicker less. Changes DOM structure of the editor.</li>
382
+ <li>New theme: <a href="../demo/theme.html?vibrant-ink">vibrant-ink</a>.</li>
383
+ <li>Many extensions to the VIM keymap (including text objects).</li>
384
+ <li>Add <a href="../demo/multiplex.html">mode-multiplexing</a> utility script.</li>
385
+ <li>Fix bug where right-click paste works in read-only mode.</li>
386
+ <li>Add a <a href="manual.html#getScrollInfo"><code>getScrollInfo</code></a> method.</li>
387
+ <li>Lots of other <a href="https://github.com/marijnh/CodeMirror/compare/v2.25...v2.3">fixes</a>.</li>
388
+ </ul>
389
+
390
+ <p class="rel">23-05-2012: <a href="http://codemirror.net/codemirror-2.25.zip">Version 2.25</a>:</p>
391
+
392
+ <ul class="rel-note">
393
+ <li>New mode: <a href="../mode/erlang/index.html">Erlang</a>.</li>
394
+ <li><strong>Remove xmlpure mode</strong> (use <a href="../mode/xml/index.html">xml.js</a>).</li>
395
+ <li>Fix line-wrapping in Opera.</li>
396
+ <li>Fix X Windows middle-click paste in Chrome.</li>
397
+ <li>Fix bug that broke pasting of huge documents.</li>
398
+ <li>Fix backspace and tab key repeat in Opera.</li>
399
+ </ul>
400
+
401
+ <p class="rel">23-04-2012: <a href="http://codemirror.net/codemirror-2.24.zip">Version 2.24</a>:</p>
402
+
403
+ <ul class="rel-note">
404
+ <li><strong>Drop support for Internet Explorer 6</strong>.</li>
405
+ <li>New
406
+ modes: <a href="../mode/shell/index.html">Shell</a>, <a href="../mode/tiki/index.html">Tiki
407
+ wiki</a>, <a href="../mode/pig/index.html">Pig Latin</a>.</li>
408
+ <li>New themes: <a href="../demo/theme.html?ambiance">Ambiance</a>, <a href="../demo/theme.html?blackboard">Blackboard</a>.</li>
409
+ <li>More control over drag/drop
410
+ with <a href="manual.html#option_dragDrop"><code>dragDrop</code></a>
411
+ and <a href="manual.html#option_onDragEvent"><code>onDragEvent</code></a>
412
+ options.</li>
413
+ <li>Make HTML mode a bit less pedantic.</li>
414
+ <li>Add <a href="manual.html#compoundChange"><code>compoundChange</code></a> API method.</li>
415
+ <li>Several fixes in undo history and line hiding.</li>
416
+ <li>Remove (broken) support for <code>catchall</code> in key maps,
417
+ add <code>nofallthrough</code> boolean field instead.</li>
418
+ </ul>
419
+
420
+ <p class="rel">26-03-2012: <a href="http://codemirror.net/codemirror-2.23.zip">Version 2.23</a>:</p>
421
+
422
+ <ul class="rel-note">
423
+ <li>Change <strong>default binding for tab</strong> <a href="javascript:void(document.getElementById('tabbinding').style.display='')">[more]</a>
424
+ <div style="display: none" id=tabbinding>
425
+ Starting in 2.23, these bindings are default:
426
+ <ul><li>Tab: Insert tab character</li>
427
+ <li>Shift-tab: Reset line indentation to default</li>
428
+ <li>Ctrl/Cmd-[: Reduce line indentation (old tab behaviour)</li>
429
+ <li>Ctrl/Cmd-]: Increase line indentation (old shift-tab behaviour)</li>
430
+ </ul>
431
+ </div>
432
+ </li>
433
+ <li>New modes: <a href="../mode/xquery/index.html">XQuery</a> and <a href="../mode/vbscript/index.html">VBScript</a>.</li>
434
+ <li>Two new themes: <a href="../mode/less/index.html">lesser-dark</a> and <a href="../mode/xquery/index.html">xq-dark</a>.</li>
435
+ <li>Differentiate between background and text styles in <a href="manual.html#setLineClass"><code>setLineClass</code></a>.</li>
436
+ <li>Fix drag-and-drop in IE9+.</li>
437
+ <li>Extend <a href="manual.html#charCoords"><code>charCoords</code></a>
438
+ and <a href="manual.html#cursorCoords"><code>cursorCoords</code></a> with a <code>mode</code> argument.</li>
439
+ <li>Add <a href="manual.html#option_autofocus"><code>autofocus</code></a> option.</li>
440
+ <li>Add <a href="manual.html#findMarksAt"><code>findMarksAt</code></a> method.</li>
441
+ </ul>
442
+
443
+ <p class="rel">27-02-2012: <a href="http://codemirror.net/codemirror-2.22.zip">Version 2.22</a>:</p>
444
+
445
+ <ul class="rel-note">
446
+ <li>Allow <a href="manual.html#keymaps">key handlers</a> to pass up events, allow binding characters.</li>
447
+ <li>Add <a href="manual.html#option_autoClearEmptyLines"><code>autoClearEmptyLines</code></a> option.</li>
448
+ <li>Properly use tab stops when rendering tabs.</li>
449
+ <li>Make PHP mode more robust.</li>
450
+ <li>Support indentation blocks in <a href="manual.html#addon_foldcode">code folder</a>.</li>
451
+ <li>Add a script for <a href="manual.html#addon_match-highlighter">highlighting instances of the selection</a>.</li>
452
+ <li>New <a href="../mode/properties/index.html">.properties</a> mode.</li>
453
+ <li>Fix many bugs.</li>
454
+ </ul>
455
+
456
+ <p class="rel">27-01-2012: <a href="http://codemirror.net/codemirror-2.21.zip">Version 2.21</a>:</p>
457
+
458
+ <ul class="rel-note">
459
+ <li>Added <a href="../mode/less/index.html">LESS</a>, <a href="../mode/mysql/index.html">MySQL</a>,
460
+ <a href="../mode/go/index.html">Go</a>, and <a href="../mode/verilog/index.html">Verilog</a> modes.</li>
461
+ <li>Add <a href="manual.html#option_smartIndent"><code>smartIndent</code></a>
462
+ option.</li>
463
+ <li>Support a cursor in <a href="manual.html#option_readOnly"><code>readOnly</code></a>-mode.</li>
464
+ <li>Support assigning multiple styles to a token.</li>
465
+ <li>Use a new approach to drawing the selection.</li>
466
+ <li>Add <a href="manual.html#scrollTo"><code>scrollTo</code></a> method.</li>
467
+ <li>Allow undo/redo events to span non-adjacent lines.</li>
468
+ <li>Lots and lots of bugfixes.</li>
469
+ </ul>
470
+
471
+ <p class="rel">20-12-2011: <a href="http://codemirror.net/codemirror-2.2.zip">Version 2.2</a>:</p>
472
+
473
+ <ul class="rel-note">
474
+ <li>Slightly incompatible API changes. Read <a href="upgrade_v2.2.html">this</a>.</li>
475
+ <li>New approach
476
+ to <a href="manual.html#option_extraKeys">binding</a> keys,
477
+ support for <a href="manual.html#option_keyMap">custom
478
+ bindings</a>.</li>
479
+ <li>Support for overwrite (insert).</li>
480
+ <li><a href="manual.html#option_tabSize">Custom-width</a>
481
+ and <a href="../demo/visibletabs.html">stylable</a> tabs.</li>
482
+ <li>Moved more code into <a href="manual.html#addons">add-on scripts</a>.</li>
483
+ <li>Support for sane vertical cursor movement in wrapped lines.</li>
484
+ <li>More reliable handling of
485
+ editing <a href="manual.html#markText">marked text</a>.</li>
486
+ <li>Add minimal <a href="../demo/emacs.html">emacs</a>
487
+ and <a href="../demo/vim.html">vim</a> bindings.</li>
488
+ <li>Rename <code>coordsFromIndex</code>
489
+ to <a href="manual.html#posFromIndex"><code>posFromIndex</code></a>,
490
+ add <a href="manual.html#indexFromPos"><code>indexFromPos</code></a>
491
+ method.</li>
492
+ </ul>
493
+
494
+ <p class="rel">21-11-2011: <a href="http://codemirror.net/codemirror-2.18.zip">Version 2.18</a>:</p>
495
+ <p class="rel-note">Fixes <code>TextMarker.clear</code>, which is broken in 2.17.</p>
496
+
497
+ <p class="rel">21-11-2011: <a href="http://codemirror.net/codemirror-2.17.zip">Version 2.17</a>:</p>
498
+ <ul class="rel-note">
499
+ <li>Add support for <a href="manual.html#option_lineWrapping">line
500
+ wrapping</a> and <a href="manual.html#hideLine">code
501
+ folding</a>.</li>
502
+ <li>Add <a href="../mode/gfm/index.html">Github-style Markdown</a> mode.</li>
503
+ <li>Add <a href="../theme/monokai.css">Monokai</a>
504
+ and <a href="../theme/rubyblue.css">Rubyblue</a> themes.</li>
505
+ <li>Add <a href="manual.html#setBookmark"><code>setBookmark</code></a> method.</li>
506
+ <li>Move some of the demo code into reusable components
507
+ under <a href="../addon/"><code>lib/util</code></a>.</li>
508
+ <li>Make screen-coord-finding code faster and more reliable.</li>
509
+ <li>Fix drag-and-drop in Firefox.</li>
510
+ <li>Improve support for IME.</li>
511
+ <li>Speed up content rendering.</li>
512
+ <li>Fix browser's built-in search in Webkit.</li>
513
+ <li>Make double- and triple-click work in IE.</li>
514
+ <li>Various fixes to modes.</li>
515
+ </ul>
516
+
517
+ <p class="rel">27-10-2011: <a href="http://codemirror.net/codemirror-2.16.zip">Version 2.16</a>:</p>
518
+ <ul class="rel-note">
519
+ <li>Add <a href="../mode/perl/index.html">Perl</a>, <a href="../mode/rust/index.html">Rust</a>, <a href="../mode/tiddlywiki/index.html">TiddlyWiki</a>, and <a href="../mode/groovy/index.html">Groovy</a> modes.</li>
520
+ <li>Dragging text inside the editor now moves, rather than copies.</li>
521
+ <li>Add a <a href="manual.html#coordsFromIndex"><code>coordsFromIndex</code></a> method.</li>
522
+ <li><strong>API change</strong>: <code>setValue</code> now no longer clears history. Use <a href="manual.html#clearHistory"><code>clearHistory</code></a> for that.</li>
523
+ <li><strong>API change</strong>: <a href="manual.html#markText"><code>markText</code></a> now
524
+ returns an object with <code>clear</code> and <code>find</code>
525
+ methods. Marked text is now more robust when edited.</li>
526
+ <li>Fix editing code with tabs in Internet Explorer.</li>
527
+ </ul>
528
+
529
+ <p class="rel">26-09-2011: <a href="http://codemirror.net/codemirror-2.15.zip">Version 2.15</a>:</p>
530
+ <p class="rel-note">Fix bug that snuck into 2.14: Clicking the
531
+ character that currently has the cursor didn't re-focus the
532
+ editor.</p>
533
+
534
+ <p class="rel">26-09-2011: <a href="http://codemirror.net/codemirror-2.14.zip">Version 2.14</a>:</p>
535
+ <ul class="rel-note">
536
+ <li>Add <a href="../mode/clojure/index.html">Clojure</a>, <a href="../mode/pascal/index.html">Pascal</a>, <a href="../mode/ntriples/index.html">NTriples</a>, <a href="../mode/jinja2/index.html">Jinja2</a>, and <a href="../mode/markdown/index.html">Markdown</a> modes.</li>
537
+ <li>Add <a href="../theme/cobalt.css">Cobalt</a> and <a href="../theme/eclipse.css">Eclipse</a> themes.</li>
538
+ <li>Add a <a href="manual.html#option_fixedGutter"><code>fixedGutter</code></a> option.</li>
539
+ <li>Fix bug with <code>setValue</code> breaking cursor movement.</li>
540
+ <li>Make gutter updates much more efficient.</li>
541
+ <li>Allow dragging of text out of the editor (on modern browsers).</li>
542
+ </ul>
543
+
544
+
545
+ <p class="rel">23-08-2011: <a href="http://codemirror.net/codemirror-2.13.zip">Version 2.13</a>:</p>
546
+ <ul class="rel-note">
547
+ <li>Add <a href="../mode/ruby/index.html">Ruby</a>, <a href="../mode/r/index.html">R</a>, <a href="../mode/coffeescript/index.html">CoffeeScript</a>, and <a href="../mode/velocity/index.html">Velocity</a> modes.</li>
548
+ <li>Add <a href="manual.html#getGutterElement"><code>getGutterElement</code></a> to API.</li>
549
+ <li>Several fixes to scrolling and positioning.</li>
550
+ <li>Add <a href="manual.html#option_smartHome"><code>smartHome</code></a> option.</li>
551
+ <li>Add an experimental <a href="../mode/xmlpure/index.html">pure XML</a> mode.</li>
552
+ </ul>
553
+
554
+ <p class="rel">25-07-2011: <a href="http://codemirror.net/codemirror-2.12.zip">Version 2.12</a>:</p>
555
+ <ul class="rel-note">
556
+ <li>Add a <a href="../mode/sparql/index.html">SPARQL</a> mode.</li>
557
+ <li>Fix bug with cursor jumping around in an unfocused editor in IE.</li>
558
+ <li>Allow key and mouse events to bubble out of the editor. Ignore widget clicks.</li>
559
+ <li>Solve cursor flakiness after undo/redo.</li>
560
+ <li>Fix block-reindent ignoring the last few lines.</li>
561
+ <li>Fix parsing of multi-line attrs in XML mode.</li>
562
+ <li>Use <code>innerHTML</code> for HTML-escaping.</li>
563
+ <li>Some fixes to indentation in C-like mode.</li>
564
+ <li>Shrink horiz scrollbars when long lines removed.</li>
565
+ <li>Fix width feedback loop bug that caused the width of an inner DIV to shrink.</li>
566
+ </ul>
567
+
568
+ <p class="rel">04-07-2011: <a href="http://codemirror.net/codemirror-2.11.zip">Version 2.11</a>:</p>
569
+ <ul class="rel-note">
570
+ <li>Add a <a href="../mode/scheme/index.html">Scheme mode</a>.</li>
571
+ <li>Add a <code>replace</code> method to search cursors, for cursor-preserving replacements.</li>
572
+ <li>Make the <a href="../mode/clike/index.html">C-like mode</a> mode more customizable.</li>
573
+ <li>Update XML mode to spot mismatched tags.</li>
574
+ <li>Add <code>getStateAfter</code> API and <code>compareState</code> mode API methods for finer-grained mode magic.</li>
575
+ <li>Add a <code>getScrollerElement</code> API method to manipulate the scrolling DIV.</li>
576
+ <li>Fix drag-and-drop for Firefox.</li>
577
+ <li>Add a C# configuration for the <a href="../mode/clike/index.html">C-like mode</a>.</li>
578
+ <li>Add <a href="../demo/fullscreen.html">full-screen editing</a> and <a href="../demo/changemode.html">mode-changing</a> demos.</li>
579
+ </ul>
580
+
581
+ <p class="rel">07-06-2011: <a href="http://codemirror.net/codemirror-2.1.zip">Version 2.1</a>:</p>
582
+ <p class="rel-note">Add
583
+ a <a href="manual.html#option_theme">theme</a> system
584
+ (<a href="../demo/theme.html">demo</a>). Note that this is not
585
+ backwards-compatible—you'll have to update your styles and
586
+ modes!</p>
587
+
588
+ <p class="rel">07-06-2011: <a href="http://codemirror.net/codemirror-2.02.zip">Version 2.02</a>:</p>
589
+ <ul class="rel-note">
590
+ <li>Add a <a href="../mode/lua/index.html">Lua mode</a>.</li>
591
+ <li>Fix reverse-searching for a regexp.</li>
592
+ <li>Empty lines can no longer break highlighting.</li>
593
+ <li>Rework scrolling model (the outer wrapper no longer does the scrolling).</li>
594
+ <li>Solve horizontal jittering on long lines.</li>
595
+ <li>Add <a href="../demo/runmode.html">runmode.js</a>.</li>
596
+ <li>Immediately re-highlight text when typing.</li>
597
+ <li>Fix problem with 'sticking' horizontal scrollbar.</li>
598
+ </ul>
599
+
600
+ <p class="rel">26-05-2011: <a href="http://codemirror.net/codemirror-2.01.zip">Version 2.01</a>:</p>
601
+ <ul class="rel-note">
602
+ <li>Add a <a href="../mode/smalltalk/index.html">Smalltalk mode</a>.</li>
603
+ <li>Add a <a href="../mode/rst/index.html">reStructuredText mode</a>.</li>
604
+ <li>Add a <a href="../mode/python/index.html">Python mode</a>.</li>
605
+ <li>Add a <a href="../mode/plsql/index.html">PL/SQL mode</a>.</li>
606
+ <li><code>coordsChar</code> now works</li>
607
+ <li>Fix a problem where <code>onCursorActivity</code> interfered with <code>onChange</code>.</li>
608
+ <li>Fix a number of scrolling and mouse-click-position glitches.</li>
609
+ <li>Pass information about the changed lines to <code>onChange</code>.</li>
610
+ <li>Support cmd-up/down on OS X.</li>
611
+ <li>Add triple-click line selection.</li>
612
+ <li>Don't handle shift when changing the selection through the API.</li>
613
+ <li>Support <code>"nocursor"</code> mode for <code>readOnly</code> option.</li>
614
+ <li>Add an <code>onHighlightComplete</code> option.</li>
615
+ <li>Fix the context menu for Firefox.</li>
616
+ </ul>
617
+
618
+ <p class="rel">28-03-2011: <a href="http://codemirror.net/codemirror-2.0.zip">Version 2.0</a>:</p>
619
+ <p class="rel-note">CodeMirror 2 is a complete rewrite that's
620
+ faster, smaller, simpler to use, and less dependent on browser
621
+ quirks. See <a href="internals.html">this</a>
622
+ and <a href="http://groups.google.com/group/codemirror/browse_thread/thread/5a8e894024a9f580">this</a>
623
+ for more information.</p>
624
+
625
+ <p class="rel">22-02-2011: <a href="https://github.com/marijnh/codemirror/tree/beta2">Version 2.0 beta 2</a>:</p>
626
+ <p class="rel-note">Somewhat more mature API, lots of bugs shaken out.</p>
627
+
628
+ <p class="rel">17-02-2011: <a href="http://codemirror.net/codemirror-0.94.zip">Version 0.94</a>:</p>
629
+ <ul class="rel-note">
630
+ <li><code>tabMode: "spaces"</code> was modified slightly (now indents when something is selected).</li>
631
+ <li>Fixes a bug that would cause the selection code to break on some IE versions.</li>
632
+ <li>Disabling spell-check on WebKit browsers now works.</li>
633
+ </ul>
634
+
635
+ <p class="rel">08-02-2011: <a href="http://codemirror.net/">Version 2.0 beta 1</a>:</p>
636
+ <p class="rel-note">CodeMirror 2 is a complete rewrite of
637
+ CodeMirror, no longer depending on an editable frame.</p>
638
+
639
+ <p class="rel">19-01-2011: <a href="http://codemirror.net/codemirror-0.93.zip">Version 0.93</a>:</p>
640
+ <ul class="rel-note">
641
+ <li>Added a <a href="contrib/regex/index.html">Regular Expression</a> parser.</li>
642
+ <li>Fixes to the PHP parser.</li>
643
+ <li>Support for regular expression in search/replace.</li>
644
+ <li>Add <code>save</code> method to instances created with <code>fromTextArea</code>.</li>
645
+ <li>Add support for MS T-SQL in the SQL parser.</li>
646
+ <li>Support use of CSS classes for highlighting brackets.</li>
647
+ <li>Fix yet another hang with line-numbering in hidden editors.</li>
648
+ </ul>
649
+ </section>
650
+
651
+ <section id=v1>
652
+
653
+ <h2>Version 0.x</h2>
654
+
655
+ <p class="rel">28-03-2011: <a href="http://codemirror.net/codemirror-1.0.zip">Version 1.0</a>:</p>
656
+ <ul class="rel-note">
657
+ <li>Fix error when debug history overflows.</li>
658
+ <li>Refine handling of C# verbatim strings.</li>
659
+ <li>Fix some issues with JavaScript indentation.</li>
660
+ </ul>
661
+
662
+ <p class="rel">17-12-2010: <a href="http://codemirror.net/codemirror-0.92.zip">Version 0.92</a>:</p>
663
+ <ul class="rel-note">
664
+ <li>Make CodeMirror work in XHTML documents.</li>
665
+ <li>Fix bug in handling of backslashes in Python strings.</li>
666
+ <li>The <code>styleNumbers</code> option is now officially
667
+ supported and documented.</li>
668
+ <li><code>onLineNumberClick</code> option added.</li>
669
+ <li>More consistent names <code>onLoad</code> and
670
+ <code>onCursorActivity</code> callbacks. Old names still work, but
671
+ are deprecated.</li>
672
+ <li>Add a <a href="contrib/freemarker/index.html">Freemarker</a> mode.</li>
673
+ </ul>
674
+
675
+ <p class="rel">11-11-2010: <a
676
+ href="http://codemirror.net/codemirror-0.91.zip">Version 0.91</a>:</p>
677
+ <ul class="rel-note">
678
+ <li>Adds support for <a href="contrib/java">Java</a>.</li>
679
+ <li>Small additions to the <a href="contrib/php">PHP</a> and <a href="contrib/sql">SQL</a> parsers.</li>
680
+ <li>Work around various <a href="https://bugs.webkit.org/show_bug.cgi?id=47806">Webkit</a> <a href="https://bugs.webkit.org/show_bug.cgi?id=23474">issues</a>.</li>
681
+ <li>Fix <code>toTextArea</code> to update the code in the textarea.</li>
682
+ <li>Add a <code>noScriptCaching</code> option (hack to ease development).</li>
683
+ <li>Make sub-modes of <a href="mixedtest.html">HTML mixed</a> mode configurable.</li>
684
+ </ul>
685
+
686
+ <p class="rel">02-10-2010: <a
687
+ href="http://codemirror.net/codemirror-0.9.zip">Version 0.9</a>:</p>
688
+ <ul class="rel-note">
689
+ <li>Add support for searching backwards.</li>
690
+ <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>
691
+ <li>Makes <code>height: "dynamic"</code> more robust.</li>
692
+ <li>Fixes bug where paste did not work on OS X.</li>
693
+ <li>Add a <code>enterMode</code> and <code>electricChars</code> options to make indentation even more customizable.</li>
694
+ <li>Add <code>firstLineNumber</code> option.</li>
695
+ <li>Fix bad handling of <code>@media</code> rules by the CSS parser.</li>
696
+ <li>Take a new, more robust approach to working around the invisible-last-line bug in WebKit.</li>
697
+ </ul>
698
+
699
+ <p class="rel">22-07-2010: <a
700
+ href="http://codemirror.net/codemirror-0.8.zip">Version 0.8</a>:</p>
701
+ <ul class="rel-note">
702
+ <li>Add a <code>cursorCoords</code> method to find the screen
703
+ coordinates of the cursor.</li>
704
+ <li>A number of fixes and support for more syntax in the PHP parser.</li>
705
+ <li>Fix indentation problem with JSON-mode JS parser in Webkit.</li>
706
+ <li>Add a <a href="compress.html">minification</a> UI.</li>
707
+ <li>Support a <code>height: dynamic</code> mode, where the editor's
708
+ height will adjust to the size of its content.</li>
709
+ <li>Better support for IME input mode.</li>
710
+ <li>Fix JavaScript parser getting confused when seeing a no-argument
711
+ function call.</li>
712
+ <li>Have CSS parser see the difference between selectors and other
713
+ identifiers.</li>
714
+ <li>Fix scrolling bug when pasting in a horizontally-scrolled
715
+ editor.</li>
716
+ <li>Support <code>toTextArea</code> method in instances created with
717
+ <code>fromTextArea</code>.</li>
718
+ <li>Work around new Opera cursor bug that causes the cursor to jump
719
+ when pressing backspace at the end of a line.</li>
720
+ </ul>
721
+
722
+ <p class="rel">27-04-2010: <a
723
+ href="http://codemirror.net/codemirror-0.67.zip">Version
724
+ 0.67</a>:</p>
725
+ <p class="rel-note">More consistent page-up/page-down behaviour
726
+ across browsers. Fix some issues with hidden editors looping forever
727
+ when line-numbers were enabled. Make PHP parser parse
728
+ <code>"\\"</code> correctly. Have <code>jumpToLine</code> work on
729
+ line handles, and add <code>cursorLine</code> function to fetch the
730
+ line handle where the cursor currently is. Add new
731
+ <code>setStylesheet</code> function to switch style-sheets in a
732
+ running editor.</p>
733
+
734
+ <p class="rel">01-03-2010: <a
735
+ href="http://codemirror.net/codemirror-0.66.zip">Version
736
+ 0.66</a>:</p>
737
+ <p class="rel-note">Adds <code>removeLine</code> method to API.
738
+ Introduces the <a href="contrib/plsql/index.html">PLSQL parser</a>.
739
+ Marks XML errors by adding (rather than replacing) a CSS class, so
740
+ that they can be disabled by modifying their style. Fixes several
741
+ selection bugs, and a number of small glitches.</p>
742
+
743
+ <p class="rel">12-11-2009: <a
744
+ href="http://codemirror.net/codemirror-0.65.zip">Version
745
+ 0.65</a>:</p>
746
+ <p class="rel-note">Add support for having both line-wrapping and
747
+ line-numbers turned on, make paren-highlighting style customisable
748
+ (<code>markParen</code> and <code>unmarkParen</code> config
749
+ options), work around a selection bug that Opera
750
+ <em>re</em>introduced in version 10.</p>
751
+
752
+ <p class="rel">23-10-2009: <a
753
+ href="http://codemirror.net/codemirror-0.64.zip">Version
754
+ 0.64</a>:</p>
755
+ <p class="rel-note">Solves some issues introduced by the
756
+ paste-handling changes from the previous release. Adds
757
+ <code>setSpellcheck</code>, <code>setTextWrapping</code>,
758
+ <code>setIndentUnit</code>, <code>setUndoDepth</code>,
759
+ <code>setTabMode</code>, and <code>setLineNumbers</code> to
760
+ customise a running editor. Introduces an <a
761
+ href="contrib/sql/index.html">SQL</a> parser. Fixes a few small
762
+ problems in the <a href="contrib/python/index.html">Python</a>
763
+ parser. And, as usual, add workarounds for various newly discovered
764
+ browser incompatibilities.</p>
765
+
766
+ <p class="rel"><em>31-08-2009</em>: <a href="http://codemirror.net/codemirror-0.63.zip">Version 0.63</a>:</p>
767
+ <p class="rel-note"> Overhaul of paste-handling (less fragile), fixes for several
768
+ serious IE8 issues (cursor jumping, end-of-document bugs) and a number
769
+ of small problems.</p>
770
+
771
+ <p class="rel"><em>30-05-2009</em>: <a href="http://codemirror.net/codemirror-0.62.zip">Version 0.62</a>:</p>
772
+ <p class="rel-note">Introduces <a href="contrib/python/index.html">Python</a>
773
+ and <a href="contrib/lua/index.html">Lua</a> parsers. Add
774
+ <code>setParser</code> (on-the-fly mode changing) and
775
+ <code>clearHistory</code> methods. Make parsing passes time-based
776
+ instead of lines-based (see the <code>passTime</code> option).</p>
777
+
778
+ </section>
779
+ </article>