tui_editor-rails 1.0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (887) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +8 -0
  3. data/.ruby-version +1 -0
  4. data/Gemfile +6 -0
  5. data/Gemfile.lock +20 -0
  6. data/README.md +69 -0
  7. data/Rakefile +2 -0
  8. data/bin/console +14 -0
  9. data/bin/setup +8 -0
  10. data/example/.gitignore +30 -0
  11. data/example/.ruby-version +1 -0
  12. data/example/Gemfile +64 -0
  13. data/example/Gemfile.lock +224 -0
  14. data/example/README.md +67 -0
  15. data/example/Rakefile +6 -0
  16. data/example/app/assets/config/manifest.js +3 -0
  17. data/example/app/assets/images/.keep +0 -0
  18. data/example/app/assets/images/screen_capture.png +0 -0
  19. data/example/app/assets/javascripts/application.js +23 -0
  20. data/example/app/assets/javascripts/cable.js +13 -0
  21. data/example/app/assets/javascripts/channels/.keep +0 -0
  22. data/example/app/assets/javascripts/home.coffee +3 -0
  23. data/example/app/assets/javascripts/posts.coffee +3 -0
  24. data/example/app/assets/stylesheets/application.scss +4 -0
  25. data/example/app/assets/stylesheets/home.scss +3 -0
  26. data/example/app/assets/stylesheets/posts.scss +3 -0
  27. data/example/app/assets/stylesheets/scaffolds.scss +84 -0
  28. data/example/app/channels/application_cable/channel.rb +4 -0
  29. data/example/app/channels/application_cable/connection.rb +4 -0
  30. data/example/app/controllers/application_controller.rb +2 -0
  31. data/example/app/controllers/concerns/.keep +0 -0
  32. data/example/app/controllers/home_controller.rb +4 -0
  33. data/example/app/controllers/posts_controller.rb +74 -0
  34. data/example/app/helpers/application_helper.rb +2 -0
  35. data/example/app/helpers/home_helper.rb +2 -0
  36. data/example/app/helpers/posts_helper.rb +2 -0
  37. data/example/app/jobs/application_job.rb +2 -0
  38. data/example/app/mailers/application_mailer.rb +4 -0
  39. data/example/app/models/application_record.rb +3 -0
  40. data/example/app/models/concerns/.keep +0 -0
  41. data/example/app/models/post.rb +2 -0
  42. data/example/app/views/home/index.html.erb +11 -0
  43. data/example/app/views/layouts/application.html.erb +14 -0
  44. data/example/app/views/layouts/mailer.html.erb +13 -0
  45. data/example/app/views/layouts/mailer.text.erb +1 -0
  46. data/example/app/views/posts/_form.html.erb +27 -0
  47. data/example/app/views/posts/_post.json.jbuilder +2 -0
  48. data/example/app/views/posts/edit.html.erb +6 -0
  49. data/example/app/views/posts/index.html.erb +29 -0
  50. data/example/app/views/posts/index.json.jbuilder +1 -0
  51. data/example/app/views/posts/new.html.erb +5 -0
  52. data/example/app/views/posts/show.html.erb +14 -0
  53. data/example/app/views/posts/show.json.jbuilder +1 -0
  54. data/example/bin/bundle +3 -0
  55. data/example/bin/rails +9 -0
  56. data/example/bin/rake +9 -0
  57. data/example/bin/setup +36 -0
  58. data/example/bin/spring +17 -0
  59. data/example/bin/update +31 -0
  60. data/example/bin/yarn +11 -0
  61. data/example/config.ru +5 -0
  62. data/example/config/application.rb +19 -0
  63. data/example/config/boot.rb +4 -0
  64. data/example/config/cable.yml +10 -0
  65. data/example/config/credentials.yml.enc +1 -0
  66. data/example/config/database.yml +25 -0
  67. data/example/config/environment.rb +5 -0
  68. data/example/config/environments/development.rb +61 -0
  69. data/example/config/environments/production.rb +94 -0
  70. data/example/config/environments/test.rb +46 -0
  71. data/example/config/initializers/application_controller_renderer.rb +8 -0
  72. data/example/config/initializers/assets.rb +14 -0
  73. data/example/config/initializers/backtrace_silencers.rb +7 -0
  74. data/example/config/initializers/content_security_policy.rb +22 -0
  75. data/example/config/initializers/cookies_serializer.rb +5 -0
  76. data/example/config/initializers/filter_parameter_logging.rb +4 -0
  77. data/example/config/initializers/inflections.rb +16 -0
  78. data/example/config/initializers/mime_types.rb +4 -0
  79. data/example/config/initializers/wrap_parameters.rb +14 -0
  80. data/example/config/locales/en.yml +33 -0
  81. data/example/config/puma.rb +34 -0
  82. data/example/config/routes.rb +6 -0
  83. data/example/config/spring.rb +6 -0
  84. data/example/config/storage.yml +35 -0
  85. data/example/db/migrate/20180208210404_create_posts.rb +10 -0
  86. data/example/db/schema.rb +22 -0
  87. data/example/db/seeds.rb +7 -0
  88. data/example/lib/assets/.keep +0 -0
  89. data/example/lib/tasks/.keep +0 -0
  90. data/example/log/.keep +0 -0
  91. data/example/package.json +5 -0
  92. data/example/public/404.html +67 -0
  93. data/example/public/422.html +67 -0
  94. data/example/public/500.html +66 -0
  95. data/example/public/apple-touch-icon-precomposed.png +0 -0
  96. data/example/public/apple-touch-icon.png +0 -0
  97. data/example/public/favicon.ico +0 -0
  98. data/example/public/robots.txt +1 -0
  99. data/example/test/application_system_test_case.rb +5 -0
  100. data/example/test/controllers/.keep +0 -0
  101. data/example/test/controllers/home_controller_test.rb +9 -0
  102. data/example/test/controllers/posts_controller_test.rb +48 -0
  103. data/example/test/fixtures/.keep +0 -0
  104. data/example/test/fixtures/files/.keep +0 -0
  105. data/example/test/fixtures/posts.yml +9 -0
  106. data/example/test/helpers/.keep +0 -0
  107. data/example/test/integration/.keep +0 -0
  108. data/example/test/mailers/.keep +0 -0
  109. data/example/test/models/.keep +0 -0
  110. data/example/test/models/post_test.rb +7 -0
  111. data/example/test/system/.keep +0 -0
  112. data/example/test/system/posts_test.rb +45 -0
  113. data/example/test/test_helper.rb +10 -0
  114. data/example/tmp/.keep +0 -0
  115. data/example/vendor/.keep +0 -0
  116. data/lib/tui_editor/rails.rb +8 -0
  117. data/lib/tui_editor/rails/version.rb +5 -0
  118. data/tui_editor-rails.gemspec +34 -0
  119. data/vendor/assets/components/codemirror/.bower.json +31 -0
  120. data/vendor/assets/components/codemirror/AUTHORS +714 -0
  121. data/vendor/assets/components/codemirror/CHANGELOG.md +1316 -0
  122. data/vendor/assets/components/codemirror/CONTRIBUTING.md +92 -0
  123. data/vendor/assets/components/codemirror/LICENSE +21 -0
  124. data/vendor/assets/components/codemirror/README.md +35 -0
  125. data/vendor/assets/components/codemirror/addon/comment/comment.js +209 -0
  126. data/vendor/assets/components/codemirror/addon/comment/continuecomment.js +78 -0
  127. data/vendor/assets/components/codemirror/addon/dialog/dialog.css +32 -0
  128. data/vendor/assets/components/codemirror/addon/dialog/dialog.js +157 -0
  129. data/vendor/assets/components/codemirror/addon/display/autorefresh.js +47 -0
  130. data/vendor/assets/components/codemirror/addon/display/fullscreen.css +6 -0
  131. data/vendor/assets/components/codemirror/addon/display/fullscreen.js +41 -0
  132. data/vendor/assets/components/codemirror/addon/display/panel.js +123 -0
  133. data/vendor/assets/components/codemirror/addon/display/placeholder.js +63 -0
  134. data/vendor/assets/components/codemirror/addon/display/rulers.js +51 -0
  135. data/vendor/assets/components/codemirror/addon/edit/closebrackets.js +194 -0
  136. data/vendor/assets/components/codemirror/addon/edit/closetag.js +175 -0
  137. data/vendor/assets/components/codemirror/addon/edit/continuelist.js +89 -0
  138. data/vendor/assets/components/codemirror/addon/edit/matchbrackets.js +145 -0
  139. data/vendor/assets/components/codemirror/addon/edit/matchtags.js +66 -0
  140. data/vendor/assets/components/codemirror/addon/edit/trailingspace.js +27 -0
  141. data/vendor/assets/components/codemirror/addon/fold/brace-fold.js +105 -0
  142. data/vendor/assets/components/codemirror/addon/fold/comment-fold.js +59 -0
  143. data/vendor/assets/components/codemirror/addon/fold/foldcode.js +152 -0
  144. data/vendor/assets/components/codemirror/addon/fold/foldgutter.css +20 -0
  145. data/vendor/assets/components/codemirror/addon/fold/foldgutter.js +146 -0
  146. data/vendor/assets/components/codemirror/addon/fold/indent-fold.js +48 -0
  147. data/vendor/assets/components/codemirror/addon/fold/markdown-fold.js +49 -0
  148. data/vendor/assets/components/codemirror/addon/fold/xml-fold.js +182 -0
  149. data/vendor/assets/components/codemirror/addon/hint/anyword-hint.js +41 -0
  150. data/vendor/assets/components/codemirror/addon/hint/css-hint.js +60 -0
  151. data/vendor/assets/components/codemirror/addon/hint/html-hint.js +348 -0
  152. data/vendor/assets/components/codemirror/addon/hint/javascript-hint.js +155 -0
  153. data/vendor/assets/components/codemirror/addon/hint/show-hint.css +36 -0
  154. data/vendor/assets/components/codemirror/addon/hint/show-hint.js +432 -0
  155. data/vendor/assets/components/codemirror/addon/hint/sql-hint.js +286 -0
  156. data/vendor/assets/components/codemirror/addon/hint/xml-hint.js +110 -0
  157. data/vendor/assets/components/codemirror/addon/lint/coffeescript-lint.js +47 -0
  158. data/vendor/assets/components/codemirror/addon/lint/css-lint.js +40 -0
  159. data/vendor/assets/components/codemirror/addon/lint/html-lint.js +53 -0
  160. data/vendor/assets/components/codemirror/addon/lint/javascript-lint.js +63 -0
  161. data/vendor/assets/components/codemirror/addon/lint/json-lint.js +37 -0
  162. data/vendor/assets/components/codemirror/addon/lint/lint.css +73 -0
  163. data/vendor/assets/components/codemirror/addon/lint/lint.js +252 -0
  164. data/vendor/assets/components/codemirror/addon/lint/yaml-lint.js +41 -0
  165. data/vendor/assets/components/codemirror/addon/merge/merge.css +113 -0
  166. data/vendor/assets/components/codemirror/addon/merge/merge.js +1001 -0
  167. data/vendor/assets/components/codemirror/addon/mode/loadmode.js +64 -0
  168. data/vendor/assets/components/codemirror/addon/mode/multiplex.js +123 -0
  169. data/vendor/assets/components/codemirror/addon/mode/multiplex_test.js +33 -0
  170. data/vendor/assets/components/codemirror/addon/mode/overlay.js +90 -0
  171. data/vendor/assets/components/codemirror/addon/mode/simple.js +216 -0
  172. data/vendor/assets/components/codemirror/addon/runmode/colorize.js +40 -0
  173. data/vendor/assets/components/codemirror/addon/runmode/runmode-standalone.js +158 -0
  174. data/vendor/assets/components/codemirror/addon/runmode/runmode.js +72 -0
  175. data/vendor/assets/components/codemirror/addon/runmode/runmode.node.js +197 -0
  176. data/vendor/assets/components/codemirror/addon/scroll/annotatescrollbar.js +122 -0
  177. data/vendor/assets/components/codemirror/addon/scroll/scrollpastend.js +48 -0
  178. data/vendor/assets/components/codemirror/addon/scroll/simplescrollbars.css +66 -0
  179. data/vendor/assets/components/codemirror/addon/scroll/simplescrollbars.js +152 -0
  180. data/vendor/assets/components/codemirror/addon/search/jump-to-line.js +49 -0
  181. data/vendor/assets/components/codemirror/addon/search/match-highlighter.js +165 -0
  182. data/vendor/assets/components/codemirror/addon/search/matchesonscrollbar.css +8 -0
  183. data/vendor/assets/components/codemirror/addon/search/matchesonscrollbar.js +97 -0
  184. data/vendor/assets/components/codemirror/addon/search/search.js +252 -0
  185. data/vendor/assets/components/codemirror/addon/search/searchcursor.js +289 -0
  186. data/vendor/assets/components/codemirror/addon/selection/active-line.js +72 -0
  187. data/vendor/assets/components/codemirror/addon/selection/mark-selection.js +119 -0
  188. data/vendor/assets/components/codemirror/addon/selection/selection-pointer.js +98 -0
  189. data/vendor/assets/components/codemirror/addon/tern/tern.css +87 -0
  190. data/vendor/assets/components/codemirror/addon/tern/tern.js +718 -0
  191. data/vendor/assets/components/codemirror/addon/tern/worker.js +44 -0
  192. data/vendor/assets/components/codemirror/addon/wrap/hardwrap.js +144 -0
  193. data/vendor/assets/components/codemirror/bower.json +17 -0
  194. data/vendor/assets/components/codemirror/component-tools/bower.json +17 -0
  195. data/vendor/assets/components/codemirror/component-tools/build.sh +31 -0
  196. data/vendor/assets/components/codemirror/component-tools/update.py +38 -0
  197. data/vendor/assets/components/codemirror/keymap/emacs.js +416 -0
  198. data/vendor/assets/components/codemirror/keymap/sublime.js +685 -0
  199. data/vendor/assets/components/codemirror/keymap/vim.js +5219 -0
  200. data/vendor/assets/components/codemirror/lib/codemirror.css +346 -0
  201. data/vendor/assets/components/codemirror/lib/codemirror.js +9669 -0
  202. data/vendor/assets/components/codemirror/mode/apl/apl.js +174 -0
  203. data/vendor/assets/components/codemirror/mode/asciiarmor/asciiarmor.js +74 -0
  204. data/vendor/assets/components/codemirror/mode/asn.1/asn.1.js +204 -0
  205. data/vendor/assets/components/codemirror/mode/asterisk/asterisk.js +196 -0
  206. data/vendor/assets/components/codemirror/mode/brainfuck/brainfuck.js +85 -0
  207. data/vendor/assets/components/codemirror/mode/clike/clike.js +817 -0
  208. data/vendor/assets/components/codemirror/mode/clojure/clojure.js +306 -0
  209. data/vendor/assets/components/codemirror/mode/cmake/cmake.js +97 -0
  210. data/vendor/assets/components/codemirror/mode/cobol/cobol.js +255 -0
  211. data/vendor/assets/components/codemirror/mode/coffeescript/coffeescript.js +359 -0
  212. data/vendor/assets/components/codemirror/mode/commonlisp/commonlisp.js +124 -0
  213. data/vendor/assets/components/codemirror/mode/crystal/crystal.js +433 -0
  214. data/vendor/assets/components/codemirror/mode/css/css.js +832 -0
  215. data/vendor/assets/components/codemirror/mode/cypher/cypher.js +150 -0
  216. data/vendor/assets/components/codemirror/mode/d/d.js +218 -0
  217. data/vendor/assets/components/codemirror/mode/dart/dart.js +157 -0
  218. data/vendor/assets/components/codemirror/mode/diff/diff.js +47 -0
  219. data/vendor/assets/components/codemirror/mode/django/django.js +356 -0
  220. data/vendor/assets/components/codemirror/mode/dockerfile/dockerfile.js +79 -0
  221. data/vendor/assets/components/codemirror/mode/dtd/dtd.js +142 -0
  222. data/vendor/assets/components/codemirror/mode/dylan/dylan.js +352 -0
  223. data/vendor/assets/components/codemirror/mode/ebnf/ebnf.js +195 -0
  224. data/vendor/assets/components/codemirror/mode/ecl/ecl.js +206 -0
  225. data/vendor/assets/components/codemirror/mode/eiffel/eiffel.js +160 -0
  226. data/vendor/assets/components/codemirror/mode/elm/elm.js +205 -0
  227. data/vendor/assets/components/codemirror/mode/erlang/erlang.js +619 -0
  228. data/vendor/assets/components/codemirror/mode/factor/factor.js +85 -0
  229. data/vendor/assets/components/codemirror/mode/fcl/fcl.js +173 -0
  230. data/vendor/assets/components/codemirror/mode/forth/forth.js +180 -0
  231. data/vendor/assets/components/codemirror/mode/fortran/fortran.js +188 -0
  232. data/vendor/assets/components/codemirror/mode/gas/gas.js +345 -0
  233. data/vendor/assets/components/codemirror/mode/gfm/gfm.js +129 -0
  234. data/vendor/assets/components/codemirror/mode/gherkin/gherkin.js +178 -0
  235. data/vendor/assets/components/codemirror/mode/go/go.js +187 -0
  236. data/vendor/assets/components/codemirror/mode/groovy/groovy.js +230 -0
  237. data/vendor/assets/components/codemirror/mode/haml/haml.js +161 -0
  238. data/vendor/assets/components/codemirror/mode/handlebars/handlebars.js +62 -0
  239. data/vendor/assets/components/codemirror/mode/haskell-literate/haskell-literate.js +43 -0
  240. data/vendor/assets/components/codemirror/mode/haskell/haskell.js +267 -0
  241. data/vendor/assets/components/codemirror/mode/haxe/haxe.js +515 -0
  242. data/vendor/assets/components/codemirror/mode/htmlembedded/htmlembedded.js +37 -0
  243. data/vendor/assets/components/codemirror/mode/htmlmixed/htmlmixed.js +152 -0
  244. data/vendor/assets/components/codemirror/mode/http/http.js +113 -0
  245. data/vendor/assets/components/codemirror/mode/idl/idl.js +290 -0
  246. data/vendor/assets/components/codemirror/mode/javascript/javascript.js +865 -0
  247. data/vendor/assets/components/codemirror/mode/jinja2/jinja2.js +142 -0
  248. data/vendor/assets/components/codemirror/mode/jsx/jsx.js +148 -0
  249. data/vendor/assets/components/codemirror/mode/julia/julia.js +418 -0
  250. data/vendor/assets/components/codemirror/mode/livescript/livescript.js +280 -0
  251. data/vendor/assets/components/codemirror/mode/lua/lua.js +159 -0
  252. data/vendor/assets/components/codemirror/mode/markdown/markdown.js +872 -0
  253. data/vendor/assets/components/codemirror/mode/mathematica/mathematica.js +176 -0
  254. data/vendor/assets/components/codemirror/mode/mbox/mbox.js +129 -0
  255. data/vendor/assets/components/codemirror/mode/meta.js +217 -0
  256. data/vendor/assets/components/codemirror/mode/mirc/mirc.js +193 -0
  257. data/vendor/assets/components/codemirror/mode/mllike/mllike.js +356 -0
  258. data/vendor/assets/components/codemirror/mode/modelica/modelica.js +245 -0
  259. data/vendor/assets/components/codemirror/mode/mscgen/mscgen.js +175 -0
  260. data/vendor/assets/components/codemirror/mode/mumps/mumps.js +148 -0
  261. data/vendor/assets/components/codemirror/mode/nginx/nginx.js +178 -0
  262. data/vendor/assets/components/codemirror/mode/nsis/nsis.js +95 -0
  263. data/vendor/assets/components/codemirror/mode/ntriples/ntriples.js +195 -0
  264. data/vendor/assets/components/codemirror/mode/octave/octave.js +139 -0
  265. data/vendor/assets/components/codemirror/mode/oz/oz.js +252 -0
  266. data/vendor/assets/components/codemirror/mode/pascal/pascal.js +109 -0
  267. data/vendor/assets/components/codemirror/mode/pegjs/pegjs.js +114 -0
  268. data/vendor/assets/components/codemirror/mode/perl/perl.js +837 -0
  269. data/vendor/assets/components/codemirror/mode/php/php.js +234 -0
  270. data/vendor/assets/components/codemirror/mode/pig/pig.js +178 -0
  271. data/vendor/assets/components/codemirror/mode/powershell/powershell.js +398 -0
  272. data/vendor/assets/components/codemirror/mode/properties/properties.js +78 -0
  273. data/vendor/assets/components/codemirror/mode/protobuf/protobuf.js +69 -0
  274. data/vendor/assets/components/codemirror/mode/pug/pug.js +591 -0
  275. data/vendor/assets/components/codemirror/mode/puppet/puppet.js +220 -0
  276. data/vendor/assets/components/codemirror/mode/python/python.js +334 -0
  277. data/vendor/assets/components/codemirror/mode/q/q.js +139 -0
  278. data/vendor/assets/components/codemirror/mode/r/r.js +183 -0
  279. data/vendor/assets/components/codemirror/mode/rpm/rpm.js +109 -0
  280. data/vendor/assets/components/codemirror/mode/rst/rst.js +557 -0
  281. data/vendor/assets/components/codemirror/mode/ruby/ruby.js +296 -0
  282. data/vendor/assets/components/codemirror/mode/rust/rust.js +72 -0
  283. data/vendor/assets/components/codemirror/mode/sas/sas.js +303 -0
  284. data/vendor/assets/components/codemirror/mode/sass/sass.js +454 -0
  285. data/vendor/assets/components/codemirror/mode/scheme/scheme.js +249 -0
  286. data/vendor/assets/components/codemirror/mode/shell/shell.js +151 -0
  287. data/vendor/assets/components/codemirror/mode/sieve/sieve.js +193 -0
  288. data/vendor/assets/components/codemirror/mode/slim/slim.js +575 -0
  289. data/vendor/assets/components/codemirror/mode/smalltalk/smalltalk.js +168 -0
  290. data/vendor/assets/components/codemirror/mode/smarty/smarty.js +225 -0
  291. data/vendor/assets/components/codemirror/mode/solr/solr.js +104 -0
  292. data/vendor/assets/components/codemirror/mode/soy/soy.js +354 -0
  293. data/vendor/assets/components/codemirror/mode/sparql/sparql.js +180 -0
  294. data/vendor/assets/components/codemirror/mode/spreadsheet/spreadsheet.js +112 -0
  295. data/vendor/assets/components/codemirror/mode/sql/sql.js +488 -0
  296. data/vendor/assets/components/codemirror/mode/stex/stex.js +251 -0
  297. data/vendor/assets/components/codemirror/mode/stylus/stylus.js +771 -0
  298. data/vendor/assets/components/codemirror/mode/swift/swift.js +219 -0
  299. data/vendor/assets/components/codemirror/mode/tcl/tcl.js +139 -0
  300. data/vendor/assets/components/codemirror/mode/textile/textile.js +469 -0
  301. data/vendor/assets/components/codemirror/mode/tiddlywiki/tiddlywiki.css +14 -0
  302. data/vendor/assets/components/codemirror/mode/tiddlywiki/tiddlywiki.js +308 -0
  303. data/vendor/assets/components/codemirror/mode/tiki/tiki.css +26 -0
  304. data/vendor/assets/components/codemirror/mode/tiki/tiki.js +312 -0
  305. data/vendor/assets/components/codemirror/mode/toml/toml.js +88 -0
  306. data/vendor/assets/components/codemirror/mode/tornado/tornado.js +68 -0
  307. data/vendor/assets/components/codemirror/mode/troff/troff.js +84 -0
  308. data/vendor/assets/components/codemirror/mode/ttcn-cfg/ttcn-cfg.js +214 -0
  309. data/vendor/assets/components/codemirror/mode/ttcn/ttcn.js +283 -0
  310. data/vendor/assets/components/codemirror/mode/turtle/turtle.js +162 -0
  311. data/vendor/assets/components/codemirror/mode/twig/twig.js +141 -0
  312. data/vendor/assets/components/codemirror/mode/vb/vb.js +275 -0
  313. data/vendor/assets/components/codemirror/mode/vbscript/vbscript.js +350 -0
  314. data/vendor/assets/components/codemirror/mode/velocity/velocity.js +201 -0
  315. data/vendor/assets/components/codemirror/mode/verilog/verilog.js +675 -0
  316. data/vendor/assets/components/codemirror/mode/vhdl/vhdl.js +189 -0
  317. data/vendor/assets/components/codemirror/mode/vue/vue.js +77 -0
  318. data/vendor/assets/components/codemirror/mode/webidl/webidl.js +195 -0
  319. data/vendor/assets/components/codemirror/mode/xml/xml.js +401 -0
  320. data/vendor/assets/components/codemirror/mode/xquery/xquery.js +448 -0
  321. data/vendor/assets/components/codemirror/mode/yacas/yacas.js +204 -0
  322. data/vendor/assets/components/codemirror/mode/yaml-frontmatter/yaml-frontmatter.js +68 -0
  323. data/vendor/assets/components/codemirror/mode/yaml/yaml.js +118 -0
  324. data/vendor/assets/components/codemirror/mode/z80/z80.js +116 -0
  325. data/vendor/assets/components/codemirror/rollup.config.js +18 -0
  326. data/vendor/assets/components/codemirror/src/codemirror.js +3 -0
  327. data/vendor/assets/components/codemirror/src/display/Display.js +106 -0
  328. data/vendor/assets/components/codemirror/src/display/focus.js +47 -0
  329. data/vendor/assets/components/codemirror/src/display/gutters.js +34 -0
  330. data/vendor/assets/components/codemirror/src/display/highlight_worker.js +55 -0
  331. data/vendor/assets/components/codemirror/src/display/line_numbers.js +48 -0
  332. data/vendor/assets/components/codemirror/src/display/mode_state.js +22 -0
  333. data/vendor/assets/components/codemirror/src/display/operations.js +205 -0
  334. data/vendor/assets/components/codemirror/src/display/scroll_events.js +115 -0
  335. data/vendor/assets/components/codemirror/src/display/scrollbars.js +192 -0
  336. data/vendor/assets/components/codemirror/src/display/scrolling.js +184 -0
  337. data/vendor/assets/components/codemirror/src/display/selection.js +158 -0
  338. data/vendor/assets/components/codemirror/src/display/update_display.js +260 -0
  339. data/vendor/assets/components/codemirror/src/display/update_line.js +188 -0
  340. data/vendor/assets/components/codemirror/src/display/update_lines.js +64 -0
  341. data/vendor/assets/components/codemirror/src/display/view_tracking.js +153 -0
  342. data/vendor/assets/components/codemirror/src/edit/CodeMirror.js +214 -0
  343. data/vendor/assets/components/codemirror/src/edit/commands.js +178 -0
  344. data/vendor/assets/components/codemirror/src/edit/deleteNearSelection.js +30 -0
  345. data/vendor/assets/components/codemirror/src/edit/drop_events.js +119 -0
  346. data/vendor/assets/components/codemirror/src/edit/fromTextArea.js +61 -0
  347. data/vendor/assets/components/codemirror/src/edit/global_events.js +44 -0
  348. data/vendor/assets/components/codemirror/src/edit/key_events.js +159 -0
  349. data/vendor/assets/components/codemirror/src/edit/legacy.js +62 -0
  350. data/vendor/assets/components/codemirror/src/edit/main.js +69 -0
  351. data/vendor/assets/components/codemirror/src/edit/methods.js +539 -0
  352. data/vendor/assets/components/codemirror/src/edit/mouse_events.js +407 -0
  353. data/vendor/assets/components/codemirror/src/edit/options.js +191 -0
  354. data/vendor/assets/components/codemirror/src/edit/utils.js +7 -0
  355. data/vendor/assets/components/codemirror/src/input/ContentEditableInput.js +517 -0
  356. data/vendor/assets/components/codemirror/src/input/TextareaInput.js +350 -0
  357. data/vendor/assets/components/codemirror/src/input/indent.js +71 -0
  358. data/vendor/assets/components/codemirror/src/input/input.js +135 -0
  359. data/vendor/assets/components/codemirror/src/input/keymap.js +148 -0
  360. data/vendor/assets/components/codemirror/src/input/keynames.js +17 -0
  361. data/vendor/assets/components/codemirror/src/input/movement.js +110 -0
  362. data/vendor/assets/components/codemirror/src/line/highlight.js +284 -0
  363. data/vendor/assets/components/codemirror/src/line/line_data.js +337 -0
  364. data/vendor/assets/components/codemirror/src/line/pos.js +40 -0
  365. data/vendor/assets/components/codemirror/src/line/saw_special_spans.js +10 -0
  366. data/vendor/assets/components/codemirror/src/line/spans.js +372 -0
  367. data/vendor/assets/components/codemirror/src/line/utils_line.js +85 -0
  368. data/vendor/assets/components/codemirror/src/measurement/position_measurement.js +700 -0
  369. data/vendor/assets/components/codemirror/src/measurement/widgets.js +26 -0
  370. data/vendor/assets/components/codemirror/src/model/Doc.js +432 -0
  371. data/vendor/assets/components/codemirror/src/model/change_measurement.js +61 -0
  372. data/vendor/assets/components/codemirror/src/model/changes.js +330 -0
  373. data/vendor/assets/components/codemirror/src/model/chunk.js +167 -0
  374. data/vendor/assets/components/codemirror/src/model/document_data.js +111 -0
  375. data/vendor/assets/components/codemirror/src/model/history.js +228 -0
  376. data/vendor/assets/components/codemirror/src/model/line_widget.js +78 -0
  377. data/vendor/assets/components/codemirror/src/model/mark_text.js +292 -0
  378. data/vendor/assets/components/codemirror/src/model/selection.js +82 -0
  379. data/vendor/assets/components/codemirror/src/model/selection_updates.js +208 -0
  380. data/vendor/assets/components/codemirror/src/modes.js +96 -0
  381. data/vendor/assets/components/codemirror/src/util/StringStream.js +90 -0
  382. data/vendor/assets/components/codemirror/src/util/bidi.js +214 -0
  383. data/vendor/assets/components/codemirror/src/util/browser.js +33 -0
  384. data/vendor/assets/components/codemirror/src/util/dom.js +97 -0
  385. data/vendor/assets/components/codemirror/src/util/event.js +103 -0
  386. data/vendor/assets/components/codemirror/src/util/feature_detection.js +84 -0
  387. data/vendor/assets/components/codemirror/src/util/misc.js +150 -0
  388. data/vendor/assets/components/codemirror/src/util/operation_group.js +72 -0
  389. data/vendor/assets/components/codemirror/theme/3024-day.css +41 -0
  390. data/vendor/assets/components/codemirror/theme/3024-night.css +39 -0
  391. data/vendor/assets/components/codemirror/theme/abcdef.css +32 -0
  392. data/vendor/assets/components/codemirror/theme/ambiance-mobile.css +5 -0
  393. data/vendor/assets/components/codemirror/theme/ambiance.css +74 -0
  394. data/vendor/assets/components/codemirror/theme/base16-dark.css +38 -0
  395. data/vendor/assets/components/codemirror/theme/base16-light.css +38 -0
  396. data/vendor/assets/components/codemirror/theme/bespin.css +34 -0
  397. data/vendor/assets/components/codemirror/theme/blackboard.css +32 -0
  398. data/vendor/assets/components/codemirror/theme/cobalt.css +25 -0
  399. data/vendor/assets/components/codemirror/theme/colorforth.css +33 -0
  400. data/vendor/assets/components/codemirror/theme/dracula.css +40 -0
  401. data/vendor/assets/components/codemirror/theme/duotone-dark.css +35 -0
  402. data/vendor/assets/components/codemirror/theme/duotone-light.css +36 -0
  403. data/vendor/assets/components/codemirror/theme/eclipse.css +23 -0
  404. data/vendor/assets/components/codemirror/theme/elegant.css +13 -0
  405. data/vendor/assets/components/codemirror/theme/erlang-dark.css +34 -0
  406. data/vendor/assets/components/codemirror/theme/hopscotch.css +34 -0
  407. data/vendor/assets/components/codemirror/theme/icecoder.css +43 -0
  408. data/vendor/assets/components/codemirror/theme/isotope.css +34 -0
  409. data/vendor/assets/components/codemirror/theme/lesser-dark.css +47 -0
  410. data/vendor/assets/components/codemirror/theme/liquibyte.css +95 -0
  411. data/vendor/assets/components/codemirror/theme/material.css +53 -0
  412. data/vendor/assets/components/codemirror/theme/mbo.css +37 -0
  413. data/vendor/assets/components/codemirror/theme/mdn-like.css +46 -0
  414. data/vendor/assets/components/codemirror/theme/midnight.css +43 -0
  415. data/vendor/assets/components/codemirror/theme/monokai.css +36 -0
  416. data/vendor/assets/components/codemirror/theme/neat.css +12 -0
  417. data/vendor/assets/components/codemirror/theme/neo.css +43 -0
  418. data/vendor/assets/components/codemirror/theme/night.css +27 -0
  419. data/vendor/assets/components/codemirror/theme/oceanic-next.css +44 -0
  420. data/vendor/assets/components/codemirror/theme/panda-syntax.css +85 -0
  421. data/vendor/assets/components/codemirror/theme/paraiso-dark.css +38 -0
  422. data/vendor/assets/components/codemirror/theme/paraiso-light.css +38 -0
  423. data/vendor/assets/components/codemirror/theme/pastel-on-dark.css +52 -0
  424. data/vendor/assets/components/codemirror/theme/railscasts.css +34 -0
  425. data/vendor/assets/components/codemirror/theme/rubyblue.css +25 -0
  426. data/vendor/assets/components/codemirror/theme/seti.css +44 -0
  427. data/vendor/assets/components/codemirror/theme/shadowfox.css +52 -0
  428. data/vendor/assets/components/codemirror/theme/solarized.css +168 -0
  429. data/vendor/assets/components/codemirror/theme/the-matrix.css +30 -0
  430. data/vendor/assets/components/codemirror/theme/tomorrow-night-bright.css +35 -0
  431. data/vendor/assets/components/codemirror/theme/tomorrow-night-eighties.css +38 -0
  432. data/vendor/assets/components/codemirror/theme/ttcn.css +64 -0
  433. data/vendor/assets/components/codemirror/theme/twilight.css +32 -0
  434. data/vendor/assets/components/codemirror/theme/vibrant-ink.css +34 -0
  435. data/vendor/assets/components/codemirror/theme/xq-dark.css +53 -0
  436. data/vendor/assets/components/codemirror/theme/xq-light.css +43 -0
  437. data/vendor/assets/components/codemirror/theme/yeti.css +44 -0
  438. data/vendor/assets/components/codemirror/theme/zenburn.css +37 -0
  439. data/vendor/assets/components/eve/.bower.json +12 -0
  440. data/vendor/assets/components/eve/LICENSE +202 -0
  441. data/vendor/assets/components/eve/README.md +7 -0
  442. data/vendor/assets/components/eve/component.json +13 -0
  443. data/vendor/assets/components/eve/e.html +66 -0
  444. data/vendor/assets/components/eve/eve.js +371 -0
  445. data/vendor/assets/components/eve/package.json +18 -0
  446. data/vendor/assets/components/highlightjs/.bower.json +24 -0
  447. data/vendor/assets/components/highlightjs/LICENSE +24 -0
  448. data/vendor/assets/components/highlightjs/Makefile +21 -0
  449. data/vendor/assets/components/highlightjs/README.md +12 -0
  450. data/vendor/assets/components/highlightjs/bower.json +14 -0
  451. data/vendor/assets/components/highlightjs/component.json +12 -0
  452. data/vendor/assets/components/highlightjs/composer.json +26 -0
  453. data/vendor/assets/components/highlightjs/highlight.pack.js +16645 -0
  454. data/vendor/assets/components/highlightjs/highlight.pack.min.js +15 -0
  455. data/vendor/assets/components/highlightjs/package.json +8 -0
  456. data/vendor/assets/components/highlightjs/styles/agate.css +108 -0
  457. data/vendor/assets/components/highlightjs/styles/androidstudio.css +66 -0
  458. data/vendor/assets/components/highlightjs/styles/arduino-light.css +88 -0
  459. data/vendor/assets/components/highlightjs/styles/arta.css +73 -0
  460. data/vendor/assets/components/highlightjs/styles/ascetic.css +45 -0
  461. data/vendor/assets/components/highlightjs/styles/atelier-cave-dark.css +83 -0
  462. data/vendor/assets/components/highlightjs/styles/atelier-cave-light.css +85 -0
  463. data/vendor/assets/components/highlightjs/styles/atelier-cave.dark.css +113 -0
  464. data/vendor/assets/components/highlightjs/styles/atelier-cave.light.css +113 -0
  465. data/vendor/assets/components/highlightjs/styles/atelier-dune-dark.css +69 -0
  466. data/vendor/assets/components/highlightjs/styles/atelier-dune-light.css +69 -0
  467. data/vendor/assets/components/highlightjs/styles/atelier-dune.dark.css +94 -0
  468. data/vendor/assets/components/highlightjs/styles/atelier-dune.light.css +94 -0
  469. data/vendor/assets/components/highlightjs/styles/atelier-estuary-dark.css +84 -0
  470. data/vendor/assets/components/highlightjs/styles/atelier-estuary-light.css +84 -0
  471. data/vendor/assets/components/highlightjs/styles/atelier-estuary.dark.css +113 -0
  472. data/vendor/assets/components/highlightjs/styles/atelier-estuary.light.css +113 -0
  473. data/vendor/assets/components/highlightjs/styles/atelier-forest-dark.css +69 -0
  474. data/vendor/assets/components/highlightjs/styles/atelier-forest-light.css +69 -0
  475. data/vendor/assets/components/highlightjs/styles/atelier-forest.dark.css +94 -0
  476. data/vendor/assets/components/highlightjs/styles/atelier-forest.light.css +94 -0
  477. data/vendor/assets/components/highlightjs/styles/atelier-heath-dark.css +69 -0
  478. data/vendor/assets/components/highlightjs/styles/atelier-heath-light.css +69 -0
  479. data/vendor/assets/components/highlightjs/styles/atelier-heath.dark.css +94 -0
  480. data/vendor/assets/components/highlightjs/styles/atelier-heath.light.css +94 -0
  481. data/vendor/assets/components/highlightjs/styles/atelier-lakeside-dark.css +69 -0
  482. data/vendor/assets/components/highlightjs/styles/atelier-lakeside-light.css +69 -0
  483. data/vendor/assets/components/highlightjs/styles/atelier-lakeside.dark.css +94 -0
  484. data/vendor/assets/components/highlightjs/styles/atelier-lakeside.light.css +94 -0
  485. data/vendor/assets/components/highlightjs/styles/atelier-plateau-dark.css +84 -0
  486. data/vendor/assets/components/highlightjs/styles/atelier-plateau-light.css +84 -0
  487. data/vendor/assets/components/highlightjs/styles/atelier-plateau.dark.css +113 -0
  488. data/vendor/assets/components/highlightjs/styles/atelier-plateau.light.css +113 -0
  489. data/vendor/assets/components/highlightjs/styles/atelier-savanna-dark.css +84 -0
  490. data/vendor/assets/components/highlightjs/styles/atelier-savanna-light.css +84 -0
  491. data/vendor/assets/components/highlightjs/styles/atelier-savanna.dark.css +113 -0
  492. data/vendor/assets/components/highlightjs/styles/atelier-savanna.light.css +113 -0
  493. data/vendor/assets/components/highlightjs/styles/atelier-seaside-dark.css +69 -0
  494. data/vendor/assets/components/highlightjs/styles/atelier-seaside-light.css +69 -0
  495. data/vendor/assets/components/highlightjs/styles/atelier-seaside.dark.css +94 -0
  496. data/vendor/assets/components/highlightjs/styles/atelier-seaside.light.css +94 -0
  497. data/vendor/assets/components/highlightjs/styles/atelier-sulphurpool-dark.css +69 -0
  498. data/vendor/assets/components/highlightjs/styles/atelier-sulphurpool-light.css +69 -0
  499. data/vendor/assets/components/highlightjs/styles/atelier-sulphurpool.dark.css +94 -0
  500. data/vendor/assets/components/highlightjs/styles/atelier-sulphurpool.light.css +94 -0
  501. data/vendor/assets/components/highlightjs/styles/atom-one-dark.css +96 -0
  502. data/vendor/assets/components/highlightjs/styles/atom-one-light.css +96 -0
  503. data/vendor/assets/components/highlightjs/styles/brown-paper.css +64 -0
  504. data/vendor/assets/components/highlightjs/styles/brown-papersq.png +0 -0
  505. data/vendor/assets/components/highlightjs/styles/brown_paper.css +103 -0
  506. data/vendor/assets/components/highlightjs/styles/brown_papersq.png +0 -0
  507. data/vendor/assets/components/highlightjs/styles/codepen-embed.css +60 -0
  508. data/vendor/assets/components/highlightjs/styles/color-brewer.css +71 -0
  509. data/vendor/assets/components/highlightjs/styles/darcula.css +77 -0
  510. data/vendor/assets/components/highlightjs/styles/dark.css +63 -0
  511. data/vendor/assets/components/highlightjs/styles/darkula.css +6 -0
  512. data/vendor/assets/components/highlightjs/styles/default.css +99 -0
  513. data/vendor/assets/components/highlightjs/styles/docco.css +97 -0
  514. data/vendor/assets/components/highlightjs/styles/dracula.css +76 -0
  515. data/vendor/assets/components/highlightjs/styles/far.css +71 -0
  516. data/vendor/assets/components/highlightjs/styles/foundation.css +88 -0
  517. data/vendor/assets/components/highlightjs/styles/github-gist.css +71 -0
  518. data/vendor/assets/components/highlightjs/styles/github.css +99 -0
  519. data/vendor/assets/components/highlightjs/styles/googlecode.css +89 -0
  520. data/vendor/assets/components/highlightjs/styles/grayscale.css +101 -0
  521. data/vendor/assets/components/highlightjs/styles/gruvbox-dark.css +108 -0
  522. data/vendor/assets/components/highlightjs/styles/gruvbox-light.css +108 -0
  523. data/vendor/assets/components/highlightjs/styles/hopscotch.css +83 -0
  524. data/vendor/assets/components/highlightjs/styles/hybrid.css +102 -0
  525. data/vendor/assets/components/highlightjs/styles/idea.css +97 -0
  526. data/vendor/assets/components/highlightjs/styles/ir-black.css +73 -0
  527. data/vendor/assets/components/highlightjs/styles/ir_black.css +106 -0
  528. data/vendor/assets/components/highlightjs/styles/kimbie.dark.css +74 -0
  529. data/vendor/assets/components/highlightjs/styles/kimbie.light.css +74 -0
  530. data/vendor/assets/components/highlightjs/styles/magula.css +70 -0
  531. data/vendor/assets/components/highlightjs/styles/mono-blue.css +59 -0
  532. data/vendor/assets/components/highlightjs/styles/monokai-sublime.css +83 -0
  533. data/vendor/assets/components/highlightjs/styles/monokai.css +70 -0
  534. data/vendor/assets/components/highlightjs/styles/monokai_sublime.css +154 -0
  535. data/vendor/assets/components/highlightjs/styles/obsidian.css +88 -0
  536. data/vendor/assets/components/highlightjs/styles/ocean.css +74 -0
  537. data/vendor/assets/components/highlightjs/styles/paraiso-dark.css +72 -0
  538. data/vendor/assets/components/highlightjs/styles/paraiso-light.css +72 -0
  539. data/vendor/assets/components/highlightjs/styles/paraiso.dark.css +96 -0
  540. data/vendor/assets/components/highlightjs/styles/paraiso.light.css +96 -0
  541. data/vendor/assets/components/highlightjs/styles/pojoaque.css +83 -0
  542. data/vendor/assets/components/highlightjs/styles/pojoaque.jpg +0 -0
  543. data/vendor/assets/components/highlightjs/styles/purebasic.css +96 -0
  544. data/vendor/assets/components/highlightjs/styles/qtcreator_dark.css +83 -0
  545. data/vendor/assets/components/highlightjs/styles/qtcreator_light.css +83 -0
  546. data/vendor/assets/components/highlightjs/styles/railscasts.css +106 -0
  547. data/vendor/assets/components/highlightjs/styles/rainbow.css +85 -0
  548. data/vendor/assets/components/highlightjs/styles/routeros.css +108 -0
  549. data/vendor/assets/components/highlightjs/styles/school-book.css +72 -0
  550. data/vendor/assets/components/highlightjs/styles/school-book.png +0 -0
  551. data/vendor/assets/components/highlightjs/styles/school_book.css +111 -0
  552. data/vendor/assets/components/highlightjs/styles/school_book.png +0 -0
  553. data/vendor/assets/components/highlightjs/styles/solarized-dark.css +84 -0
  554. data/vendor/assets/components/highlightjs/styles/solarized-light.css +84 -0
  555. data/vendor/assets/components/highlightjs/styles/solarized_dark.css +107 -0
  556. data/vendor/assets/components/highlightjs/styles/solarized_light.css +107 -0
  557. data/vendor/assets/components/highlightjs/styles/sunburst.css +102 -0
  558. data/vendor/assets/components/highlightjs/styles/tomorrow-night-blue.css +75 -0
  559. data/vendor/assets/components/highlightjs/styles/tomorrow-night-bright.css +74 -0
  560. data/vendor/assets/components/highlightjs/styles/tomorrow-night-eighties.css +74 -0
  561. data/vendor/assets/components/highlightjs/styles/tomorrow-night.css +75 -0
  562. data/vendor/assets/components/highlightjs/styles/tomorrow.css +72 -0
  563. data/vendor/assets/components/highlightjs/styles/vs.css +68 -0
  564. data/vendor/assets/components/highlightjs/styles/vs2015.css +115 -0
  565. data/vendor/assets/components/highlightjs/styles/xcode.css +93 -0
  566. data/vendor/assets/components/highlightjs/styles/xt256.css +92 -0
  567. data/vendor/assets/components/highlightjs/styles/zenburn.css +80 -0
  568. data/vendor/assets/components/jquery/.bower.json +25 -0
  569. data/vendor/assets/components/jquery/AUTHORS.txt +313 -0
  570. data/vendor/assets/components/jquery/LICENSE.txt +36 -0
  571. data/vendor/assets/components/jquery/README.md +67 -0
  572. data/vendor/assets/components/jquery/bower.json +14 -0
  573. data/vendor/assets/components/jquery/dist/core.js +399 -0
  574. data/vendor/assets/components/jquery/dist/jquery.js +10364 -0
  575. data/vendor/assets/components/jquery/dist/jquery.min.js +2 -0
  576. data/vendor/assets/components/jquery/dist/jquery.min.map +1 -0
  577. data/vendor/assets/components/jquery/dist/jquery.slim.js +8269 -0
  578. data/vendor/assets/components/jquery/dist/jquery.slim.min.js +2 -0
  579. data/vendor/assets/components/jquery/dist/jquery.slim.min.map +1 -0
  580. data/vendor/assets/components/jquery/external/sizzle/LICENSE.txt +36 -0
  581. data/vendor/assets/components/jquery/external/sizzle/dist/sizzle.js +2272 -0
  582. data/vendor/assets/components/jquery/external/sizzle/dist/sizzle.min.js +3 -0
  583. data/vendor/assets/components/jquery/external/sizzle/dist/sizzle.min.map +1 -0
  584. data/vendor/assets/components/jquery/src/.eslintrc.json +5 -0
  585. data/vendor/assets/components/jquery/src/ajax.js +856 -0
  586. data/vendor/assets/components/jquery/src/ajax/jsonp.js +103 -0
  587. data/vendor/assets/components/jquery/src/ajax/load.js +77 -0
  588. data/vendor/assets/components/jquery/src/ajax/parseXML.js +30 -0
  589. data/vendor/assets/components/jquery/src/ajax/script.js +77 -0
  590. data/vendor/assets/components/jquery/src/ajax/var/location.js +5 -0
  591. data/vendor/assets/components/jquery/src/ajax/var/nonce.js +5 -0
  592. data/vendor/assets/components/jquery/src/ajax/var/rquery.js +5 -0
  593. data/vendor/assets/components/jquery/src/ajax/xhr.js +170 -0
  594. data/vendor/assets/components/jquery/src/attributes.js +13 -0
  595. data/vendor/assets/components/jquery/src/attributes/attr.js +141 -0
  596. data/vendor/assets/components/jquery/src/attributes/classes.js +186 -0
  597. data/vendor/assets/components/jquery/src/attributes/prop.js +143 -0
  598. data/vendor/assets/components/jquery/src/attributes/support.js +33 -0
  599. data/vendor/assets/components/jquery/src/attributes/val.js +191 -0
  600. data/vendor/assets/components/jquery/src/callbacks.js +236 -0
  601. data/vendor/assets/components/jquery/src/core.js +399 -0
  602. data/vendor/assets/components/jquery/src/core/DOMEval.js +30 -0
  603. data/vendor/assets/components/jquery/src/core/access.js +72 -0
  604. data/vendor/assets/components/jquery/src/core/camelCase.js +23 -0
  605. data/vendor/assets/components/jquery/src/core/init.js +129 -0
  606. data/vendor/assets/components/jquery/src/core/nodeName.js +13 -0
  607. data/vendor/assets/components/jquery/src/core/parseHTML.js +65 -0
  608. data/vendor/assets/components/jquery/src/core/ready-no-deferred.js +97 -0
  609. data/vendor/assets/components/jquery/src/core/ready.js +86 -0
  610. data/vendor/assets/components/jquery/src/core/readyException.js +13 -0
  611. data/vendor/assets/components/jquery/src/core/stripAndCollapse.js +14 -0
  612. data/vendor/assets/components/jquery/src/core/support.js +20 -0
  613. data/vendor/assets/components/jquery/src/core/toType.js +20 -0
  614. data/vendor/assets/components/jquery/src/core/var/rsingleTag.js +6 -0
  615. data/vendor/assets/components/jquery/src/css.js +481 -0
  616. data/vendor/assets/components/jquery/src/css/addGetHookIf.js +26 -0
  617. data/vendor/assets/components/jquery/src/css/adjustCSS.js +73 -0
  618. data/vendor/assets/components/jquery/src/css/curCSS.js +65 -0
  619. data/vendor/assets/components/jquery/src/css/hiddenVisibleSelectors.js +15 -0
  620. data/vendor/assets/components/jquery/src/css/showHide.js +105 -0
  621. data/vendor/assets/components/jquery/src/css/support.js +102 -0
  622. data/vendor/assets/components/jquery/src/css/var/cssExpand.js +5 -0
  623. data/vendor/assets/components/jquery/src/css/var/getStyles.js +17 -0
  624. data/vendor/assets/components/jquery/src/css/var/isHiddenWithinTree.js +34 -0
  625. data/vendor/assets/components/jquery/src/css/var/rboxStyle.js +7 -0
  626. data/vendor/assets/components/jquery/src/css/var/rnumnonpx.js +7 -0
  627. data/vendor/assets/components/jquery/src/css/var/swap.js +26 -0
  628. data/vendor/assets/components/jquery/src/data.js +180 -0
  629. data/vendor/assets/components/jquery/src/data/Data.js +162 -0
  630. data/vendor/assets/components/jquery/src/data/var/acceptData.js +19 -0
  631. data/vendor/assets/components/jquery/src/data/var/dataPriv.js +7 -0
  632. data/vendor/assets/components/jquery/src/data/var/dataUser.js +7 -0
  633. data/vendor/assets/components/jquery/src/deferred.js +399 -0
  634. data/vendor/assets/components/jquery/src/deferred/exceptionHook.js +21 -0
  635. data/vendor/assets/components/jquery/src/deprecated.js +98 -0
  636. data/vendor/assets/components/jquery/src/dimensions.js +57 -0
  637. data/vendor/assets/components/jquery/src/effects.js +702 -0
  638. data/vendor/assets/components/jquery/src/effects/Tween.js +123 -0
  639. data/vendor/assets/components/jquery/src/effects/animatedSelector.js +15 -0
  640. data/vendor/assets/components/jquery/src/event.js +748 -0
  641. data/vendor/assets/components/jquery/src/event/ajax.js +22 -0
  642. data/vendor/assets/components/jquery/src/event/alias.js +29 -0
  643. data/vendor/assets/components/jquery/src/event/focusin.js +55 -0
  644. data/vendor/assets/components/jquery/src/event/support.js +11 -0
  645. data/vendor/assets/components/jquery/src/event/trigger.js +199 -0
  646. data/vendor/assets/components/jquery/src/exports/amd.js +26 -0
  647. data/vendor/assets/components/jquery/src/exports/global.js +34 -0
  648. data/vendor/assets/components/jquery/src/jquery.js +40 -0
  649. data/vendor/assets/components/jquery/src/manipulation.js +486 -0
  650. data/vendor/assets/components/jquery/src/manipulation/_evalUrl.js +23 -0
  651. data/vendor/assets/components/jquery/src/manipulation/buildFragment.js +105 -0
  652. data/vendor/assets/components/jquery/src/manipulation/getAll.js +32 -0
  653. data/vendor/assets/components/jquery/src/manipulation/setGlobalEval.js +22 -0
  654. data/vendor/assets/components/jquery/src/manipulation/support.js +35 -0
  655. data/vendor/assets/components/jquery/src/manipulation/var/rcheckableType.js +5 -0
  656. data/vendor/assets/components/jquery/src/manipulation/var/rscriptType.js +5 -0
  657. data/vendor/assets/components/jquery/src/manipulation/var/rtagName.js +5 -0
  658. data/vendor/assets/components/jquery/src/manipulation/wrapMap.js +29 -0
  659. data/vendor/assets/components/jquery/src/offset.js +233 -0
  660. data/vendor/assets/components/jquery/src/queue.js +145 -0
  661. data/vendor/assets/components/jquery/src/queue/delay.js +24 -0
  662. data/vendor/assets/components/jquery/src/selector-native.js +237 -0
  663. data/vendor/assets/components/jquery/src/selector-sizzle.js +19 -0
  664. data/vendor/assets/components/jquery/src/selector.js +3 -0
  665. data/vendor/assets/components/jquery/src/serialize.js +132 -0
  666. data/vendor/assets/components/jquery/src/traversing.js +191 -0
  667. data/vendor/assets/components/jquery/src/traversing/findFilter.js +97 -0
  668. data/vendor/assets/components/jquery/src/traversing/var/dir.js +22 -0
  669. data/vendor/assets/components/jquery/src/traversing/var/rneedsContext.js +8 -0
  670. data/vendor/assets/components/jquery/src/traversing/var/siblings.js +17 -0
  671. data/vendor/assets/components/jquery/src/var/ObjectFunctionString.js +7 -0
  672. data/vendor/assets/components/jquery/src/var/arr.js +5 -0
  673. data/vendor/assets/components/jquery/src/var/class2type.js +6 -0
  674. data/vendor/assets/components/jquery/src/var/concat.js +7 -0
  675. data/vendor/assets/components/jquery/src/var/document.js +5 -0
  676. data/vendor/assets/components/jquery/src/var/documentElement.js +7 -0
  677. data/vendor/assets/components/jquery/src/var/fnToString.js +7 -0
  678. data/vendor/assets/components/jquery/src/var/getProto.js +5 -0
  679. data/vendor/assets/components/jquery/src/var/hasOwn.js +7 -0
  680. data/vendor/assets/components/jquery/src/var/indexOf.js +7 -0
  681. data/vendor/assets/components/jquery/src/var/isFunction.js +13 -0
  682. data/vendor/assets/components/jquery/src/var/isWindow.js +8 -0
  683. data/vendor/assets/components/jquery/src/var/pnum.js +5 -0
  684. data/vendor/assets/components/jquery/src/var/push.js +7 -0
  685. data/vendor/assets/components/jquery/src/var/rcssNum.js +9 -0
  686. data/vendor/assets/components/jquery/src/var/rnothtmlwhite.js +8 -0
  687. data/vendor/assets/components/jquery/src/var/slice.js +7 -0
  688. data/vendor/assets/components/jquery/src/var/support.js +6 -0
  689. data/vendor/assets/components/jquery/src/var/toString.js +7 -0
  690. data/vendor/assets/components/jquery/src/wrap.js +78 -0
  691. data/vendor/assets/components/markdown-it/.bower.json +38 -0
  692. data/vendor/assets/components/markdown-it/CHANGELOG.md +442 -0
  693. data/vendor/assets/components/markdown-it/CONTRIBUTING.md +15 -0
  694. data/vendor/assets/components/markdown-it/LICENSE +22 -0
  695. data/vendor/assets/components/markdown-it/Procfile +1 -0
  696. data/vendor/assets/components/markdown-it/README.md +294 -0
  697. data/vendor/assets/components/markdown-it/bin/markdown-it.js +113 -0
  698. data/vendor/assets/components/markdown-it/bower.json +28 -0
  699. data/vendor/assets/components/markdown-it/dist/markdown-it.js +7963 -0
  700. data/vendor/assets/components/markdown-it/dist/markdown-it.min.js +1 -0
  701. data/vendor/assets/components/markdown-it/package.json +64 -0
  702. data/vendor/assets/components/plantuml-encoder/.bower.json +29 -0
  703. data/vendor/assets/components/plantuml-encoder/LICENSE +19 -0
  704. data/vendor/assets/components/plantuml-encoder/README.md +38 -0
  705. data/vendor/assets/components/plantuml-encoder/bower.json +20 -0
  706. data/vendor/assets/components/plantuml-encoder/dist/plantuml-encoder.js +3994 -0
  707. data/vendor/assets/components/plantuml-encoder/dist/plantuml-encoder.min.js +1 -0
  708. data/vendor/assets/components/plantuml-encoder/package.json +33 -0
  709. data/vendor/assets/components/raphael/.bower.json +45 -0
  710. data/vendor/assets/components/raphael/bower.json +31 -0
  711. data/vendor/assets/components/raphael/dev/banner.txt +8 -0
  712. data/vendor/assets/components/raphael/dev/raphael.amd.js +14 -0
  713. data/vendor/assets/components/raphael/dev/raphael.core.js +5413 -0
  714. data/vendor/assets/components/raphael/dev/raphael.svg.js +1428 -0
  715. data/vendor/assets/components/raphael/dev/raphael.vml.js +1010 -0
  716. data/vendor/assets/components/raphael/dev/test/svg/dom.js +295 -0
  717. data/vendor/assets/components/raphael/dev/test/vml/dom.js +5 -0
  718. data/vendor/assets/components/raphael/license.txt +21 -0
  719. data/vendor/assets/components/raphael/raphael.js +8330 -0
  720. data/vendor/assets/components/raphael/raphael.min.js +3 -0
  721. data/vendor/assets/components/raphael/raphael.no-deps.js +7959 -0
  722. data/vendor/assets/components/raphael/raphael.no-deps.min.js +3 -0
  723. data/vendor/assets/components/raphael/webpack.config.js +62 -0
  724. data/vendor/assets/components/squire-rte/.bower.json +34 -0
  725. data/vendor/assets/components/squire-rte/Demo.html +143 -0
  726. data/vendor/assets/components/squire-rte/LICENSE +21 -0
  727. data/vendor/assets/components/squire-rte/Makefile +22 -0
  728. data/vendor/assets/components/squire-rte/README.md +473 -0
  729. data/vendor/assets/components/squire-rte/bower.json +24 -0
  730. data/vendor/assets/components/squire-rte/build/document.html +54 -0
  731. data/vendor/assets/components/squire-rte/build/squire-raw.js +4722 -0
  732. data/vendor/assets/components/squire-rte/build/squire.js +2 -0
  733. data/vendor/assets/components/squire-rte/package.json +31 -0
  734. data/vendor/assets/components/squire-rte/source/Clean.js +358 -0
  735. data/vendor/assets/components/squire-rte/source/Clipboard.js +331 -0
  736. data/vendor/assets/components/squire-rte/source/Constants.js +60 -0
  737. data/vendor/assets/components/squire-rte/source/Editor.js +2201 -0
  738. data/vendor/assets/components/squire-rte/source/KeyHandlers.js +502 -0
  739. data/vendor/assets/components/squire-rte/source/Node.js +553 -0
  740. data/vendor/assets/components/squire-rte/source/Range.js +540 -0
  741. data/vendor/assets/components/squire-rte/source/TreeWalker.js +118 -0
  742. data/vendor/assets/components/squire-rte/source/document.html +54 -0
  743. data/vendor/assets/components/squire-rte/source/exports.js +42 -0
  744. data/vendor/assets/components/squire-rte/source/intro.js +6 -0
  745. data/vendor/assets/components/squire-rte/source/outro.js +22 -0
  746. data/vendor/assets/components/to-mark/.bower.json +35 -0
  747. data/vendor/assets/components/to-mark/bower.json +22 -0
  748. data/vendor/assets/components/to-mark/demo/demo.html +24 -0
  749. data/vendor/assets/components/to-mark/demo/demo2.html +94 -0
  750. data/vendor/assets/components/to-mark/dist/to-mark.js +1283 -0
  751. data/vendor/assets/components/to-mark/dist/to-mark.min.js +1 -0
  752. data/vendor/assets/components/to-mark/gulpfile.js +112 -0
  753. data/vendor/assets/components/to-mark/karma.conf.js +260 -0
  754. data/vendor/assets/components/to-mark/package-lock.json +13061 -0
  755. data/vendor/assets/components/to-mark/package.json +53 -0
  756. data/vendor/assets/components/tui-chart/.bower.json +44 -0
  757. data/vendor/assets/components/tui-chart/CODE_OF_CONDUCT.md +73 -0
  758. data/vendor/assets/components/tui-chart/CONTRIBUTING.md +91 -0
  759. data/vendor/assets/components/tui-chart/LICENSE +21 -0
  760. data/vendor/assets/components/tui-chart/README.md +142 -0
  761. data/vendor/assets/components/tui-chart/bower.json +33 -0
  762. data/vendor/assets/components/tui-chart/dist/maps/china.js +10 -0
  763. data/vendor/assets/components/tui-chart/dist/maps/japan.js +10 -0
  764. data/vendor/assets/components/tui-chart/dist/maps/singapore.js +10 -0
  765. data/vendor/assets/components/tui-chart/dist/maps/south-korea.js +10 -0
  766. data/vendor/assets/components/tui-chart/dist/maps/taiwan.js +10 -0
  767. data/vendor/assets/components/tui-chart/dist/maps/thailand.js +10 -0
  768. data/vendor/assets/components/tui-chart/dist/maps/usa.js +10 -0
  769. data/vendor/assets/components/tui-chart/dist/maps/world.js +11 -0
  770. data/vendor/assets/components/tui-chart/dist/tui-chart.css +704 -0
  771. data/vendor/assets/components/tui-chart/dist/tui-chart.js +40567 -0
  772. data/vendor/assets/components/tui-chart/dist/tui-chart.min.css +10 -0
  773. data/vendor/assets/components/tui-chart/dist/tui-chart.min.js +20 -0
  774. data/vendor/assets/components/tui-chart/docs/COMMIT_MESSAGE_CONVENTION.md +49 -0
  775. data/vendor/assets/components/tui-chart/docs/ISSUE_TEMPLATE.md +24 -0
  776. data/vendor/assets/components/tui-chart/docs/PULL_REQUEST_TEMPLATE.md +42 -0
  777. data/vendor/assets/components/tui-chart/docs/README.md +11 -0
  778. data/vendor/assets/components/tui-chart/docs/wiki/README.md +27 -0
  779. data/vendor/assets/components/tui-chart/docs/wiki/_Sidebar.md +31 -0
  780. data/vendor/assets/components/tui-chart/docs/wiki/chart-export-menu.md +66 -0
  781. data/vendor/assets/components/tui-chart/docs/wiki/chart-type-radial.md +121 -0
  782. data/vendor/assets/components/tui-chart/docs/wiki/chart-types-bar,column.md +312 -0
  783. data/vendor/assets/components/tui-chart/docs/wiki/chart-types-bubble.md +63 -0
  784. data/vendor/assets/components/tui-chart/docs/wiki/chart-types-column-line-combo.md +104 -0
  785. data/vendor/assets/components/tui-chart/docs/wiki/chart-types-heatmap.md +39 -0
  786. data/vendor/assets/components/tui-chart/docs/wiki/chart-types-line,area.md +333 -0
  787. data/vendor/assets/components/tui-chart/docs/wiki/chart-types-line-area-combo.md +78 -0
  788. data/vendor/assets/components/tui-chart/docs/wiki/chart-types-line-scatter-combo.md +101 -0
  789. data/vendor/assets/components/tui-chart/docs/wiki/chart-types-map.md +153 -0
  790. data/vendor/assets/components/tui-chart/docs/wiki/chart-types-pie-donut-combo.md +98 -0
  791. data/vendor/assets/components/tui-chart/docs/wiki/chart-types-pie.md +186 -0
  792. data/vendor/assets/components/tui-chart/docs/wiki/chart-types-scatter.md +58 -0
  793. data/vendor/assets/components/tui-chart/docs/wiki/chart-types-treemap.md +158 -0
  794. data/vendor/assets/components/tui-chart/docs/wiki/code-table-of-china-map.md +38 -0
  795. data/vendor/assets/components/tui-chart/docs/wiki/code-table-of-japan-map.md +51 -0
  796. data/vendor/assets/components/tui-chart/docs/wiki/code-table-of-singapore-map.md +9 -0
  797. data/vendor/assets/components/tui-chart/docs/wiki/code-table-of-south-korea-map.md +21 -0
  798. data/vendor/assets/components/tui-chart/docs/wiki/code-table-of-taiwan-map.md +26 -0
  799. data/vendor/assets/components/tui-chart/docs/wiki/code-table-of-thailand-map.md +82 -0
  800. data/vendor/assets/components/tui-chart/docs/wiki/code-table-of-usa-map.md +55 -0
  801. data/vendor/assets/components/tui-chart/docs/wiki/code-table-of-world-map.md +180 -0
  802. data/vendor/assets/components/tui-chart/docs/wiki/features-axes.md +209 -0
  803. data/vendor/assets/components/tui-chart/docs/wiki/features-chart.md +157 -0
  804. data/vendor/assets/components/tui-chart/docs/wiki/features-circle-legend.md +20 -0
  805. data/vendor/assets/components/tui-chart/docs/wiki/features-legend.md +89 -0
  806. data/vendor/assets/components/tui-chart/docs/wiki/features-plot.md +141 -0
  807. data/vendor/assets/components/tui-chart/docs/wiki/features-series.md +240 -0
  808. data/vendor/assets/components/tui-chart/docs/wiki/features-tooltip.md +223 -0
  809. data/vendor/assets/components/tui-chart/docs/wiki/getting-started.md +74 -0
  810. data/vendor/assets/components/tui-chart/docs/wiki/import-chart-data-from-existing-table-element.md +150 -0
  811. data/vendor/assets/components/tui-chart/docs/wiki/table-of-supported-options.md +344 -0
  812. data/vendor/assets/components/tui-chart/docs/wiki/theme.md +338 -0
  813. data/vendor/assets/components/tui-chart/package-lock.json +8881 -0
  814. data/vendor/assets/components/tui-code-snippet/.bower.json +31 -0
  815. data/vendor/assets/components/tui-code-snippet/LICENSE +21 -0
  816. data/vendor/assets/components/tui-code-snippet/README.md +109 -0
  817. data/vendor/assets/components/tui-code-snippet/bower.json +20 -0
  818. data/vendor/assets/components/tui-code-snippet/demo/postBridge/README.md +26 -0
  819. data/vendor/assets/components/tui-code-snippet/demo/postBridge/public/popup.html +27 -0
  820. data/vendor/assets/components/tui-code-snippet/demo/postBridge/public/postBridge.html +31 -0
  821. data/vendor/assets/components/tui-code-snippet/demo/postBridge/server.js +28 -0
  822. data/vendor/assets/components/tui-code-snippet/dist/tui-code-snippet.js +4228 -0
  823. data/vendor/assets/components/tui-code-snippet/dist/tui-code-snippet.min.js +7 -0
  824. data/vendor/assets/components/tui-code-snippet/package-lock.json +6038 -0
  825. data/vendor/assets/components/tui-color-picker/.bower.json +37 -0
  826. data/vendor/assets/components/tui-color-picker/ISSUE_TEMPLATE.md +26 -0
  827. data/vendor/assets/components/tui-color-picker/LICENSE +34 -0
  828. data/vendor/assets/components/tui-color-picker/README.md +69 -0
  829. data/vendor/assets/components/tui-color-picker/bower.json +26 -0
  830. data/vendor/assets/components/tui-color-picker/dist/tui-color-picker.css +148 -0
  831. data/vendor/assets/components/tui-color-picker/dist/tui-color-picker.js +3146 -0
  832. data/vendor/assets/components/tui-color-picker/dist/tui-color-picker.min.css +7 -0
  833. data/vendor/assets/components/tui-color-picker/dist/tui-color-picker.min.js +9 -0
  834. data/vendor/assets/components/tui-color-picker/package-lock.json +8440 -0
  835. data/vendor/assets/components/tui-editor/.bower.json +71 -0
  836. data/vendor/assets/components/tui-editor/CODE_OF_CONDUCT.md +73 -0
  837. data/vendor/assets/components/tui-editor/CONTRIBUTING.md +92 -0
  838. data/vendor/assets/components/tui-editor/LICENSE +21 -0
  839. data/vendor/assets/components/tui-editor/README.md +204 -0
  840. data/vendor/assets/components/tui-editor/bower.json +59 -0
  841. data/vendor/assets/components/tui-editor/dist/tui-editor-Editor-all.js +36850 -0
  842. data/vendor/assets/components/tui-editor/dist/tui-editor-Editor-all.min.js +13 -0
  843. data/vendor/assets/components/tui-editor/dist/tui-editor-Editor.js +24646 -0
  844. data/vendor/assets/components/tui-editor/dist/tui-editor-Editor.min.js +7 -0
  845. data/vendor/assets/components/tui-editor/dist/tui-editor-Viewer-all.js +14768 -0
  846. data/vendor/assets/components/tui-editor/dist/tui-editor-Viewer-all.min.js +13 -0
  847. data/vendor/assets/components/tui-editor/dist/tui-editor-Viewer.js +3686 -0
  848. data/vendor/assets/components/tui-editor/dist/tui-editor-Viewer.min.js +7 -0
  849. data/vendor/assets/components/tui-editor/dist/tui-editor-contents.css +239 -0
  850. data/vendor/assets/components/tui-editor/dist/tui-editor-contents.min.css +1 -0
  851. data/vendor/assets/components/tui-editor/dist/tui-editor-extChart.js +7040 -0
  852. data/vendor/assets/components/tui-editor/dist/tui-editor-extChart.min.js +13 -0
  853. data/vendor/assets/components/tui-editor/dist/tui-editor-extColorSyntax.js +472 -0
  854. data/vendor/assets/components/tui-editor/dist/tui-editor-extColorSyntax.min.js +7 -0
  855. data/vendor/assets/components/tui-editor/dist/tui-editor-extScrollSync.js +1241 -0
  856. data/vendor/assets/components/tui-editor/dist/tui-editor-extScrollSync.min.js +7 -0
  857. data/vendor/assets/components/tui-editor/dist/tui-editor-extTable.js +3930 -0
  858. data/vendor/assets/components/tui-editor/dist/tui-editor-extTable.min.js +7 -0
  859. data/vendor/assets/components/tui-editor/dist/tui-editor-extUML.js +212 -0
  860. data/vendor/assets/components/tui-editor/dist/tui-editor-extUML.min.js +7 -0
  861. data/vendor/assets/components/tui-editor/dist/tui-editor.css +1166 -0
  862. data/vendor/assets/components/tui-editor/dist/tui-editor.min.css +1 -0
  863. data/vendor/assets/components/tui-editor/docs/COMMIT_MESSAGE_CONVENTION.md +49 -0
  864. data/vendor/assets/components/tui-editor/docs/PULL_REQUEST_TEMPLATE.md +41 -0
  865. data/vendor/assets/components/tui-editor/docs/README.md +13 -0
  866. data/vendor/assets/components/tui-editor/docs/getting-started-with-bower.md +93 -0
  867. data/vendor/assets/components/tui-editor/docs/getting-started.md +76 -0
  868. data/vendor/assets/components/tui-editor/docs/using-extensions.md +91 -0
  869. data/vendor/assets/components/tui-editor/docs/writing-your-own-extension.md +167 -0
  870. data/vendor/assets/components/tui-editor/examples/example00-demo.html +85 -0
  871. data/vendor/assets/components/tui-editor/examples/example01-basic.html +37 -0
  872. data/vendor/assets/components/tui-editor/examples/example02-viewer-basic.html +68 -0
  873. data/vendor/assets/components/tui-editor/examples/example03-jquery.html +36 -0
  874. data/vendor/assets/components/tui-editor/examples/example04-viewer-jquery.html +67 -0
  875. data/vendor/assets/components/tui-editor/examples/example05-scrollsync.html +77 -0
  876. data/vendor/assets/components/tui-editor/examples/example06-colorsyntax.html +44 -0
  877. data/vendor/assets/components/tui-editor/examples/example07-table.html +48 -0
  878. data/vendor/assets/components/tui-editor/examples/example08-uml.html +69 -0
  879. data/vendor/assets/components/tui-editor/examples/example09-multiple-extensions.html +85 -0
  880. data/vendor/assets/components/tui-editor/examples/example10-viewer-multiple-extensions.html +86 -0
  881. data/vendor/assets/components/tui-editor/examples/example11-chart.html +60 -0
  882. data/vendor/assets/components/tui-editor/examples/example12-writing-extension.html +66 -0
  883. data/vendor/assets/components/tui-editor/examples/examples.json +41 -0
  884. data/vendor/assets/components/tui-editor/examples/explain.css +7 -0
  885. data/vendor/assets/components/tui-editor/package-lock.json +13289 -0
  886. data/vendor/assets/components/tui-editor/package.json +90 -0
  887. metadata +956 -0
