codemirror-rails 3.20 → 3.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/codemirror/rails/version.rb +2 -2
- data/vendor/assets/javascripts/codemirror.js +240 -135
- data/vendor/assets/javascripts/codemirror/addons/comment/comment.js +6 -2
- data/vendor/assets/javascripts/codemirror/addons/comment/continuecomment.js +1 -1
- data/vendor/assets/javascripts/codemirror/addons/dialog/dialog.js +1 -0
- data/vendor/assets/javascripts/codemirror/addons/edit/closebrackets.js +5 -3
- data/vendor/assets/javascripts/codemirror/addons/edit/closetag.js +10 -6
- data/vendor/assets/javascripts/codemirror/addons/edit/continuelist.js +2 -0
- data/vendor/assets/javascripts/codemirror/addons/edit/matchbrackets.js +1 -1
- data/vendor/assets/javascripts/codemirror/addons/fold/comment-fold.js +3 -1
- data/vendor/assets/javascripts/codemirror/addons/fold/foldcode.js +13 -2
- data/vendor/assets/javascripts/codemirror/addons/fold/foldgutter.js +1 -1
- data/vendor/assets/javascripts/codemirror/addons/fold/indent-fold.js +2 -2
- data/vendor/assets/javascripts/codemirror/addons/fold/xml-fold.js +6 -0
- data/vendor/assets/javascripts/codemirror/addons/hint/anyword-hint.js +3 -5
- data/vendor/assets/javascripts/codemirror/addons/hint/css-hint.js +29 -33
- data/vendor/assets/javascripts/codemirror/addons/hint/javascript-hint.js +1 -1
- data/vendor/assets/javascripts/codemirror/addons/hint/pig-hint.js +1 -1
- data/vendor/assets/javascripts/codemirror/addons/hint/python-hint.js +1 -5
- data/vendor/assets/javascripts/codemirror/addons/hint/show-hint.js +58 -9
- data/vendor/assets/javascripts/codemirror/addons/hint/sql-hint.js +58 -17
- data/vendor/assets/javascripts/codemirror/addons/hint/xml-hint.js +5 -5
- data/vendor/assets/javascripts/codemirror/addons/lint/lint.js +1 -1
- data/vendor/assets/javascripts/codemirror/addons/merge/merge.js +6 -1
- data/vendor/assets/javascripts/codemirror/addons/mode/multiplex.js +5 -3
- data/vendor/assets/javascripts/codemirror/addons/runmode/runmode-standalone.js +26 -11
- data/vendor/assets/javascripts/codemirror/addons/runmode/runmode.js +1 -1
- data/vendor/assets/javascripts/codemirror/addons/runmode/runmode.node.js +22 -11
- data/vendor/assets/javascripts/codemirror/addons/search/search.js +22 -9
- data/vendor/assets/javascripts/codemirror/addons/search/searchcursor.js +48 -24
- data/vendor/assets/javascripts/codemirror/addons/selection/active-line.js +15 -9
- data/vendor/assets/javascripts/codemirror/addons/tern/tern.js +3 -3
- data/vendor/assets/javascripts/codemirror/addons/wrap/hardwrap.js +21 -9
- data/vendor/assets/javascripts/codemirror/keymaps/emacs.js +12 -1
- data/vendor/assets/javascripts/codemirror/keymaps/vim.js +110 -28
- data/vendor/assets/javascripts/codemirror/modes/clike.js +28 -9
- data/vendor/assets/javascripts/codemirror/modes/coffeescript.js +3 -4
- data/vendor/assets/javascripts/codemirror/modes/css.js +341 -297
- data/vendor/assets/javascripts/codemirror/modes/erlang.js +302 -179
- data/vendor/assets/javascripts/codemirror/modes/gfm.js +10 -5
- data/vendor/assets/javascripts/codemirror/modes/gherkin.js +45 -50
- data/vendor/assets/javascripts/codemirror/modes/haml.js +0 -4
- data/vendor/assets/javascripts/codemirror/modes/haskell.js +5 -3
- data/vendor/assets/javascripts/codemirror/modes/htmlembedded.js +0 -2
- data/vendor/assets/javascripts/codemirror/modes/htmlmixed.js +0 -2
- data/vendor/assets/javascripts/codemirror/modes/javascript.js +43 -30
- data/vendor/assets/javascripts/codemirror/modes/jinja2.js +13 -3
- data/vendor/assets/javascripts/codemirror/modes/less.js +7 -6
- data/vendor/assets/javascripts/codemirror/modes/markdown.js +231 -45
- data/vendor/assets/javascripts/codemirror/modes/{ocaml.js → mllike.js} +88 -13
- data/vendor/assets/javascripts/codemirror/modes/pegjs.js +5 -9
- data/vendor/assets/javascripts/codemirror/modes/php.js +6 -7
- data/vendor/assets/javascripts/codemirror/modes/python.js +6 -0
- data/vendor/assets/javascripts/codemirror/modes/r.js +5 -1
- data/vendor/assets/javascripts/codemirror/modes/rpm-spec.js +1 -1
- data/vendor/assets/javascripts/codemirror/modes/ruby.js +3 -1
- data/vendor/assets/javascripts/codemirror/modes/smalltalk.js +4 -2
- data/vendor/assets/javascripts/codemirror/modes/smartymixed.js +0 -2
- data/vendor/assets/javascripts/codemirror/modes/sql.js +5 -4
- data/vendor/assets/javascripts/codemirror/modes/xml.js +87 -100
- data/vendor/assets/stylesheets/codemirror/themes/mbo.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/midnight.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/pastel-on-dark.css +49 -0
- data/vendor/assets/stylesheets/codemirror/themes/the-matrix.css +1 -1
- metadata +3 -2
@@ -1,7 +1,7 @@
|
|
1
1
|
/* Based on the theme at http://bonsaiden.github.com/JavaScript-Garden */
|
2
2
|
|
3
3
|
/*<!--match-->*/
|
4
|
-
.cm-s-midnight span.CodeMirror-matchhighlight { background: #494949 }
|
4
|
+
.cm-s-midnight span.CodeMirror-matchhighlight { background: #494949; }
|
5
5
|
.cm-s-midnight.CodeMirror-focused span.CodeMirror-matchhighlight { background: #314D67 !important; }
|
6
6
|
|
7
7
|
/*<!--activeline-->*/
|
@@ -0,0 +1,49 @@
|
|
1
|
+
/**
|
2
|
+
* Pastel On Dark theme ported from ACE editor
|
3
|
+
* @license MIT
|
4
|
+
* @copyright AtomicPages LLC 2014
|
5
|
+
* @author Dennis Thompson, AtomicPages LLC
|
6
|
+
* @version 1.1
|
7
|
+
* @source https://github.com/atomicpages/codemirror-pastel-on-dark-theme
|
8
|
+
*/
|
9
|
+
|
10
|
+
.cm-s-pastel-on-dark.CodeMirror {
|
11
|
+
background: #2c2827;
|
12
|
+
color: #8F938F;
|
13
|
+
line-height: 1.5;
|
14
|
+
font-family: consolas, Courier, monospace;
|
15
|
+
font-size: 14px;
|
16
|
+
}
|
17
|
+
.cm-s-pastel-on-dark div.CodeMirror-selected { background: rgba(221,240,255,0.2) !important; }
|
18
|
+
.cm-s-pastel-on-dark .CodeMirror-gutters {
|
19
|
+
background: #34302f;
|
20
|
+
border-right: 0px;
|
21
|
+
padding: 0 3px;
|
22
|
+
}
|
23
|
+
.cm-s-pastel-on-dark .CodeMirror-linenumber { color: #8F938F; }
|
24
|
+
.cm-s-pastel-on-dark .CodeMirror-cursor { border-left: 1px solid #A7A7A7 !important; }
|
25
|
+
.cm-s-pastel-on-dark span.cm-comment { color: #A6C6FF; }
|
26
|
+
.cm-s-pastel-on-dark span.cm-atom { color: #DE8E30; }
|
27
|
+
.cm-s-pastel-on-dark span.cm-number { color: #CCCCCC; }
|
28
|
+
.cm-s-pastel-on-dark span.cm-property { color: #8F938F; }
|
29
|
+
.cm-s-pastel-on-dark span.cm-attribute { color: #a6e22e; }
|
30
|
+
.cm-s-pastel-on-dark span.cm-keyword { color: #AEB2F8; }
|
31
|
+
.cm-s-pastel-on-dark span.cm-string { color: #66A968; }
|
32
|
+
.cm-s-pastel-on-dark span.cm-variable { color: #AEB2F8; }
|
33
|
+
.cm-s-pastel-on-dark span.cm-variable-2 { color: #BEBF55; }
|
34
|
+
.cm-s-pastel-on-dark span.cm-variable-3 { color: #DE8E30; }
|
35
|
+
.cm-s-pastel-on-dark span.cm-def { color: #757aD8; }
|
36
|
+
.cm-s-pastel-on-dark span.cm-bracket { color: #f8f8f2; }
|
37
|
+
.cm-s-pastel-on-dark span.cm-tag { color: #C1C144; }
|
38
|
+
.cm-s-pastel-on-dark span.cm-link { color: #ae81ff; }
|
39
|
+
.cm-s-pastel-on-dark span.cm-qualifier,.cm-s-pastel-on-dark span.cm-builtin { color: #C1C144; }
|
40
|
+
.cm-s-pastel-on-dark span.cm-error {
|
41
|
+
background: #757aD8;
|
42
|
+
color: #f8f8f0;
|
43
|
+
}
|
44
|
+
.cm-s-pastel-on-dark .CodeMirror-activeline-background { background: rgba(255, 255, 255, 0.031) !important; }
|
45
|
+
.cm-s-pastel-on-dark .CodeMirror-matchingbracket {
|
46
|
+
border: 1px solid rgba(255,255,255,0.25);
|
47
|
+
color: #8F938F !important;
|
48
|
+
margin: -1px -1px 0 -1px;
|
49
|
+
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
.cm-s-the-matrix.CodeMirror { background: #000000; color: #00FF00; }
|
2
|
-
.cm-s-the-matrix
|
2
|
+
.cm-s-the-matrix div.CodeMirror-selected { background: #2D2D2D !important; }
|
3
3
|
.cm-s-the-matrix .CodeMirror-gutters { background: #060; border-right: 2px solid #00FF00; }
|
4
4
|
.cm-s-the-matrix .CodeMirror-linenumber { color: #FFFFFF; }
|
5
5
|
.cm-s-the-matrix .CodeMirror-cursor { border-left: 1px solid #00FF00 !important; }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codemirror-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '3.
|
4
|
+
version: '3.21'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Fixler
|
@@ -233,9 +233,9 @@ files:
|
|
233
233
|
- vendor/assets/javascripts/codemirror/modes/lua.js
|
234
234
|
- vendor/assets/javascripts/codemirror/modes/markdown.js
|
235
235
|
- vendor/assets/javascripts/codemirror/modes/mirc.js
|
236
|
+
- vendor/assets/javascripts/codemirror/modes/mllike.js
|
236
237
|
- vendor/assets/javascripts/codemirror/modes/nginx.js
|
237
238
|
- vendor/assets/javascripts/codemirror/modes/ntriples.js
|
238
|
-
- vendor/assets/javascripts/codemirror/modes/ocaml.js
|
239
239
|
- vendor/assets/javascripts/codemirror/modes/octave.js
|
240
240
|
- vendor/assets/javascripts/codemirror/modes/pascal.js
|
241
241
|
- vendor/assets/javascripts/codemirror/modes/pegjs.js
|
@@ -304,6 +304,7 @@ files:
|
|
304
304
|
- vendor/assets/stylesheets/codemirror/themes/night.css
|
305
305
|
- vendor/assets/stylesheets/codemirror/themes/paraiso-dark.css
|
306
306
|
- vendor/assets/stylesheets/codemirror/themes/paraiso-light.css
|
307
|
+
- vendor/assets/stylesheets/codemirror/themes/pastel-on-dark.css
|
307
308
|
- vendor/assets/stylesheets/codemirror/themes/rubyblue.css
|
308
309
|
- vendor/assets/stylesheets/codemirror/themes/solarized.css
|
309
310
|
- vendor/assets/stylesheets/codemirror/themes/the-matrix.css
|