@@ -0,0 +1,1316 @@
1
+ ## 5.34.0 (2010-01-29)
2
+
3
+ ### Bug fixes
4
+
5
+ [markdown mode](http://codemirror.net/mode/markdown/): Fix a problem where inline styles would persist across list items.
6
+
7
+ [sublime bindings](http://codemirror.net/demo/sublime.html): Fix the `toggleBookmark` command.
8
+
9
+ [closebrackets addon](http://codemirror.net/doc/manual.html#addon_closebrackets): Improve behavior when closing triple quotes.
10
+
11
+ [xml-fold addon](http://codemirror.net/demo/folding.html): Fix folding of line-broken XML tags.
12
+
13
+ [shell mode](http://codemirror.net/mode/shell/): Better handling of nested quoting.
14
+
15
+ [javascript-lint addon](http://codemirror.net/demo/lint.html): Clean up and simplify.
16
+
17
+ [matchbrackets addon](http://codemirror.net/doc/manual.html#addon_matchbrackets): Fix support for multiple editors at the same time.
18
+
19
+ ### New features
20
+
21
+ New themes: [oceanic-next](http://codemirror.net/demo/theme.html#oceanic-next) and [shadowfox](http://codemirror.net/demo/theme.html#shadowfox).
22
+
23
+ ## 5.33.0 (2017-12-21)
24
+
25
+ ### Bug fixes
26
+
27
+ [lint addon](http://codemirror.net/doc/manual.html#addon_lint): Make updates more efficient.
28
+
29
+ [css mode](http://codemirror.net/mode/css/): The mode is now properly case-insensitive.
30
+
31
+ [continuelist addon](http://codemirror.net/doc/manual.html#addon_continuelist): Fix broken handling of unordered lists introduced in previous release.
32
+
33
+ [swift](http://codemirror.net/mode/swift) and [scala](http://codemirror.net/mode/clike/) modes: Support nested block comments.
34
+
35
+ [mllike mode](http://codemirror.net/mode/mllike/index.html): Improve OCaml support.
36
+
37
+ [sublime bindings](http://codemirror.net/demo/sublime.html): Use the proper key bindings for `addCursorToNextLine` and `addCursorToPrevLine`.
38
+
39
+ ### New features
40
+
41
+ [jsx mode](http://codemirror.net/mode/jsx/index.html): Support JSX fragments.
42
+
43
+ [closetag addon](http://codemirror.net/demo/closetag.html): Add an option to disable auto-indenting.
44
+
45
+ ## 5.32.0 (2017-11-22)
46
+
47
+ ### Bug fixes
48
+
49
+ Increase contrast on default bracket-matching colors.
50
+
51
+ [javascript mode](http://codemirror.net/mode/javascript/): Recognize TypeScript type parameters for calls, type guards, and type parameter defaults. Improve handling of `enum` and `module` keywords.
52
+
53
+ [comment addon](http://codemirror.net/doc/manual.html#addon_comment): Fix bug when uncommenting a comment that spans all but the last selected line.
54
+
55
+ [searchcursor addon](http://codemirror.net/doc/manual.html#addon_searchcursor): Fix bug in case folding.
56
+
57
+ [emacs bindings](http://codemirror.net/demo/emacs.html): Prevent single-character deletions from resetting the kill ring.
58
+
59
+ [closebrackets addon](http://codemirror.net/doc/manual.html#addon_closebrackets): Tweak quote matching behavior.
60
+
61
+ ### New features
62
+
63
+ [continuelist addon](http://codemirror.net/doc/manual.html#addon_continuelist): Increment ordered list numbers when adding one.
64
+
65
+ ## 5.31.0 (2017-10-20)
66
+
67
+ ### Bug fixes
68
+
69
+ Further improve selection drawing and cursor motion in right-to-left documents.
70
+
71
+ [vim bindings](http://codemirror.net/demo/vim.html): Fix ctrl-w behavior, support quote-dot and backtick-dot marks, make the wide cursor visible in contentEditable [input mode](http://codemirror.net/doc/manual.html#option_contentEditable).
72
+
73
+ [continuecomment addon](http://codemirror.net/doc/manual.html#addon_continuecomment): Fix bug when pressing enter after a single-line block comment.
74
+
75
+ [markdown mode](http://codemirror.net/mode/markdown/): Fix issue with leaving indented fenced code blocks.
76
+
77
+ [javascript mode](http://codemirror.net/mode/javascript/): Fix bad parsing of operators without spaces between them. Fix some corner cases around semicolon insertion and regexps.
78
+
79
+ ### New features
80
+
81
+ Modes added with [`addOverlay`](http://codemirror.net/doc/manual.html#addOverlay) now have access to a [`baseToken`](http://codemirror.net/doc/manual.html#baseToken) method on their input stream, giving access to the tokens of the underlying mode.
82
+
83
+ ## 5.30.0 (2017-09-20)
84
+
85
+ ### Bug fixes
86
+
87
+ Fixed a number of issues with drawing right-to-left selections and mouse selection in bidirectional text.
88
+
89
+ [search addon](http://codemirror.net/demo/search/): Fix crash when restarting search after doing empty search.
90
+
91
+ [mark-selection addon](http://cm/doc/manual.html#addon_mark-selection): Fix off-by-one bug.
92
+
93
+ [tern addon](http://codemirror.net/demo/tern.html): Fix bad request made when editing at the bottom of a large document.
94
+
95
+ [javascript mode](http://codemirror.net/mode/javascript/): Improve parsing in a number of corner cases.
96
+
97
+ [markdown mode](http://codemirror.net/mode/markdown/): Fix crash when a sub-mode doesn't support indentation, allow uppercase X in task lists.
98
+
99
+ [gfm mode](http://codemirror.net/mode/gfm/): Don't highlight SHA1 'hashes' without numbers to avoid false positives.
100
+
101
+ [soy mode](http://codemirror.net/mode/soy/): Support injected data and `@param` in comments.
102
+
103
+ ### New features
104
+
105
+ [simple mode addon](http://codemirror.net/demo/simplemode.html): Allow groups in regexps when `token` isn't an array.
106
+
107
+ ## 5.29.0 (2017-08-24)
108
+
109
+ ### Bug fixes
110
+
111
+ Fix crash in contentEditable input style when editing near a bookmark.
112
+
113
+ Make sure change origins are preserved when splitting changes on [read-only marks](http://codemirror.net/doc/manual.html#mark_readOnly).
114
+
115
+ [javascript mode](http://codemirror.net/mode/javascript/): More support for TypeScript syntax.
116
+
117
+ [d mode](http://codemirror.net/mode/d/): Support nested comments.
118
+
119
+ [python mode](http://codemirror.net/mode/python/): Improve tokenizing of operators.
120
+
121
+ [markdown mode](http://codemirror.net/mode/markdown/): Further improve CommonMark conformance.
122
+
123
+ [css mode](http://codemirror.net/mode/css/): Don't run comment tokens through the mode's state machine.
124
+
125
+ [shell mode](http://codemirror.net/mode/shell/): Allow strings to span lines.
126
+
127
+ [search addon](http://codemirror.net/demo/search/): Fix crash in persistent search when `extraKeys` is null.
128
+
129
+ ## 5.28.0 (2017-07-21)
130
+
131
+ ### Bug fixes
132
+
133
+ Fix copying of, or replacing editor content with, a single dash character when copying a big selection in some corner cases.
134
+
135
+ Make [`"goLineLeft"`](http://codemirror.net/doc/manual.html#command_goLineLeft)/`"goLineRight"` behave better on wrapped lines.
136
+
137
+ [sql mode](http://codemirror.net/mode/sql/): Fix tokenizing of multi-dot operator and allow digits in subfield names.
138
+
139
+ [searchcursor addon](http://codemirror.net/doc/manual.html#addon_searchcursor): Fix infinite loop on some composed character inputs.
140
+
141
+ [markdown mode](http://codemirror.net/mode/markdown/): Make list parsing more CommonMark-compliant.
142
+
143
+ [gfm mode](http://codemirror.net/mode/gfm/): Highlight colon syntax for emoji.
144
+
145
+ ### New features
146
+
147
+ Expose [`startOperation`](http://codemirror.net/doc/manual.html#startOperation) and `endOperation` for explicit operation management.
148
+
149
+ [sublime bindings](http://codemirror.net/demo/sublime.html): Add extend-selection (Ctrl-Alt- or Cmd-Shift-Up/Down).
150
+
151
+ ## 5.27.4 (2017-06-29)
152
+
153
+ ### Bug fixes
154
+
155
+ Fix crash when using mode lookahead.
156
+
157
+ [markdown mode](http://codemirror.net/mode/markdown/): Don't block inner mode's indentation support.
158
+
159
+ ## 5.27.2 (2017-06-22)
160
+
161
+ ### Bug fixes
162
+
163
+ Fix crash in the [simple mode](http://codemirror.net/demo/simplemode.html)< addon.
164
+
165
+ ## 5.27.0 (2017-06-22)
166
+
167
+ ### Bug fixes
168
+
169
+ Fix infinite loop in forced display update.
170
+
171
+ Properly disable the hidden textarea when `readOnly` is `"nocursor"`.
172
+
173
+ Calling the `Doc` constructor without `new` works again.
174
+
175
+ [sql mode](http://codemirror.net/mode/sql/): Handle nested comments.
176
+
177
+ [javascript mode](http://codemirror.net/mode/javascript/): Improve support for TypeScript syntax.
178
+
179
+ [markdown mode](http://codemirror.net/mode/markdown/): Fix bug where markup was ignored on indented paragraph lines.
180
+
181
+ [vim bindings](http://codemirror.net/demo/vim.html): Referencing invalid registers no longer causes an uncaught exception.
182
+
183
+ [rust mode](http://codemirror.net/mode/rust/): Add the correct MIME type.
184
+
185
+ [matchbrackets addon](http://codemirror.net/doc/manual.html#addon_matchbrackets): Document options.
186
+
187
+ ### New features
188
+
189
+ Mouse button clicks can now be bound in keymaps by using names like `"LeftClick"` or `"Ctrl-Alt-MiddleTripleClick"`. When bound to a function, that function will be passed the position of the click as second argument.
190
+
191
+ The behavior of mouse selection and dragging can now be customized with the [`configureMouse`](http://codemirror.net/doc/manual.html#option_configureMouse) option.
192
+
193
+ Modes can now look ahead across line boundaries with the [`StringStream`](http://codemirror.net/doc/manual.html#StringStream)`.lookahead` method.
194
+
195
+ Introduces a `"type"` token type, makes modes that recognize types output it, and add styling for it to the themes.
196
+
197
+ New [`pasteLinesPerSelection`](http://codemirror.net/doc/manual.html#option_pasteLinesPerSelection) option to control the behavior of pasting multiple lines into multiple selections.
198
+
199
+ [searchcursor addon](http://codemirror.net/doc/manual.html#addon_searchcursor): Support multi-line regular expression matches, and normalize strings when matching.
200
+
201
+ ## 5.26.0 (2017-05-22)
202
+
203
+ ### Bug fixes
204
+
205
+ In textarea-mode, don't reset the input field during composition.
206
+
207
+ More careful restoration of selections in widgets, during editor redraw.
208
+
209
+ [javascript mode](http://codemirror.net/mode/javascript/): More TypeScript parsing fixes.
210
+
211
+ [julia mode](http://codemirror.net/mode/julia/): Fix issue where the mode gets stuck.
212
+
213
+ [markdown mode](http://codemirror.net/mode/markdown/): Understand cross-line links, parse all bracketed things as links.
214
+
215
+ [soy mode](http://codemirror.net/mode/soy/): Support single-quoted strings.
216
+
217
+ [go mode](http://codemirror.net/mode/go/): Don't try to indent inside strings or comments.
218
+
219
+ ### New features
220
+
221
+ [vim bindings](http://codemirror.net/demo/vim.html): Parse line offsets in line or range specs.
222
+
223
+ ## 5.25.2 (2017-04-20)
224
+
225
+ ### Bug fixes
226
+
227
+ Better handling of selections that cover the whole viewport in contentEditable-mode.
228
+
229
+ No longer accidentally scroll the editor into view when calling `setValue`.
230
+
231
+ Work around Chrome Android bug when converting screen coordinates to editor positions.
232
+
233
+ Make sure long-clicking a selection sets a cursor and doesn't show the editor losing focus.
234
+
235
+ Fix issue where pointer events were incorrectly disabled on Chrome's overlay scrollbars.
236
+
237
+ [javascript mode](http://codemirror.net/mode/javascript/): Recognize annotations and TypeScript-style type parameters.
238
+
239
+ [shell mode](http://codemirror.net/mode/shell/): Handle nested braces.
240
+
241
+ [markdown mode](http://codemirror.net/mode/markdown/): Make parsing of strong/em delimiters CommonMark-compliant.
242
+
243
+ ## 5.25.0 (2017-03-20)
244
+
245
+ ### Bug fixes
246
+
247
+ In contentEditable-mode, properly locate changes that repeat a character when inserted with IME.
248
+
249
+ Fix handling of selections bigger than the viewport in contentEditable mode.
250
+
251
+ Improve handling of changes that insert or delete lines in contentEditable mode.
252
+
253
+ Count Unicode control characters 0x80 to 0x9F as special (non-printing) chars.
254
+
255
+ Fix handling of shadow DOM roots when finding the active element.
256
+
257
+ Add `role=presentation` to more DOM elements to improve screen reader support.
258
+
259
+ [merge addon](http://codemirror.net/doc/manual.html#addon_merge): Make aligning of unchanged chunks more robust.
260
+
261
+ [comment addon](http://codemirror.net/doc/manual.html#addon_comment): Fix comment-toggling on a block of text that starts and ends in a (differnet) block comment.
262
+
263
+ [javascript mode](http://codemirror.net/mode/javascript/): Improve support for TypeScript syntax.
264
+
265
+ [r mode](http://codemirror.net/mode/r/): Fix indentation after semicolon-less statements.
266
+
267
+ [shell mode](http://codemirror.net/mode/shell/): Properly handle escaped parentheses in parenthesized expressions.
268
+
269
+ [markdown mode](http://codemirror.net/mode/markdown/): Fix a few bugs around leaving fenced code blocks.
270
+
271
+ [soy mode](http://codemirror.net/mode/soy/): Improve indentation.
272
+
273
+ ### New features
274
+
275
+ [lint addon](http://codemirror.net/doc/manual.html#addon_lint): Support asynchronous linters that return promises.
276
+
277
+ [continuelist addon](http://codemirror.net/doc/manual.html#addon_continuelist): Support continuing task lists.
278
+
279
+ [vim bindings](http://codemirror.net/demo/vim.html): Make Y behave like yy.
280
+
281
+ [sql mode](http://codemirror.net/mode/sql/): Support sqlite dialect.
282
+
283
+ ## 5.24.2 (2017-02-22)
284
+
285
+ ### Bug fixes
286
+
287
+ [javascript mode](http://codemirror.net/mode/javascript/): Support computed class method names.
288
+
289
+ [merge addon](http://codemirror.net/doc/manual.html#addon_merge): Improve aligning of unchanged code in the presence of marks and line widgets.
290
+
291
+ ## 5.24.0 (2017-02-20)
292
+
293
+ ### Bug fixes
294
+
295
+ A cursor directly before a line-wrapping break is now drawn before or after the line break depending on which direction you arrived from.
296
+
297
+ Visual cursor motion in line-wrapped right-to-left text should be much more correct.
298
+
299
+ Fix bug in handling of read-only marked text.
300
+
301
+ [shell mode](http://codemirror.net/mode/shell/): Properly tokenize nested parentheses.
302
+
303
+ [python mode](http://codemirror.net/mode/python/): Support underscores in number literals.
304
+
305
+ [sass mode](http://codemirror.net/mode/sass/): Uses the full list of CSS properties and keywords from the CSS mode, rather than defining its own incomplete subset.
306
+
307
+ [css mode](http://codemirror.net/mode/css/): Expose `lineComment` property for LESS and SCSS dialects. Recognize vendor prefixes on pseudo-elements.
308
+
309
+ [julia mode](http://codemirror.net/mode/julia/): Properly indent `elseif` lines.
310
+
311
+ [markdown mode](http://codemirror.net/mode/markdown/): Properly recognize the end of fenced code blocks when inside other markup.
312
+
313
+ [scala mode](http://codemirror.net/mode/clike/): Improve handling of operators containing <code>#</code>, <code>@</code>, and <code>:</code> chars.
314
+
315
+ [xml mode](http://codemirror.net/mode/xml/): Allow dashes in HTML tag names.
316
+
317
+ [javascript mode](http://codemirror.net/mode/javascript/): Improve parsing of async methods, TypeScript-style comma-separated superclass lists.
318
+
319
+ [indent-fold addon](http://codemirror.net/demo/folding.html): Ignore comment lines.
320
+
321
+ ### New features
322
+
323
+ Positions now support a `sticky` property which determines whether they should be associated with the character before (value `"before"`) or after (value `"after"`) them.
324
+
325
+ [vim bindings](http://codemirror.net/demo/vim.html): Make it possible to remove built-in bindings through the API.
326
+
327
+ [comment addon](http://codemirror.net/doc/manual.html#addon_comment): Support a per-mode <code>useInnerComments</code> option to optionally suppress descending to the inner modes to get comment strings.
328
+
329
+ ### Breaking changes
330
+
331
+ The [sass mode](http://codemirror.net/mode/sass/) now depends on the [css mode](http://codemirror.net/mode/css/).
332
+
333
+ ## 5.23.0 (2017-01-19)
334
+
335
+ ### Bug fixes
336
+
337
+ Presentation-related elements DOM elements are now marked as such to help screen readers.
338
+
339
+ [markdown mode](http://codemirror.net/mode/markdown/): Be more picky about what HTML tags look like to avoid false positives.
340
+
341
+ ### New features
342
+
343
+ `findModeByMIME` now understands `+json` and `+xml` MIME suffixes.
344
+
345
+ [closebrackets addon](http://codemirror.net/doc/manual.html#addon_closebrackets): Add support for an `override` option to ignore language-specific defaults.
346
+
347
+ [panel addon](http://codemirror.net/doc/manual.html#addon_panel): Add a `stable` option that auto-scrolls the content to keep it in the same place when inserting/removing a panel.
348
+
349
+ ## 5.22.2 (2017-01-12)
350
+
351
+ ### Bug fixes
352
+
353
+ Include rollup.config.js in NPM package, so that it can be used to build from source.
354
+
355
+ ## 5.22.0 (2016-12-20)
356
+
357
+ ### Bug fixes
358
+
359
+ [sublime bindings](http://codemirror.net/demo/sublime.html): Make `selectBetweenBrackets` work with multiple cursors.
360
+
361
+ [javascript mode](http://codemirror.net/mode/javascript/): Fix issues with parsing complex TypeScript types, imports, and exports.
362
+
363
+ A contentEditable editor instance with autofocus enabled no longer crashes during initializing.
364
+
365
+ ### New features
366
+
367
+ [emacs bindings](http://codemirror.net/demo/emacs.html): Export `CodeMirror.emacs` to allow other addons to hook into Emacs-style functionality.
368
+
369
+ [active-line addon](http://codemirror.net/doc/manual.html#addon_active-line): Add `nonEmpty` option.
370
+
371
+ New event: [`optionChange`](http://codemirror.net/doc/manual.html#event_optionChange).
372
+
373
+ ## 5.21.0 (2016-11-21)
374
+
375
+ ### Bug fixes
376
+
377
+ Tapping/clicking the editor in [contentEditable mode](http://codemirror.net/doc/manual.html#option_inputStyle) on Chrome now puts the cursor at the tapped position.
378
+
379
+ Fix various crashes and misbehaviors when reading composition events in [contentEditable mode](http://codemirror.net/doc/manual.html#option_inputStyle).
380
+
381
+ Catches and ignores an IE 'Unspecified Error' when creating an editor in an iframe before there is a `<body>`.
382
+
383
+ [merge addon](http://codemirror.net/doc/manual.html#addon_merge): Fix several issues in the chunk-aligning feature.
384
+
385
+ [verilog mode](http://codemirror.net/mode/verilog): Rewritten to address various issues.
386
+
387
+ [julia mode](http://codemirror.net/mode/julia): Recognize Julia 0.5 syntax.
388
+
389
+ [swift mode](http://codemirror.net/mode/swift): Various fixes and adjustments to current syntax.
390
+
391
+ [markdown mode](http://codemirror.net/mode/markdown): Allow lists without a blank line above them.
392
+
393
+ ### New features
394
+
395
+ The [`setGutterMarker`](http://codemirror.net/doc/manual.html#setGutterMarker), [`clearGutter`](http://codemirror.net/doc/manual.html#clearGutter), and [`lineInfo`](http://codemirror.net/doc/manual.html#lineInfo) methods are now available on `Doc` objects.
396
+
397
+ The [`heightAtLine`](http://codemirror.net/doc/manual.html#heightAtLine) method now takes an extra argument to allow finding the height at the top of the line's line widgets.
398
+
399
+ [ruby mode](http://codemirror.net/mode/ruby): `else` and `elsif` are now immediately indented.
400
+
401
+ [vim bindings](http://codemirror.net/demo/vim.html): Bind Ctrl-T and Ctrl-D to in- and dedent in insert mode.
402
+
403
+ ## 5.20.2 (2016-10-21)
404
+
405
+ ### Bug fixes
406
+
407
+ Fix `CodeMirror.version` returning the wrong version number.
408
+
409
+ ## 5.20.0 (2016-10-20)
410
+
411
+ ### Bug fixes
412
+
413
+ Make `newlineAndIndent` command work with multiple cursors on the same line.
414
+
415
+ Make sure keypress events for backspace are ignored.
416
+
417
+ Tokens styled with overlays no longer get a nonsense `cm-cm-overlay` class.
418
+
419
+ Line endings for pasted content are now normalized to the editor's [preferred ending](http://codemirror.net/doc/manual.html#option_lineSeparator).
420
+
421
+ [javascript mode](http://codemirror.net/mode/javascript): Improve support for class expressions. Support TypeScript optional class properties, the `abstract` keyword, and return type declarations for arrow functions.
422
+
423
+ [css mode](http://codemirror.net/mode/css): Fix highlighting of mixed-case keywords.
424
+
425
+ [closebrackets addon](http://codemirror.net/doc/manual.html#addon_closebrackets): Improve behavior when typing a quote before a string.
426
+
427
+ ### New features
428
+
429
+ The core is now maintained as a number of small files, using ES6 syntax and modules, under the `src/` directory. A git checkout no longer contains a working `codemirror.js` until you `npm build` (but when installing from NPM, it is included).
430
+
431
+ The [`refresh`](http://codemirror.net/doc/manual.html#event_refresh) event is now documented and stable.
432
+
433
+ ## 5.19.0 (2016-09-20)
434
+
435
+ ### Bugfixes
436
+
437
+ [erlang mode](http://codemirror.net/mode/erlang): Fix mode crash when trying to read an empty context.
438
+
439
+ [comment addon](http://codemirror.net/doc/manual.html#addon_comment): Fix broken behavior when toggling comments inside a comment.
440
+
441
+ xml-fold addon: Fix a null-dereference bug.
442
+
443
+ Page up and page down now do something even in single-line documents.
444
+
445
+ Fix an issue where the cursor position could be off in really long (~8000 character) tokens.
446
+
447
+ ### New features
448
+
449
+ [javascript mode](http://codemirror.net/mode/javascript): Better indentation when semicolons are missing. Better support for TypeScript classes, optional parameters, and the `type` keyword.
450
+
451
+ The [`blur`](http://codemirror.net/doc/manual.html#event_blur) and [`focus`](http://codemirror.net/doc/manual.html#event_focus) events now pass the DOM event to their handlers.
452
+
453
+ ## 5.18.2 (2016-08-23)
454
+
455
+ ### Bugfixes
456
+
457
+ [vue mode](http://codemirror.net/mode/vue): Fix outdated references to renamed Pug mode dependency.
458
+
459
+ ## 5.18.0 (2016-08-22)
460
+
461
+ ### Bugfixes
462
+
463
+ Make sure [gutter backgrounds](http://codemirror.net/doc/manual.html#addLineClass) stick to the rest of the gutter during horizontal scrolling.
464
+
465
+ The contenteditable [`inputStyle`](http://codemirror.net/doc/manual.html#option_inputStyle) now properly supports pasting on pre-Edge IE versions.
466
+
467
+ [javascript mode](http://codemirror.net/mode/javascript): Fix some small parsing bugs and improve TypeScript support.
468
+
469
+ [matchbrackets addon](http://codemirror.net/doc/manual.html#addon_matchbrackets): Fix bug where active highlighting was left in editor when the addon was disabled.
470
+
471
+ [match-highlighter addon](http://codemirror.net/doc/manual.html#addon_match-highlighter): Only start highlighting things when the editor gains focus.
472
+
473
+ [javascript-hint addon](http://codemirror.net/doc/manual.html#addon_javascript-hint): Also complete non-enumerable properties.
474
+
475
+ ### New features
476
+
477
+ The [`addOverlay`](http://codemirror.net/doc/manual.html#addOverlay) method now supports a `priority` option to control the order in which overlays are applied.
478
+
479
+ MIME types that end in `+json` now default to the JSON mode when the MIME itself is not defined.
480
+
481
+ ### Breaking changes
482
+
483
+ The mode formerly known as Jade was renamed to [Pug](http://codemirror.net/mode/pug).
484
+
485
+ The [Python mode](http://codemirror.net/mode/python) now defaults to Python 3 (rather than 2) syntax.
486
+
487
+ ## 5.17.0 (2016-07-19)
488
+
489
+ ### Bugfixes
490
+
491
+ Fix problem with wrapped trailing whitespace displaying incorrectly.
492
+
493
+ Prevent IME dialog from overlapping typed content in Chrome.
494
+
495
+ Improve measuring of characters near a line wrap.
496
+
497
+ [javascript mode](http://codemirror.net/mode/javascript): Improve support for `async`, allow trailing commas in `import` lists.
498
+
499
+ [vim bindings](http://codemirror.net/demo/vim.html): Fix backspace in replace mode.
500
+
501
+ [sublime bindings](http://codemirror.net/demo/sublime.html): Fix some key bindings on OS X to match Sublime Text.
502
+
503
+ ### New features
504
+
505
+ [markdown mode](http://codemirror.net/mode/markdown): Add more classes to image links in highlight-formatting mode.
506
+
507
+ ## 5.16.0 (2016-06-20)
508
+
509
+ ### Bugfixes
510
+
511
+ Fix glitches when dragging content caused by the drop indicator receiving mouse events.
512
+
513
+ Make Control-drag work on Firefox.
514
+
515
+ Make clicking or selection-dragging at the end of a wrapped line select the right position.
516
+
517
+ [show-hint addon](http://codemirror.net/doc/manual.html#addon_show-hint): Prevent widget scrollbar from hiding part of the hint text.
518
+
519
+ [rulers addon](http://codemirror.net/doc/manual.html#addon_rulers): Prevent rulers from forcing a horizontal editor scrollbar.
520
+
521
+ ### New features
522
+
523
+ [search addon](http://codemirror.net/doc/manual.html#addon_search): Automatically bind search-related keys in persistent dialog.
524
+
525
+ [sublime keymap](http://codemirror.net/demo/sublime.html): Add a multi-cursor aware smart backspace binding.
526
+
527
+ ## 5.15.2 (2016-05-20)
528
+
529
+ ### Bugfixes
530
+
531
+ Fix a critical document corruption bug that occurs when a document is gradually grown.
532
+
533
+ ## 5.15.0 (2016-05-20)
534
+
535
+ ### Bugfixes
536
+
537
+ Fix bug that caused the selection to reset when focusing the editor in contentEditable input mode.
538
+
539
+ Fix issue where not all ASCII control characters were being replaced by placeholders.
540
+
541
+ Remove the assumption that all modes have a `startState` method from several wrapping modes.
542
+
543
+ Fix issue where the editor would complain about overlapping collapsed ranges when there weren't any.
544
+
545
+ Optimize document tree building when loading or pasting huge chunks of content.
546
+
547
+ [markdown mode](http://codemirror.net/mode/markdown/): Fix several issues in matching link targets.
548
+
549
+ [clike mode](http://codemirror.net/mode/clike/): Improve indentation of C++ template declarations.
550
+
551
+ ### New features
552
+
553
+ Explicitly bind Ctrl-O on OS X to make that binding (“open line”) act as expected.
554
+
555
+ Pasting [linewise-copied](http://codemirror.net/doc/manual.html#option_lineWiseCopyCut) content when there is no selection now inserts the lines above the current line.
556
+
557
+ [javascript mode](http://codemirror.net/mode/javascript/): Support `async`/`await` and improve support for TypeScript type syntax.
558
+
559
+ ## 5.14.2 (2016-04-20)
560
+
561
+ ### Bugfixes
562
+
563
+ Push a new package to NPM due to an [NPM bug](https://github.com/npm/npm/issues/5082) omitting the LICENSE file in 5.14.0.
564
+
565
+ Set `dataTransfer.effectAllowed` in `dragstart` handler to help browsers use the right drag icon.
566
+
567
+ Add the [mbox mode](http://codemirror.net/mode/mbox/index.html) to `mode/meta.js`.
568
+
569
+ ## 5.14.0 (2016-04-20)
570
+
571
+ ### Bugfixes
572
+
573
+ [`posFromIndex`](http://codemirror.net/doc/manual.html#posFromIndex) and [`indexFromPos`](http://codemirror.net/doc/manual.html#indexFromPos) now take [`lineSeparator`](http://codemirror.net/doc/manual.html#option_lineSeparator) into account.
574
+
575
+ [vim bindings](http://codemirror.net/demo/vim.html): Only call `.save()` when it is actually available.
576
+
577
+ [comment addon](http://codemirror.net/doc/manual.html#addon_comment): Be careful not to mangle multi-line strings.
578
+
579
+ [Python mode](http://codemirror.net/mode/python/index.html): Improve distinguishing of decorators from `@` operators.
580
+
581
+ [`findMarks`](http://codemirror.net/doc/manual.html#findMarks): No longer return marks that touch but don't overlap given range.
582
+
583
+ ### New features
584
+
585
+ [vim bindings](http://codemirror.net/demo/vim.html): Add yank command.
586
+
587
+ [match-highlighter addon](http://codemirror.net/doc/manual.html#addon_match-highlighter): Add `trim` option to disable ignoring of whitespace.
588
+
589
+ [PowerShell mode](http://codemirror.net/mode/powershell/index.html): Added.
590
+
591
+ [Yacas mode](http://codemirror.net/mode/yacas/index.html): Added.
592
+
593
+ [Web IDL mode](http://codemirror.net/mode/webidl/index.html): Added.
594
+
595
+ [SAS mode](http://codemirror.net/mode/sas/index.html): Added.
596
+
597
+ [mbox mode](http://codemirror.net/mode/mbox/index.html): Added.
598
+
599
+ ## 5.13.2 (2016-03-23)
600
+
601
+ ### Bugfixes
602
+
603
+ Solves a problem where the gutter would sometimes not extend all the way to the end of the document.
604
+
605
+ ## 5.13.0 (2016-03-21)
606
+
607
+ ### New features
608
+
609
+ New DOM event forwarded: [`"dragleave"`](http://codemirror.net/doc/manual.html#event_dom).
610
+
611
+ [protobuf mode](http://codemirror.net/mode/protobuf/index.html): Newly added.
612
+
613
+ ### Bugfixes
614
+
615
+ Fix problem where [`findMarks`](http://codemirror.net/doc/manual.html#findMarks) sometimes failed to find multi-line marks.
616
+
617
+ Fix crash that showed up when atomic ranges and bidi text were combined.
618
+
619
+ [show-hint addon](http://codemirror.net/demo/complete.html): Completion widgets no longer close when the line indented or dedented.
620
+
621
+ [merge addon](http://codemirror.net/demo/merge.html): Fix bug when merging chunks at the end of the file.
622
+
623
+ [placeholder addon](http://codemirror.net/doc/manual.html#addon_placeholder): No longer gets confused by [`swapDoc`](http://codemirror.net/doc/manual.html#swapDoc).
624
+
625
+ [simplescrollbars addon](http://codemirror.net/doc/manual.html#addon_simplescrollbars): Fix invalid state when deleting at end of document.
626
+
627
+ [clike mode](http://codemirror.net/mode/clike/index.html): No longer gets confused when a comment starts after an operator.
628
+
629
+ [markdown mode](http://codemirror.net/mode/markdown/index.html): Now supports CommonMark-style flexible list indentation.
630
+
631
+ [dylan mode](http://codemirror.net/mode/dylan/index.html): Several improvements and fixes.
632
+
633
+ ## 5.12.0 (2016-02-19)
634
+
635
+ ### New features
636
+
637
+ [Vim bindings](http://codemirror.net/demo/vim.html): Ctrl-Q is now an alias for Ctrl-V.
638
+
639
+ [Vim bindings](http://codemirror.net/demo/vim.html): The Vim API now exposes an `unmap` method to unmap bindings.
640
+
641
+ [active-line addon](http://codemirror.net/demo/activeline.html): This addon can now style the active line's gutter.
642
+
643
+ [FCL mode](http://codemirror.net/mode/fcl/): Newly added.
644
+
645
+ [SQL mode](http://codemirror.net/mode/sql/): Now has a Postgresql dialect.
646
+
647
+ ### Bugfixes
648
+
649
+ Fix [issue](https://github.com/codemirror/CodeMirror/issues/3781) where trying to scroll to a horizontal position outside of the document's width could cause the gutter to be positioned incorrectly.
650
+
651
+ Use absolute, rather than fixed positioning in the context-menu intercept hack, to work around a [problem](https://github.com/codemirror/CodeMirror/issues/3238) when the editor is inside a transformed parent container.
652
+
653
+ Solve a [problem](https://github.com/codemirror/CodeMirror/issues/3821) where the horizontal scrollbar could hide text in Firefox.
654
+
655
+ Fix a [bug](https://github.com/codemirror/CodeMirror/issues/3834) that caused phantom scroll space under the text in some situations.
656
+
657
+ [Sublime Text bindings](http://codemirror.net/demo/sublime.html): Bind delete-line to Shift-Ctrl-K on OS X.
658
+
659
+ [Markdown mode](http://codemirror.net/mode/markdown/): Fix [issue](https://github.com/codemirror/CodeMirror/issues/3787) where the mode would keep state related to fenced code blocks in an unsafe way, leading to occasional corrupted parses.
660
+
661
+ [Markdown mode](http://codemirror.net/mode/markdown/): Ignore backslashes in code fragments.
662
+
663
+ [Markdown mode](http://codemirror.net/mode/markdown/): Use whichever mode is registered as `text/html` to parse HTML.
664
+
665
+ [Clike mode](http://codemirror.net/mode/clike/): Improve indentation of Scala `=>` functions.
666
+
667
+ [Python mode](http://codemirror.net/mode/python/): Improve indentation of bracketed code.
668
+
669
+ [HTMLMixed mode](http://codemirror.net/mode/htmlmixed/): Support multi-line opening tags for sub-languages (`<script>`, `<style>`, etc).
670
+
671
+ [Spreadsheet mode](http://codemirror.net/mode/spreadsheet/): Fix bug where the mode did not advance the stream when finding a backslash.
672
+
673
+ [XML mode](http://codemirror.net/mode/xml/): The mode now takes a `matchClosing` option to configure whether mismatched closing tags should be highlighted as errors.
674
+
675
+ ## 5.11.0 (2016-01-20)
676
+
677
+ * New modes: [JSX](http://codemirror.net/mode/jsx/index.html), [literate Haskell](http://codemirror.net/mode/haskell-literate/index.html)
678
+ * The editor now forwards more [DOM events](http://codemirror.net/doc/manual.html#event_dom): `cut`, `copy`, `paste`, and `touchstart`. It will also forward `mousedown` for drag events
679
+ * Fixes a bug where bookmarks next to collapsed spans were not rendered
680
+ * The [Swift](http://codemirror.net/mode/swift/index.html) mode now supports auto-indentation
681
+ * Frontmatters in the [YAML frontmatter](http://codemirror.net/mode/yaml-frontmatter/index.html) mode are now optional as intended
682
+
683
+ ## 5.10.0 (2015-12-21)
684
+
685
+ * Modify the way [atomic ranges](http://codemirror.net/doc/manual.html#mark_atomic) are skipped by selection to try and make it less surprising.
686
+ * The [Swift mode](http://codemirror.net/mode/swift/index.html) was rewritten.
687
+ * New addon: [jump-to-line](http://codemirror.net/doc/manual.html#addon_jump-to-line).
688
+ * New method: [`isReadOnly`](http://codemirror.net/doc/manual.html#isReadOnly).
689
+ * The [show-hint addon](http://codemirror.net/doc/manual.html#addon_show-hint) now defaults to picking completions on single click.
690
+ * The object passed to [`"beforeSelectionChange"`](http://codemirror.net/doc/manual.html#event_beforeSelectionChange) events now has an `origin` property.
691
+ * New mode: [Crystal](http://codemirror.net/mode/crystal/index.html).
692
+
693
+ ## 5.9.0 (2015-11-23)
694
+
695
+ * Improve the way overlay (OS X-style) scrollbars are handled
696
+ * Make [annotatescrollbar](http://codemirror.net/doc/manual.html#addon_annotatescrollbar) and scrollpastend addons work properly together
697
+ * Make [show-hint](http://codemirror.net/doc/manual.html#addon_show-hint) addon select options on single click by default, move selection to hovered item
698
+ * Properly fold comments that include block-comment-start markers
699
+ * Many small language mode fixes
700
+
701
+ ## 5.8.0 (2015-10-20)
702
+
703
+ * Fixes an infinite loop in the [hardwrap addon](http://codemirror.net/doc/manual.html#addon_hardwrap)
704
+ * New modes: [NSIS](http://codemirror.net/mode/nsis/index.html), [Ceylon](http://codemirror.net/mode/clike/index.html)
705
+ * The Kotlin mode is now a [clike](http://codemirror.net/mode/clike/index.html) dialect, rather than a stand-alone mode
706
+ * New option: [`allowDropFileTypes`](http://codemirror.net/doc/manual.html#option_allowDropFileTypes). Binary files can no longer be dropped into CodeMirror
707
+ * New themes: [bespin](http://codemirror.net/demo/theme.html#bespin), [hopscotch](http://codemirror.net/demo/theme.html#hopscotch), [isotope](http://codemirror.net/demo/theme.html#isotope), [railscasts](http://codemirror.net/demo/theme.html#railscasts)
708
+
709
+ ## 5.7.0 (2015-09-21)
710
+
711
+ * New modes: [Vue](http://codemirror.net/mode/vue/index.html), [Oz](http://codemirror.net/mode/oz/index.html), [MscGen](http://codemirror.net/mode/mscgen/index.html) (and dialects), [Closure Stylesheets](http://codemirror.net/mode/css/gss.html)
712
+ * Implement [CommonMark](http://commonmark.org)-style flexible list indent and cross-line code spans in [Markdown](http://codemirror.net/mode/markdown/index.html) mode
713
+ * Add a replace-all button to the [search addon](http://codemirror.net/doc/manual.html#addon_search), and make the persistent search dialog transparent when it obscures the match
714
+ * Handle `acync`/`await` and ocal and binary numbers in [JavaScript mode](http://codemirror.net/mode/javascript/index.html)
715
+ * Fix various issues with the [Haxe mode](http://codemirror.net/mode/haxe/index.html)
716
+ * Make the [closebrackets addon](http://codemirror.net/doc/manual.html#addon_closebrackets) select only the wrapped text when wrapping selection in brackets
717
+ * Tokenize properties as properties in the [CoffeeScript mode](http://codemirror.net/mode/coffeescript/index.html)
718
+ * The [placeholder addon](http://codemirror.net/doc/manual.html#addon_placeholder) now accepts a DOM node as well as a string placeholder
719
+
720
+ ## 5.6.0 (2015-08-20)
721
+
722
+ * Fix bug where you could paste into a `readOnly` editor
723
+ * Show a cursor at the drop location when dragging over the editor
724
+ * The [Rust mode](http://codemirror.net/mode/rust/index.html) was rewritten to handle modern Rust
725
+ * The editor and theme CSS was cleaned up. Some selectors are now less specific than before
726
+ * New theme: [abcdef](http://codemirror.net/demo/theme.html#abcdef)
727
+ * Lines longer than [`maxHighlightLength`](http://codemirror.net/doc/manual.html#option_maxHighlightLength) are now less likely to mess up indentation
728
+ * New addons: [`autorefresh`](http://codemirror.net/doc/manual.html#addon_autorefresh) for refreshing an editor the first time it becomes visible, and `html-lint` for using [HTMLHint](http://htmlhint.com/)
729
+ * The [`search`](http://codemirror.net/doc/manual.html#addon_search) addon now recognizes `\r` and `\n` in pattern and replacement input
730
+
731
+ ## 5.5.0 (2015-07-20)
732
+
733
+ * New option: [`lineSeparator`](http://codemirror.net/doc/manual.html#option_lineSeparator) (with corresponding [method](http://codemirror.net/doc/manual.html#lineSeparator))
734
+ * New themes: [dracula](http://codemirror.net/demo/theme.html#dracula), [seti](http://codemirror.net/demo/theme.html#seti), [yeti](http://codemirror.net/demo/theme.html#yeti), [material](http://codemirror.net/demo/theme.html#material), and [icecoder](http://codemirror.net/demo/theme.html#icecoder)
735
+ * New modes: [Brainfuck](http://codemirror.net/mode/brainfuck/index.html), [VHDL](http://codemirror.net/mode/vhdl/index.html), Squirrel ([clike](http://codemirror.net/mode/clike/index.html) dialect)
736
+ * Define a `findPersistent` command in the [search](http://codemirror.net/demo/search.html) addon, for a dialog that stays open as you cycle through matches
737
+ * From this release on, the NPM module doesn't include documentation and demos
738
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/5.4.0...5.5.0)
739
+
740
+ ## 5.4.0 (2015-06-25)
741
+
742
+ * New modes: [Twig](http://codemirror.net/mode/twig/index.html), [Elm](http://codemirror.net/mode/elm/index.html), [Factor](http://codemirror.net/mode/factor/index.html), [Swift](http://codemirror.net/mode/swift/index.html)
743
+ * Prefer clipboard API (if available) when pasting
744
+ * Refined definition highlighting in [clike](http://codemirror.net/mode/clike/index.html) mode
745
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/5.3.0...5.4.0)
746
+
747
+ ## 5.3.0 (2015-05-20)
748
+
749
+ * Fix several regressions in the [`show-hint`](http://codemirror.net/doc/manual.html#addon_show-hint) addon (`completeSingle` option, `"shown"` and `"close"` events)
750
+ * The [vim mode](http://codemirror.net/demo/vim.html) API was [documented](http://codemirror.net/doc/manual.html#vimapi)
751
+ * New modes: [ASN.1](http://codemirror.net/mode/asn.1/index.html), [TTCN](http://codemirror.net/mode/ttcn/index.html), and [TTCN-CFG](http://codemirror.net/mode/ttcn-cfg/index.html)
752
+ * The [clike](http://codemirror.net/mode/clike/index.html) mode can now deep-indent `switch` statements, and roughly recognizes types and defined identifiers
753
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/5.2.0...5.3.0)
754
+
755
+ ## 5.2.0 (2015-04-20)
756
+
757
+ * Fix several race conditions in [`show-hint`](http://codemirror.net/doc/manual.html#addon_show-hint)'s asynchronous mode
758
+ * Fix backspace binding in [Sublime bindings](http://codemirror.net/demo/sublime.html)
759
+ * Change the way IME is handled in the `"textarea"` [input style](http://codemirror.net/doc/manual.html#option_inputStyle)
760
+ * New modes: [MUMPS](http://codemirror.net/mode/mumps/index.html), [Handlebars](http://codemirror.net/mode/handlebars/index.html)
761
+ * Rewritten modes: [Django](http://codemirror.net/mode/django/index.html), [Z80](http://codemirror.net/mode/z80/index.html)
762
+ * New theme: [Liquibyte](http://codemirror.net/demo/theme.html#liquibyte)
763
+ * New option: [`lineWiseCopyCut`](http://codemirror.net/doc/manual.html#option_lineWiseCopyCut)
764
+ * The [Vim mode](http://codemirror.net/demo/vim.html) now supports buffer-local options and the `filetype` setting
765
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/5.1.0...5.2.0)
766
+
767
+ ## 5.1.0 (2015-03-23)
768
+
769
+ * New modes: [ASCII armor](http://codemirror.net/mode/asciiarmor/index.html) (PGP data), [Troff](http://codemirror.net/mode/troff/index.html), and [CMake](http://codemirror.net/mode/cmake/index.html).
770
+ * Remove SmartyMixed mode, rewrite [Smarty](http://codemirror.net/mode/smarty/index.html) mode to supersede it.
771
+ * New commands in the [merge addon](http://codemirror.net/doc/manual.html#addon_merge): `goNextDiff` and `goPrevDiff`.
772
+ * The [closebrackets addon](http://codemirror.net/doc/manual.html#addon_closebrackets) can now be configured per mode.
773
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/5.0.0...5.1.0).
774
+
775
+ ## 5.0.0 (2015-02-20)
776
+
777
+ * Experimental mobile support (tested on iOS, Android Chrome, stock Android browser)
778
+ * New option [`inputStyle`](http://codemirror.net/doc/manual.html#option_inputStyle) to switch between hidden textarea and contenteditable input.
779
+ * The [`getInputField`](http://codemirror.net/doc/manual.html#getInputField) method is no longer guaranteed to return a textarea.
780
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/4.13.0...5.0.0).
781
+
782
+ ## 4.13.0 (2015-02-20)
783
+
784
+ * Fix the way the [`closetag`](http://codemirror.net/demo/closetag.html) demo handles the slash character.
785
+ * New modes: [Forth](http://codemirror.net/mode/forth/index.html), [Stylus](http://codemirror.net/mode/stylus/index.html).
786
+ * Make the [CSS mode](http://codemirror.net/mode/css/index.html) understand some modern CSS extensions.
787
+ * Have the [Scala mode](http://codemirror.net/mode/clike/index.html) handle symbols and triple-quoted strings.
788
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/4.12.0...4.13.0).
789
+
790
+ ## 4.12.0 (2015-01-22)
791
+
792
+ * The [`closetag`](http://codemirror.net/doc/manual.html#addon_closetag) addon now defines a `"closeTag"` command.
793
+ * Adds a `findModeByFileName` to the [mode metadata](http://codemirror.net/doc/manual.html#addon_meta) addon.
794
+ * [Simple mode](http://codemirror.net/demo/simplemode.html) rules can now contain a `sol` property to only match at the start of a line.
795
+ * New addon: [`selection-pointer`](http://codemirror.net/doc/manual.html#addon_selection-pointer) to style the mouse cursor over the selection.
796
+ * Improvements to the [Sass mode](http://codemirror.net/mode/sass/index.html)'s indentation.
797
+ * The [Vim keymap](http://codemirror.net/demo/vim.html)'s search functionality now supports [scrollbar annotation](http://codemirror.net/doc/manual.html#addon_matchesonscrollbar).
798
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/4.11.0...4.12.0).
799
+
800
+ ## 4.11.0 (2015-01-09)
801
+
802
+ Unfortunately, 4.10 did not take care of the Firefox scrolling issue entirely. This release adds two more patches to address that.
803
+
804
+ ## 4.10.0 (2014-12-29)
805
+
806
+ Emergency single-patch update to 4.9\. Fixes Firefox-specific problem where the cursor could end up behind the horizontal scrollbar.
807
+
808
+ ## 4.9.0 (2014-12-23)
809
+
810
+ * Overhauled scroll bar handling. Add pluggable [scrollbar implementations](http://codemirror.net/demo/simplescrollbars.html).
811
+ * Tweaked behavior for the [completion addons](http://codemirror.net/doc/manual.html#addon_show-hint) to not take text after cursor into account.
812
+ * Two new optional features in the [merge addon](http://codemirror.net/doc/manual.html#addon_merge): aligning editors, and folding unchanged text.
813
+ * New modes: [Dart](http://codemirror.net/mode/dart/index.html), [EBNF](http://codemirror.net/mode/ebnf/index.html), [spreadsheet](http://codemirror.net/mode/spreadsheet/index.html), and [Soy](http://codemirror.net/mode/soy/index.html).
814
+ * New [addon](http://codemirror.net/demo/panel.html) to show persistent panels below/above an editor.
815
+ * New themes: [zenburn](http://codemirror.net/demo/theme.html#zenburn) and [tomorrow night bright](http://codemirror.net/demo/theme.html#tomorrow-night-bright).
816
+ * Allow ctrl-click to clear existing cursors.
817
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/4.8.0...4.9.0).
818
+
819
+ ## 4.8.0 (2014-11-22)
820
+
821
+ * Built-in support for [multi-stroke key bindings](http://codemirror.net/doc/manual.html#normalizeKeyMap).
822
+ * New method: [`getLineTokens`](http://codemirror.net/doc/manual.html#getLineTokens).
823
+ * New modes: [dockerfile](http://codemirror.net/mode/dockerfile/index.html), [IDL](http://codemirror.net/mode/idl/index.html), [Objective C](http://codemirror.net/mode/clike/index.html) (crude).
824
+ * Support styling of gutter backgrounds, allow `"gutter"` styles in [`addLineClass`](http://codemirror.net/doc/manual.html#addLineClass).
825
+ * Many improvements to the [Vim mode](http://codemirror.net/demo/vim.html), rewritten visual mode.
826
+ * Improvements to modes: [gfm](http://codemirror.net/mode/gfm/index.html) (strikethrough), [SPARQL](http://codemirror.net/mode/sparql/index.html) (version 1.1 support), and [sTeX](http://codemirror.net/mode/stex/index.html) (no more runaway math mode).
827
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/4.7.0...4.8.0).
828
+
829
+ ## 4.7.0 (2014-10-20)
830
+
831
+ * **Incompatible**: The [lint addon](http://codemirror.net/demo/lint.html) now passes the editor's value as first argument to asynchronous lint functions, for consistency. The editor is still passed, as fourth argument.
832
+ * Improved handling of unicode identifiers in modes for languages that support them.
833
+ * More mode improvements: [CoffeeScript](http://codemirror.net/mode/coffeescript/index.html) (indentation), [Verilog](http://codemirror.net/mode/verilog/index.html) (indentation), [Scala](http://codemirror.net/mode/clike/index.html) (indentation, triple-quoted strings), and [PHP](http://codemirror.net/mode/php/index.html) (interpolated variables in heredoc strings).
834
+ * New modes: [Textile](http://codemirror.net/mode/textile/index.html) and [Tornado templates](http://codemirror.net/mode/tornado/index.html).
835
+ * Experimental new [way to define modes](http://codemirror.net/demo/simplemode.html).
836
+ * Improvements to the [Vim bindings](http://codemirror.net/demo/vim.html): Arbitrary insert mode key mappings are now possible, and text objects are supported in visual mode.
837
+ * The mode [meta-information file](http://codemirror.net/mode/meta.js) now includes information about file extensions, and [helper functions](http://codemirror.net/doc/manual.html#addon_meta) `findModeByMIME` and `findModeByExtension`.
838
+ * New logo!
839
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/4.6.0...4.7.0).
840
+
841
+ ## 4.6.0 (2014-09-19)
842
+
843
+ * New mode: [Modelica](http://codemirror.net/mode/modelica/index.html)
844
+ * New method: [`findWordAt`](http://codemirror.net/doc/manual.html#findWordAt)
845
+ * Make it easier to [use text background styling](http://codemirror.net/demo/markselection.html)
846
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/4.5.0...4.6.0).
847
+
848
+ ## 4.5.0 (2014-08-21)
849
+
850
+ * Fix several serious bugs with horizontal scrolling
851
+ * New mode: [Slim](http://codemirror.net/mode/slim/index.html)
852
+ * New command: [`goLineLeftSmart`](http://codemirror.net/doc/manual.html#command_goLineLeftSmart)
853
+ * More fixes and extensions for the [Vim](http://codemirror.net/demo/vim.html) visual block mode
854
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/4.4.0...4.5.0).
855
+
856
+ ## 4.4.0 (2014-07-21)
857
+
858
+ * **Note:** Some events might now fire in slightly different order (`"change"` is still guaranteed to fire before `"cursorActivity"`)
859
+ * Nested operations in multiple editors are now synced (complete at same time, reducing DOM reflows)
860
+ * Visual block mode for [vim](http://codemirror.net/demo/vim.html) (<C-v>) is nearly complete
861
+ * New mode: [Kotlin](http://codemirror.net/mode/kotlin/index.html)
862
+ * Better multi-selection paste for text copied from multiple CodeMirror selections
863
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/4.3.0...4.4.0).
864
+
865
+ ## 4.3.0 (2014-06-23)
866
+
867
+ * Several [vim bindings](http://codemirror.net/demo/vim.html) improvements: search and exCommand history, global flag for `:substitute`, `:global` command.
868
+ * Allow hiding the cursor by setting [`cursorBlinkRate`](http://codemirror.net/doc/manual.html#option_cursorBlinkRate) to a negative value.
869
+ * Make gutter markers themeable, use this in foldgutter.
870
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/4.2.0...4.3.0).
871
+
872
+ ## 4.2.0 (2014-05-19)
873
+
874
+ * Fix problem where some modes were broken by the fact that empty tokens were forbidden.
875
+ * Several fixes to context menu handling.
876
+ * On undo, scroll _change_, not cursor, into view.
877
+ * Rewritten [Jade](http://codemirror.net/mode/jade/index.html) mode.
878
+ * Various improvements to [Shell](http://codemirror.net/mode/shell/index.html) (support for more syntax) and [Python](http://codemirror.net/mode/python/index.html) (better indentation) modes.
879
+ * New mode: [Cypher](http://codemirror.net/mode/cypher/index.html).
880
+ * New theme: [Neo](http://codemirror.net/demo/theme.html#neo).
881
+ * Support direct styling options (color, line style, width) in the [rulers](http://codemirror.net/doc/manual.html#addon_rulers) addon.
882
+ * Recognize per-editor configuration for the [show-hint](http://codemirror.net/doc/manual.html#addon_show-hint) and [foldcode](http://codemirror.net/doc/manual.html#addon_foldcode) addons.
883
+ * More intelligent scanning for existing close tags in [closetag](http://codemirror.net/doc/manual.html#addon_closetag) addon.
884
+ * In the [Vim bindings](http://codemirror.net/demo/vim.html): Fix bracket matching, support case conversion in visual mode, visual paste, append action.
885
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/4.1.0...4.2.0).
886
+
887
+ ## 4.1.0 (2014-04-22)
888
+
889
+ * _Slightly incompatible_: The [`"cursorActivity"`](http://codemirror.net/doc/manual.html#event_cursorActivity) event now fires after all other events for the operation (and only for handlers that were actually registered at the time the activity happened).
890
+ * New command: [`insertSoftTab`](http://codemirror.net/doc/manual.html#command_insertSoftTab).
891
+ * New mode: [Django](http://codemirror.net/mode/django/index.html).
892
+ * Improved modes: [Verilog](http://codemirror.net/mode/verilog/index.html) (rewritten), [Jinja2](http://codemirror.net/mode/jinja2/index.html), [Haxe](http://codemirror.net/mode/haxe/index.html), [PHP](http://codemirror.net/mode/php/index.html) (string interpolation highlighted), [JavaScript](http://codemirror.net/mode/javascript/index.html) (indentation of trailing else, template strings), [LiveScript](http://codemirror.net/mode/livescript/index.html) (multi-line strings).
893
+ * Many small issues from the 3.x→4.x transition were found and fixed.
894
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/4.0.3...4.1.0).
895
+
896
+ ## 3.24.0 (2014-04-22)
897
+
898
+ Merges the improvements from 4.1 that could easily be applied to the 3.x code. Also improves the way the editor size is updated when line widgets change.
899
+
900
+ ## 3.23.0 (2014-03-20)
901
+
902
+ * In the [XML mode](http://codemirror.net/mode/xml/index.html), add `brackets` style to angle brackets, fix case-sensitivity of tags for HTML.
903
+ * New mode: [Dylan](http://codemirror.net/mode/dylan/index.html).
904
+ * Many improvements to the [Vim bindings](http://codemirror.net/demo/vim.html).
905
+
906
+ ## 3.22.0 (2014-02-21)
907
+
908
+ * Adds the [`findMarks`](http://codemirror.net/doc/manual.html#findMarks) method.
909
+ * New addons: [rulers](http://codemirror.net/doc/manual.html#addon_rulers), markdown-fold, yaml-lint.
910
+ * New theme: [mdn-like](http://codemirror.net/demo/theme.html#mdn-like).
911
+ * New mode: [Solr](http://codemirror.net/mode/solr/index.html).
912
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/3.21.0...3.22.0).
913
+
914
+ ## 3.21.0 (2014-01-16)
915
+
916
+ * Auto-indenting a block will no longer add trailing whitespace to blank lines.
917
+ * Marking text has a new option [`clearWhenEmpty`](http://codemirror.net/doc/manual.html#markText) to control auto-removal.
918
+ * Several bugfixes in the handling of bidirectional text.
919
+ * The [XML](http://codemirror.net/mode/xml/index.html) and [CSS](http://codemirror.net/mode/css/index.html) modes were largely rewritten. [LESS](http://codemirror.net/mode/css/less.html) support was added to the CSS mode.
920
+ * The OCaml mode was moved to an [mllike](http://codemirror.net/mode/mllike/index.html) mode, F# support added.
921
+ * Make it possible to fetch multiple applicable helper values with [`getHelpers`](http://codemirror.net/doc/manual.html#getHelpers), and to register helpers matched on predicates with [`registerGlobalHelper`](http://codemirror.net/doc/manual.html#registerGlobalHelper).
922
+ * New theme [pastel-on-dark](http://codemirror.net/demo/theme.html#pastel-on-dark).
923
+ * Better ECMAScript 6 support in [JavaScript](http://codemirror.net/mode/javascript/index.html) mode.
924
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/3.20.0...3.21.0).
925
+
926
+ ## 3.20.0 (2013-11-21)
927
+
928
+ * New modes: [Julia](http://codemirror.net/mode/julia/index.html) and [PEG.js](http://codemirror.net/mode/pegjs/index.html).
929
+ * Support ECMAScript 6 in the [JavaScript mode](http://codemirror.net/mode/javascript/index.html).
930
+ * Improved indentation for the [CoffeeScript mode](http://codemirror.net/mode/coffeescript/index.html).
931
+ * Make non-printable-character representation [configurable](http://codemirror.net/doc/manual.html#option_specialChars).
932
+ * Add ‘notification’ functionality to [dialog](http://codemirror.net/doc/manual.html#addon_dialog) addon.
933
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/3.19.0...3.20.0).
934
+
935
+ ## 3.19.0 (2013-10-21)
936
+
937
+ * New modes: [Eiffel](http://codemirror.net/mode/eiffel/index.html), [Gherkin](http://codemirror.net/mode/gherkin/index.html), [MSSQL dialect](http://codemirror.net/mode/sql/?mime=text/x-mssql).
938
+ * New addons: [hardwrap](http://codemirror.net/doc/manual.html#addon_hardwrap), [sql-hint](http://codemirror.net/doc/manual.html#addon_sql-hint).
939
+ * New theme: [MBO](http://codemirror.net/demo/theme.html#mbo).
940
+ * Add [support](http://codemirror.net/doc/manual.html#token_style_line) for line-level styling from mode tokenizers.
941
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/3.18.0...3.19.0).
942
+
943
+ ## 3.18.0 (2013-09-23)
944
+
945
+ Emergency release to fix a problem in 3.17 where `.setOption("lineNumbers", false)` would raise an error.
946
+
947
+ ## 3.17.0 (2013-09-23)
948
+
949
+ * New modes: [Fortran](http://codemirror.net/mode/fortran/index.html), [Octave](http://codemirror.net/mode/octave/index.html) (Matlab), [TOML](http://codemirror.net/mode/toml/index.html), and [DTD](http://codemirror.net/mode/dtd/index.html).
950
+ * New addons: [`css-lint`](http://codemirror.net/addon/lint/css-lint.js), [`css-hint`](http://codemirror.net/doc/manual.html#addon_css-hint).
951
+ * Improve resilience to CSS 'frameworks' that globally mess up `box-sizing`.
952
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/3.16.0...3.17.0).
953
+
954
+ ## 3.16.0 (2013-08-21)
955
+
956
+ * The whole codebase is now under a single [license](http://codemirror.net/LICENSE) file.
957
+ * The project page was overhauled and redesigned.
958
+ * New themes: [Paraiso](http://codemirror.net/demo/theme.html#paraiso-dark) ([light](http://codemirror.net/demo/theme.html#paraiso-light)), [The Matrix](http://codemirror.net/demo/theme.html#the-matrix).
959
+ * Improved interaction between themes and [active-line](http://codemirror.net/doc/manual.html#addon_active-line)/[matchbrackets](http://codemirror.net/doc/manual.html#addon_matchbrackets) addons.
960
+ * New [folding](http://codemirror.net/doc/manual.html#addon_foldcode) function `CodeMirror.fold.comment`.
961
+ * Added [fullscreen](http://codemirror.net/doc/manual.html#addon_fullscreen) addon.
962
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/3.15.0...3.16.0).
963
+
964
+ ## 3.15.0 (2013-07-29)
965
+
966
+ * New modes: [Jade](http://codemirror.net/mode/jade/index.html), [Nginx](http://codemirror.net/mode/nginx/index.html).
967
+ * New addons: [Tern](http://codemirror.net/demo/tern.html), [matchtags](http://codemirror.net/doc/manual.html#addon_matchtags), and [foldgutter](http://codemirror.net/doc/manual.html#addon_foldgutter).
968
+ * Introduced [_helper_](http://codemirror.net/doc/manual.html#getHelper) concept ([context](https://groups.google.com/forum/#!msg/codemirror/cOc0xvUUEUU/nLrX1-qnidgJ)).
969
+ * New method: [`getModeAt`](http://codemirror.net/doc/manual.html#getModeAt).
970
+ * New themes: base16 [dark](http://codemirror.net/demo/theme.html#base16-dark)/[light](http://codemirror.net/demo/theme.html#base16-light), 3024 [dark](http://codemirror.net/demo/theme.html#3024-night)/[light](http://codemirror.net/demo/theme.html#3024-day), [tomorrow-night](http://codemirror.net/demo/theme.html#tomorrow-night-eighties).
971
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/3.14.0...3.15.0).
972
+
973
+ ## 3.14.0 (2013-06-20)
974
+
975
+ * New addons: [trailing space highlight](http://codemirror.net/doc/manual.html#addon_trailingspace), [XML completion](http://codemirror.net/doc/manual.html#addon_xml-hint) (rewritten), and [diff merging](http://codemirror.net/doc/manual.html#addon_merge).
976
+ * [`markText`](http://codemirror.net/doc/manual.html#markText) and [`addLineWidget`](http://codemirror.net/doc/manual.html#addLineWidget) now take a `handleMouseEvents` option.
977
+ * New methods: [`lineAtHeight`](http://codemirror.net/doc/manual.html#lineAtHeight), [`getTokenTypeAt`](http://codemirror.net/doc/manual.html#getTokenTypeAt).
978
+ * More precise cleanness-tracking using [`changeGeneration`](http://codemirror.net/doc/manual.html#changeGeneration) and [`isClean`](http://codemirror.net/doc/manual.html#isClean).
979
+ * Many extensions to [Emacs](http://codemirror.net/demo/emacs.html) mode (prefixes, more navigation units, and more).
980
+ * New events [`"keyHandled"`](http://codemirror.net/doc/manual.html#event_keyHandled) and [`"inputRead"`](http://codemirror.net/doc/manual.html#event_inputRead).
981
+ * Various improvements to [Ruby](http://codemirror.net/mode/ruby/index.html), [Smarty](http://codemirror.net/mode/smarty/index.html), [SQL](http://codemirror.net/mode/sql/index.html), and [Vim](http://codemirror.net/demo/vim.html) modes.
982
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/3.13.0...3.14.0).
983
+
984
+ ## 3.13.0 (2013-05-20)
985
+
986
+ * New modes: [COBOL](http://codemirror.net/mode/cobol/index.html) and [HAML](http://codemirror.net/mode/haml/index.html).
987
+ * New options: [`cursorScrollMargin`](http://codemirror.net/doc/manual.html#option_cursorScrollMargin) and [`coverGutterNextToScrollbar`](http://codemirror.net/doc/manual.html#option_coverGutterNextToScrollbar).
988
+ * New addon: [commenting](http://codemirror.net/doc/manual.html#addon_comment).
989
+ * More features added to the [Vim keymap](http://codemirror.net/demo/vim.html).
990
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/v3.12...3.13.0).
991
+
992
+ ## 3.12.0 (2013-04-19)
993
+
994
+ * New mode: [GNU assembler](http://codemirror.net/mode/gas/index.html).
995
+ * New options: [`maxHighlightLength`](http://codemirror.net/doc/manual.html#option_maxHighlightLength) and [`historyEventDelay`](http://codemirror.net/doc/manual.html#option_historyEventDelay).
996
+ * Added [`addToHistory`](http://codemirror.net/doc/manual.html#mark_addToHistory) option for `markText`.
997
+ * Various fixes to JavaScript tokenization and indentation corner cases.
998
+ * Further improvements to the vim mode.
999
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/v3.11...v3.12).
1000
+
1001
+ ## 3.11.0 (2013-03-20)
1002
+
1003
+ * **Removed code:** `collapserange`, `formatting`, and `simple-hint` addons. `plsql` and `mysql` modes (use [`sql`](http://codemirror.net/mode/sql/index.html) mode).
1004
+ * **Moved code:** the range-finding functions for folding now have [their own files](http://codemirror.net/addon/fold/).
1005
+ * **Changed interface:** the [`continuecomment`](http://codemirror.net/doc/manual.html#addon_continuecomment) addon now exposes an option, rather than a command.
1006
+ * New modes: [SCSS](http://codemirror.net/mode/css/scss.html), [Tcl](http://codemirror.net/mode/tcl/index.html), [LiveScript](http://codemirror.net/mode/livescript/index.html), and [mIRC](http://codemirror.net/mode/mirc/index.html).
1007
+ * New addons: [`placeholder`](http://codemirror.net/demo/placeholder.html), [HTML completion](http://codemirror.net/demo/html5complete.html).
1008
+ * New methods: [`hasFocus`](http://codemirror.net/doc/manual.html#hasFocus), [`defaultCharWidth`](http://codemirror.net/doc/manual.html#defaultCharWidth).
1009
+ * New events: [`beforeCursorEnter`](http://codemirror.net/doc/manual.html#event_beforeCursorEnter), [`renderLine`](http://codemirror.net/doc/manual.html#event_renderLine).
1010
+ * Many improvements to the [`show-hint`](http://codemirror.net/doc/manual.html#addon_show-hint) completion dialog addon.
1011
+ * Tweak behavior of by-word cursor motion.
1012
+ * Further improvements to the [vim mode](http://codemirror.net/demo/vim.html).
1013
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/v3.1...v3.11).
1014
+
1015
+ ## 3.02.0 (2013-01-25)
1016
+
1017
+ Single-bugfix release. Fixes a problem that prevents CodeMirror instances from being garbage-collected after they become unused.
1018
+
1019
+ ## 3.01.0 (2013-01-21)
1020
+
1021
+ * Move all add-ons into an organized directory structure under [`/addon`](http://codemirror.net/addon/). **You might have to adjust your paths.**
1022
+ * New modes: [D](http://codemirror.net/mode/d/index.html), [Sass](http://codemirror.net/mode/sass/index.html), [APL](http://codemirror.net/mode/apl/index.html), [SQL](http://codemirror.net/mode/sql/index.html) (configurable), and [Asterisk](http://codemirror.net/mode/asterisk/index.html).
1023
+ * Several bugfixes in right-to-left text support.
1024
+ * Add [`rtlMoveVisually`](http://codemirror.net/doc/manual.html#option_rtlMoveVisually) option.
1025
+ * Improvements to vim keymap.
1026
+ * Add built-in (lightweight) [overlay mode](http://codemirror.net/doc/manual.html#addOverlay) support.
1027
+ * Support `showIfHidden` option for [line widgets](http://codemirror.net/doc/manual.html#addLineWidget).
1028
+ * Add simple [Python hinter](http://codemirror.net/doc/manual.html#addon_python-hint).
1029
+ * Bring back the [`fixedGutter`](http://codemirror.net/doc/manual.html#option_fixedGutter) option.
1030
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/v3.0...v3.01).
1031
+
1032
+ ## 3.1.0 (2013-02-21)
1033
+
1034
+ * **Incompatible:** key handlers may now _return_, rather than _throw_ `CodeMirror.Pass` to signal they didn't handle the key.
1035
+ * Make documents a [first-class construct](http://codemirror.net/doc/manual.html#api_doc), support split views and subviews.
1036
+ * Add a [new module](http://codemirror.net/doc/manual.html#addon_show-hint) for showing completion hints. Deprecate `simple-hint.js`.
1037
+ * Extend [htmlmixed mode](http://codemirror.net/mode/htmlmixed/index.html) to allow custom handling of script types.
1038
+ * Support an `insertLeft` option to [`setBookmark`](http://codemirror.net/doc/manual.html#setBookmark).
1039
+ * Add an [`eachLine`](http://codemirror.net/doc/manual.html#eachLine) method to iterate over a document.
1040
+ * New addon modules: [selection marking](http://codemirror.net/demo/markselection.html), [linting](http://codemirror.net/demo/lint.html), and [automatic bracket closing](http://codemirror.net/demo/closebrackets.html).
1041
+ * Add [`"beforeChange"`](http://codemirror.net/doc/manual.html#event_beforeChange) and [`"beforeSelectionChange"`](http://codemirror.net/doc/manual.html#event_beforeSelectionChange) events.
1042
+ * Add [`"hide"`](http://codemirror.net/doc/manual.html#event_hide) and [`"unhide"`](http://codemirror.net/doc/manual.html#event_unhide) events to marked ranges.
1043
+ * Fix [`coordsChar`](http://codemirror.net/doc/manual.html#coordsChar)'s interpretation of its argument to match the documentation.
1044
+ * New modes: [Turtle](http://codemirror.net/mode/turtle/index.html) and [Q](http://codemirror.net/mode/q/index.html).
1045
+ * Further improvements to the [vim mode](http://codemirror.net/demo/vim.html).
1046
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/v3.01...v3.1).
1047
+
1048
+ ## 3.0.0 (2012-12-10)
1049
+
1050
+ **New major version**. Only partially backwards-compatible. See the [upgrading guide](http://codemirror.net/doc/upgrade_v3.html) for more information. Changes since release candidate 2:
1051
+
1052
+ * Rewritten VIM mode.
1053
+ * Fix a few minor scrolling and sizing issues.
1054
+ * Work around Safari segfault when dragging.
1055
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/v3.0rc2...v3.0).
1056
+
1057
+ ## 2.38.0 (2013-01-21)
1058
+
1059
+ Integrate some bugfixes, enhancements to the vim keymap, and new modes ([D](http://codemirror.net/mode/d/index.html), [Sass](http://codemirror.net/mode/sass/index.html), [APL](http://codemirror.net/mode/apl/index.html)) from the v3 branch.
1060
+
1061
+ ## 2.37.0 (2012-12-20)
1062
+
1063
+ * New mode: [SQL](http://codemirror.net/mode/sql/index.html) (will replace [plsql](http://codemirror.net/mode/plsql/index.html) and [mysql](http://codemirror.net/mode/mysql/index.html) modes).
1064
+ * Further work on the new VIM mode.
1065
+ * Fix Cmd/Ctrl keys on recent Operas on OS X.
1066
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/v2.36...v2.37).
1067
+
1068
+ ## 2.36.0 (2012-11-20)
1069
+
1070
+ * New mode: [Z80 assembly](http://codemirror.net/mode/z80/index.html).
1071
+ * New theme: [Twilight](http://codemirror.net/demo/theme.html#twilight).
1072
+ * Add command-line compression helper.
1073
+ * Make [`scrollIntoView`](http://codemirror.net/doc/manual.html#scrollIntoView) public.
1074
+ * Add [`defaultTextHeight`](http://codemirror.net/doc/manual.html#defaultTextHeight) method.
1075
+ * Various extensions to the vim keymap.
1076
+ * Make [PHP mode](http://codemirror.net/mode/php/index.html) build on [mixed HTML mode](http://codemirror.net/mode/htmlmixed/index.html).
1077
+ * Add [comment-continuing](http://codemirror.net/doc/manual.html#addon_continuecomment) add-on.
1078
+ * Full [list of patches](http://codemirror.net/https://github.com/codemirror/CodeMirror/compare/v2.35...v2.36).
1079
+
1080
+ ## 2.35.0 (2012-10-22)
1081
+
1082
+ * New (sub) mode: [TypeScript](http://codemirror.net/mode/javascript/typescript.html).
1083
+ * Don't overwrite (insert key) when pasting.
1084
+ * Fix several bugs in [`markText`](http://codemirror.net/doc/manual.html#markText)/undo interaction.
1085
+ * Better indentation of JavaScript code without semicolons.
1086
+ * Add [`defineInitHook`](http://codemirror.net/doc/manual.html#defineInitHook) function.
1087
+ * Full [list of patches](https://github.com/codemirror/CodeMirror/compare/v2.34...v2.35).
1088
+
1089
+ ## 2.34.0 (2012-09-19)
1090
+
1091
+ * New mode: [Common Lisp](http://codemirror.net/mode/commonlisp/index.html).
1092
+ * Fix right-click select-all on most browsers.
1093
+ * Change the way highlighting happens:
1094
+ Saves memory and CPU cycles.
1095
+ `compareStates` is no longer needed.
1096
+ `onHighlightComplete` no longer works.
1097
+ * Integrate mode (Markdown, XQuery, CSS, sTex) tests in central testsuite.
1098
+ * Add a [`CodeMirror.version`](http://codemirror.net/doc/manual.html#version) property.
1099
+ * More robust handling of nested modes in [formatting](http://codemirror.net/demo/formatting.html) and [closetag](http://codemirror.net/demo/closetag.html) plug-ins.
1100
+ * Un/redo now preserves [marked text](http://codemirror.net/doc/manual.html#markText) and bookmarks.
1101
+ * [Full list](https://github.com/codemirror/CodeMirror/compare/v2.33...v2.34) of patches.
1102
+
1103
+ ## 2.33.0 (2012-08-23)
1104
+
1105
+ * New mode: [Sieve](http://codemirror.net/mode/sieve/index.html).
1106
+ * New [`getViewPort`](http://codemirror.net/doc/manual.html#getViewport) and [`onViewportChange`](http://codemirror.net/doc/manual.html#option_onViewportChange) API.
1107
+ * [Configurable](http://codemirror.net/doc/manual.html#option_cursorBlinkRate) cursor blink rate.
1108
+ * Make binding a key to `false` disabling handling (again).
1109
+ * Show non-printing characters as red dots.
1110
+ * More tweaks to the scrolling model.
1111
+ * Expanded testsuite. Basic linter added.
1112
+ * Remove most uses of `innerHTML`. Remove `CodeMirror.htmlEscape`.
1113
+ * [Full list](https://github.com/codemirror/CodeMirror/compare/v2.32...v2.33) of patches.
1114
+
1115
+ ## 2.32.0 (2012-07-23)
1116
+
1117
+ Emergency fix for a bug where an editor with line wrapping on IE will break when there is _no_ scrollbar.
1118
+
1119
+ ## 2.31.0 (2012-07-20)
1120
+
1121
+ * New modes: [OCaml](http://codemirror.net/mode/ocaml/index.html), [Haxe](http://codemirror.net/mode/haxe/index.html), and [VB.NET](http://codemirror.net/mode/vb/index.html).
1122
+ * Several fixes to the new scrolling model.
1123
+ * Add a [`setSize`](http://codemirror.net/doc/manual.html#setSize) method for programmatic resizing.
1124
+ * Add [`getHistory`](http://codemirror.net/doc/manual.html#getHistory) and [`setHistory`](http://codemirror.net/doc/manual.html#setHistory) methods.
1125
+ * Allow custom line separator string in [`getValue`](http://codemirror.net/doc/manual.html#getValue) and [`getRange`](http://codemirror.net/doc/manual.html#getRange).
1126
+ * Support double- and triple-click drag, double-clicking whitespace.
1127
+ * And more... [(all patches)](https://github.com/codemirror/CodeMirror/compare/v2.3...v2.31)
1128
+
1129
+ ## 2.30.0 (2012-06-22)
1130
+
1131
+ * **New scrollbar implementation**. Should flicker less. Changes DOM structure of the editor.
1132
+ * New theme: [vibrant-ink](http://codemirror.net/demo/theme.html#vibrant-ink).
1133
+ * Many extensions to the VIM keymap (including text objects).
1134
+ * Add [mode-multiplexing](http://codemirror.net/demo/multiplex.html) utility script.
1135
+ * Fix bug where right-click paste works in read-only mode.
1136
+ * Add a [`getScrollInfo`](http://codemirror.net/doc/manual.html#getScrollInfo) method.
1137
+ * Lots of other [fixes](https://github.com/codemirror/CodeMirror/compare/v2.25...v2.3).
1138
+
1139
+ ## 2.25.0 (2012-05-23)
1140
+
1141
+ * New mode: [Erlang](http://codemirror.net/mode/erlang/index.html).
1142
+ * **Remove xmlpure mode** (use [xml.js](http://codemirror.net/mode/xml/index.html)).
1143
+ * Fix line-wrapping in Opera.
1144
+ * Fix X Windows middle-click paste in Chrome.
1145
+ * Fix bug that broke pasting of huge documents.
1146
+ * Fix backspace and tab key repeat in Opera.
1147
+
1148
+ ## 2.24.0 (2012-04-23)
1149
+
1150
+ * **Drop support for Internet Explorer 6**.
1151
+ * New modes: [Shell](http://codemirror.net/mode/shell/index.html), [Tiki wiki](http://codemirror.net/mode/tiki/index.html), [Pig Latin](http://codemirror.net/mode/pig/index.html).
1152
+ * New themes: [Ambiance](http://codemirror.net/demo/theme.html#ambiance), [Blackboard](http://codemirror.net/demo/theme.html#blackboard).
1153
+ * More control over drag/drop with [`dragDrop`](http://codemirror.net/doc/manual.html#option_dragDrop) and [`onDragEvent`](http://codemirror.net/doc/manual.html#option_onDragEvent) options.
1154
+ * Make HTML mode a bit less pedantic.
1155
+ * Add [`compoundChange`](http://codemirror.net/doc/manual.html#compoundChange) API method.
1156
+ * Several fixes in undo history and line hiding.
1157
+ * Remove (broken) support for `catchall` in key maps, add `nofallthrough` boolean field instead.
1158
+
1159
+ ## 2.23.0 (2012-03-26)
1160
+
1161
+ * Change **default binding for tab**. Starting in 2.23, these bindings are default:
1162
+ * Tab: Insert tab character
1163
+ * Shift-tab: Reset line indentation to default
1164
+ * Ctrl/Cmd-[: Reduce line indentation (old tab behaviour)
1165
+ * Ctrl/Cmd-]: Increase line indentation (old shift-tab behaviour)
1166
+ * New modes: [XQuery](http://codemirror.net/mode/xquery/index.html) and [VBScript](http://codemirror.net/mode/vbscript/index.html).
1167
+ * Two new themes: [lesser-dark](http://codemirror.net/mode/less/index.html) and [xq-dark](http://codemirror.net/mode/xquery/index.html).
1168
+ * Differentiate between background and text styles in [`setLineClass`](http://codemirror.net/doc/manual.html#setLineClass).
1169
+ * Fix drag-and-drop in IE9+.
1170
+ * Extend [`charCoords`](http://codemirror.net/doc/manual.html#charCoords) and [`cursorCoords`](http://codemirror.net/doc/manual.html#cursorCoords) with a `mode` argument.
1171
+ * Add [`autofocus`](http://codemirror.net/doc/manual.html#option_autofocus) option.
1172
+ * Add [`findMarksAt`](http://codemirror.net/doc/manual.html#findMarksAt) method.
1173
+
1174
+ ## 2.22.0 (2012-02-27)
1175
+
1176
+ * Allow [key handlers](http://codemirror.net/doc/manual.html#keymaps) to pass up events, allow binding characters.
1177
+ * Add [`autoClearEmptyLines`](http://codemirror.net/doc/manual.html#option_autoClearEmptyLines) option.
1178
+ * Properly use tab stops when rendering tabs.
1179
+ * Make PHP mode more robust.
1180
+ * Support indentation blocks in [code folder](http://codemirror.net/doc/manual.html#addon_foldcode).
1181
+ * Add a script for [highlighting instances of the selection](http://codemirror.net/doc/manual.html#addon_match-highlighter).
1182
+ * New [.properties](http://codemirror.net/mode/properties/index.html) mode.
1183
+ * Fix many bugs.
1184
+
1185
+ ## 2.21.0 (2012-01-27)
1186
+
1187
+ * Added [LESS](http://codemirror.net/mode/less/index.html), [MySQL](http://codemirror.net/mode/mysql/index.html), [Go](http://codemirror.net/mode/go/index.html), and [Verilog](http://codemirror.net/mode/verilog/index.html) modes.
1188
+ * Add [`smartIndent`](http://codemirror.net/doc/manual.html#option_smartIndent) option.
1189
+ * Support a cursor in [`readOnly`](http://codemirror.net/doc/manual.html#option_readOnly)-mode.
1190
+ * Support assigning multiple styles to a token.
1191
+ * Use a new approach to drawing the selection.
1192
+ * Add [`scrollTo`](http://codemirror.net/doc/manual.html#scrollTo) method.
1193
+ * Allow undo/redo events to span non-adjacent lines.
1194
+ * Lots and lots of bugfixes.
1195
+
1196
+ ## 2.20.0 (2011-12-20)
1197
+
1198
+ * Slightly incompatible API changes. Read [this](http://codemirror.net/doc/upgrade_v2.2.html).
1199
+ * New approach to [binding](http://codemirror.net/doc/manual.html#option_extraKeys) keys, support for [custom bindings](http://codemirror.net/doc/manual.html#option_keyMap).
1200
+ * Support for overwrite (insert).
1201
+ * [Custom-width](http://codemirror.net/doc/manual.html#option_tabSize) and [stylable](http://codemirror.net/demo/visibletabs.html) tabs.
1202
+ * Moved more code into [add-on scripts](http://codemirror.net/doc/manual.html#addons).
1203
+ * Support for sane vertical cursor movement in wrapped lines.
1204
+ * More reliable handling of editing [marked text](http://codemirror.net/doc/manual.html#markText).
1205
+ * Add minimal [emacs](http://codemirror.net/demo/emacs.html) and [vim](http://codemirror.net/demo/vim.html) bindings.
1206
+ * Rename `coordsFromIndex` to [`posFromIndex`](http://codemirror.net/doc/manual.html#posFromIndex), add [`indexFromPos`](http://codemirror.net/doc/manual.html#indexFromPos) method.
1207
+
1208
+ ## 2.18.0 (2011-11-21)
1209
+
1210
+ Fixes `TextMarker.clear`, which is broken in 2.17.
1211
+
1212
+ ## 2.17.0 (2011-11-21)
1213
+
1214
+ * Add support for [line wrapping](http://codemirror.net/doc/manual.html#option_lineWrapping) and [code folding](http://codemirror.net/doc/manual.html#hideLine).
1215
+ * Add [Github-style Markdown](http://codemirror.net/mode/gfm/index.html) mode.
1216
+ * Add [Monokai](http://codemirror.net/theme/monokai.css) and [Rubyblue](http://codemirror.net/theme/rubyblue.css) themes.
1217
+ * Add [`setBookmark`](http://codemirror.net/doc/manual.html#setBookmark) method.
1218
+ * Move some of the demo code into reusable components under [`lib/util`](http://codemirror.net/addon/).
1219
+ * Make screen-coord-finding code faster and more reliable.
1220
+ * Fix drag-and-drop in Firefox.
1221
+ * Improve support for IME.
1222
+ * Speed up content rendering.
1223
+ * Fix browser's built-in search in Webkit.
1224
+ * Make double- and triple-click work in IE.
1225
+ * Various fixes to modes.
1226
+
1227
+ ## 2.16.0 (2011-10-27)
1228
+
1229
+ * Add [Perl](http://codemirror.net/mode/perl/index.html), [Rust](http://codemirror.net/mode/rust/index.html), [TiddlyWiki](http://codemirror.net/mode/tiddlywiki/index.html), and [Groovy](http://codemirror.net/mode/groovy/index.html) modes.
1230
+ * Dragging text inside the editor now moves, rather than copies.
1231
+ * Add a [`coordsFromIndex`](http://codemirror.net/doc/manual.html#coordsFromIndex) method.
1232
+ * **API change**: `setValue` now no longer clears history. Use [`clearHistory`](http://codemirror.net/doc/manual.html#clearHistory) for that.
1233
+ * **API change**: [`markText`](http://codemirror.net/doc/manual.html#markText) now returns an object with `clear` and `find` methods. Marked text is now more robust when edited.
1234
+ * Fix editing code with tabs in Internet Explorer.
1235
+
1236
+ ## 2.15.0 (2011-09-26)
1237
+
1238
+ Fix bug that snuck into 2.14: Clicking the character that currently has the cursor didn't re-focus the editor.
1239
+
1240
+ ## 2.14.0 (2011-09-26)
1241
+
1242
+ * Add [Clojure](http://codemirror.net/mode/clojure/index.html), [Pascal](http://codemirror.net/mode/pascal/index.html), [NTriples](http://codemirror.net/mode/ntriples/index.html), [Jinja2](http://codemirror.net/mode/jinja2/index.html), and [Markdown](http://codemirror.net/mode/markdown/index.html) modes.
1243
+ * Add [Cobalt](http://codemirror.net/theme/cobalt.css) and [Eclipse](http://codemirror.net/theme/eclipse.css) themes.
1244
+ * Add a [`fixedGutter`](http://codemirror.net/doc/manual.html#option_fixedGutter) option.
1245
+ * Fix bug with `setValue` breaking cursor movement.
1246
+ * Make gutter updates much more efficient.
1247
+ * Allow dragging of text out of the editor (on modern browsers).
1248
+
1249
+ ## 2.13.0 (2011-08-23)
1250
+
1251
+ * Add [Ruby](http://codemirror.net/mode/ruby/index.html), [R](http://codemirror.net/mode/r/index.html), [CoffeeScript](http://codemirror.net/mode/coffeescript/index.html), and [Velocity](http://codemirror.net/mode/velocity/index.html) modes.
1252
+ * Add [`getGutterElement`](http://codemirror.net/doc/manual.html#getGutterElement) to API.
1253
+ * Several fixes to scrolling and positioning.
1254
+ * Add [`smartHome`](http://codemirror.net/doc/manual.html#option_smartHome) option.
1255
+ * Add an experimental [pure XML](http://codemirror.net/mode/xmlpure/index.html) mode.
1256
+
1257
+ ## 2.12.0 (2011-07-25)
1258
+
1259
+ * Add a [SPARQL](http://codemirror.net/mode/sparql/index.html) mode.
1260
+ * Fix bug with cursor jumping around in an unfocused editor in IE.
1261
+ * Allow key and mouse events to bubble out of the editor. Ignore widget clicks.
1262
+ * Solve cursor flakiness after undo/redo.
1263
+ * Fix block-reindent ignoring the last few lines.
1264
+ * Fix parsing of multi-line attrs in XML mode.
1265
+ * Use `innerHTML` for HTML-escaping.
1266
+ * Some fixes to indentation in C-like mode.
1267
+ * Shrink horiz scrollbars when long lines removed.
1268
+ * Fix width feedback loop bug that caused the width of an inner DIV to shrink.
1269
+
1270
+ ## 2.11.0 (2011-07-04)
1271
+
1272
+ * Add a [Scheme mode](http://codemirror.net/mode/scheme/index.html).
1273
+ * Add a `replace` method to search cursors, for cursor-preserving replacements.
1274
+ * Make the [C-like mode](http://codemirror.net/mode/clike/index.html) mode more customizable.
1275
+ * Update XML mode to spot mismatched tags.
1276
+ * Add `getStateAfter` API and `compareState` mode API methods for finer-grained mode magic.
1277
+ * Add a `getScrollerElement` API method to manipulate the scrolling DIV.
1278
+ * Fix drag-and-drop for Firefox.
1279
+ * Add a C# configuration for the [C-like mode](http://codemirror.net/mode/clike/index.html).
1280
+ * Add [full-screen editing](http://codemirror.net/demo/fullscreen.html) and [mode-changing](http://codemirror.net/demo/changemode.html) demos.
1281
+
1282
+ ## 2.10.0 (2011-06-07)
1283
+
1284
+ Add a [theme](http://codemirror.net/doc/manual.html#option_theme) system ([demo](http://codemirror.net/demo/theme.html)). Note that this is not backwards-compatible—you'll have to update your styles and modes!
1285
+
1286
+ ## 2.2.0 (2011-06-07)
1287
+
1288
+ * Add a [Lua mode](http://codemirror.net/mode/lua/index.html).
1289
+ * Fix reverse-searching for a regexp.
1290
+ * Empty lines can no longer break highlighting.
1291
+ * Rework scrolling model (the outer wrapper no longer does the scrolling).
1292
+ * Solve horizontal jittering on long lines.
1293
+ * Add [runmode.js](http://codemirror.net/demo/runmode.html).
1294
+ * Immediately re-highlight text when typing.
1295
+ * Fix problem with 'sticking' horizontal scrollbar.
1296
+
1297
+ ## 2.1.0 (2011-05-26)
1298
+
1299
+ * Add a [Smalltalk mode](http://codemirror.net/mode/smalltalk/index.html).
1300
+ * Add a [reStructuredText mode](http://codemirror.net/mode/rst/index.html).
1301
+ * Add a [Python mode](http://codemirror.net/mode/python/index.html).
1302
+ * Add a [PL/SQL mode](http://codemirror.net/mode/plsql/index.html).
1303
+ * `coordsChar` now works
1304
+ * Fix a problem where `onCursorActivity` interfered with `onChange`.
1305
+ * Fix a number of scrolling and mouse-click-position glitches.
1306
+ * Pass information about the changed lines to `onChange`.
1307
+ * Support cmd-up/down on OS X.
1308
+ * Add triple-click line selection.
1309
+ * Don't handle shift when changing the selection through the API.
1310
+ * Support `"nocursor"` mode for `readOnly` option.
1311
+ * Add an `onHighlightComplete` option.
1312
+ * Fix the context menu for Firefox.
1313
+
1314
+ ## 2.0.0 (2011-03-28)
1315
+
1316
+ CodeMirror 2 is a complete rewrite that's faster, smaller, simpler to use, and less dependent on browser quirks. See [this](http://codemirror.net/doc/internals.html) and [this](http://groups.google.com/group/codemirror/browse_thread/thread/5a8e894024a9f580) for more information.