glebtv-ckeditor 4.5.10.3 → 4.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/ckeditor/config.js.erb +1 -1
- data/lib/ckeditor.rb +1 -0
- data/lib/ckeditor/version.rb +2 -2
- data/lib/generators/ckeditor/templates/active_record/carrierwave/migration.rb +1 -1
- data/lib/generators/ckeditor/templates/active_record/dragonfly/migration.rb +1 -1
- data/lib/generators/ckeditor/templates/active_record/paperclip/migration.rb +1 -1
- data/lib/generators/ckeditor/templates/active_record/refile/migration.rb +1 -1
- data/vendor/assets/javascripts/ckeditor/LICENSE.md +2 -2
- data/vendor/assets/javascripts/ckeditor/adapters/jquery.js +1 -1
- data/vendor/assets/javascripts/ckeditor/build-config.js +26 -26
- data/vendor/assets/javascripts/ckeditor/ckeditor.js +605 -576
- data/vendor/assets/javascripts/ckeditor/lang/en.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/ru.js +2 -2
- data/vendor/assets/javascripts/ckeditor/plugins/CKCss/css/styles.css +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/CKCss/dialogs/ckcss.js +2 -1
- data/vendor/assets/javascripts/ckeditor/plugins/CKCss/plugin.js +3 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +6 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +3 -4
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +4 -4
- data/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +4 -3
- data/vendor/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/LICENSE.md +21 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/css/codemirror.ckeditor.css +183 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/css/codemirror.css +341 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/css/codemirror.min.css +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/comment/comment.js +206 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/comment/continuecomment.js +85 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/dialog/dialog.css +32 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/dialog/dialog.js +157 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/edit/closebrackets.js +202 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/edit/closetag.js +169 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/edit/continuelist.js +51 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/edit/matchbrackets.js +122 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/edit/matchtags.js +66 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/edit/trailingspace.js +27 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/fold/brace-fold.js +105 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/fold/comment-fold.js +59 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/fold/foldcode.js +150 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/fold/foldgutter.css +20 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/fold/foldgutter.js +146 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/fold/indent-fold.js +44 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/fold/markdown-fold.js +49 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/fold/xml-fold.js +182 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/format/autoFormatAll.js +43 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/format/formatting.js +226 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/hint/anyword-hint.js +41 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/hint/css-hint.js +60 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/hint/html-hint.js +348 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/hint/javascript-hint.js +155 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/hint/show-hint.css +36 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/hint/show-hint.js +438 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/hint/sql-hint.js +271 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/hint/xml-hint.js +110 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/mode/loadmode.js +64 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/mode/multiplex.js +123 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/mode/multiplex_test.js +33 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/mode/overlay.js +85 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/mode/simple.js +213 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/search/jump-to-line.js +49 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/search/match-highlighter.js +165 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/search/matchesonscrollbar.css +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/search/matchesonscrollbar.js +97 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/search/search.js +252 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/search/searchcursor.js +189 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/selection/active-line.js +74 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/selection/mark-selection.js +118 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/selection/selection-pointer.js +98 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/beautify-html.js +952 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/beautify.js +2087 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.addons.min.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.addons.search.min.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.js +9109 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.min.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.htmlmixed.min.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.javascript.min.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.php.min.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/bbcode/bbcode.js +137 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/bbcode/index.html +73 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/bbcodemixed/bbcodemixed.js +161 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/bbcodemixed/index.html +128 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/clike/clike.js +785 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/clike/index.html +360 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/clike/scala.html +767 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/clike/test.js +55 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/css/css.js +825 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/css/gss.html +103 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/css/gss_test.js +17 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/css/index.html +75 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/css/less.html +152 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/css/less_test.js +54 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/css/scss.html +157 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/css/scss_test.js +110 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/css/test.js +200 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/htmlembedded/htmlembedded.js +28 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/htmlembedded/index.html +60 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/htmlmixed/htmlmixed.js +152 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/htmlmixed/index.html +89 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/javascript/index.html +114 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/javascript/javascript.js +784 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/javascript/json-ld.html +72 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/javascript/test.js +247 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/javascript/typescript.html +61 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/php/index.html +64 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/php/php.js +234 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/php/test.js +154 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/xml/index.html +61 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/xml/test.js +51 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/mode/xml/xml.js +394 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/plugin.js +30 -24
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/dracula.css +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/duotone-dark.css +35 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/duotone-light.css +36 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/panda-syntax.css +85 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/pastel-on-dark.css +0 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/solarized.css +21 -15
- data/vendor/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.css +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +9 -9
- data/vendor/assets/javascripts/ckeditor/plugins/flash/dialogs/flash.js +12 -12
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/form.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/select.js +11 -11
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/icons.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/icons_hidpi.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/iframedialog/plugin.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +28 -28
- data/vendor/assets/javascripts/ckeditor/plugins/lineheight/LICENSE +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/lineheight/README.md +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/lineheight/lang/LANG.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/lineheight/lang/en.js +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/lineheight/lang/ru.js +3 -3
- data/vendor/assets/javascripts/ckeditor/plugins/lineheight/plugin.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/lineheight/readme.txt +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +25 -23
- data/vendor/assets/javascripts/ckeditor/plugins/link/images/anchor.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/notification/lang/en.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/notification/lang/ru.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/notification/plugin.js +2 -2
- data/vendor/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +40 -29
- data/vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +19 -19
- data/vendor/assets/javascripts/ckeditor/plugins/scayt/skins/moono-lisa/scayt.css +20 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +2 -2
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ru.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/stylesheetparser/plugin.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/stylesheetparser/samples/assets/sample.css +70 -0
- data/vendor/assets/javascripts/ckeditor/plugins/stylesheetparser/samples/stylesheetparser.html +85 -0
- data/vendor/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/default.js +2 -2
- data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wordcount/css/wordcount.css +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wordcount/lang/en.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/wordcount/lang/ru.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/wordcount/plugin.js +60 -13
- data/vendor/assets/javascripts/ckeditor/plugins/wordcount/samples/wordcount.html +61 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wordcount/samples/wordcountWithMaxCount.html +110 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +9 -9
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/skins/moono-lisa/wsc.css +43 -0
- data/vendor/assets/javascripts/ckeditor/plugins/youtube/LICENSE.md +15 -0
- data/vendor/assets/javascripts/ckeditor/plugins/youtube/images/icon.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/youtube/lang/en.js +3 -1
- data/vendor/assets/javascripts/ckeditor/plugins/youtube/lang/ru.js +1 -0
- data/vendor/assets/javascripts/ckeditor/plugins/youtube/plugin.js +448 -388
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/dev/icons16.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/dev/icons16.svg +175 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/dev/icons32.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/dev/icons32.svg +167 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/dev/locations.json +145 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/dialog.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/dialog_ie.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/dialog_ie8.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/dialog_iequirks.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/editor.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/editor_gecko.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/editor_ie.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/editor_ie8.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/editor_iequirks.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/images/arrow.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/images/close.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/close.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/lock-open.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/lock.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/refresh.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/images/lock-open.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/images/lock.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/images/refresh.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/images/spinner.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/readme.md +46 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/skin.js +7 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog.css +1 -1
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie.css +1 -1
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie7.css +1 -1
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie8.css +1 -1
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_iequirks.css +1 -1
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor.css +2 -2
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor_gecko.css +2 -2
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie.css +2 -2
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie7.css +2 -2
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie8.css +2 -2
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor_iequirks.css +2 -2
- data/vendor/assets/javascripts/ckeditor/skins/moono/icons.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/icons_hidpi.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/images/anchor.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/images/close.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/images/hidpi/anchor.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/images/hidpi/close.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock-open.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/images/hidpi/refresh.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/images/lock-open.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/images/lock.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/images/refresh.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/readme.md +3 -3
- data/vendor/assets/javascripts/ckeditor/styles.js +42 -16
- metadata +161 -105
- data/app/assets/javascripts/ckeditor/config_orig.js +0 -58
- data/vendor/assets/javascripts/ckeditor/README.md +0 -39
- data/vendor/assets/javascripts/ckeditor/config.js +0 -10
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/af.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ar.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/bg.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/bn.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/bs.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ca.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/cs.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/cy.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/da.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/de.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/el.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/en-au.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/en-ca.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/en-gb.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/eo.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/es.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/et.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/eu.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/fa.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/fi.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/fo.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/fr-ca.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/fr.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/gl.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/gu.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/he.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/hi.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/hr.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/hu.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/is.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/it.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ja.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ka.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/km.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ko.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ku.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/lt.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/lv.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/mk.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/mn.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ms.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/nb.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/nl.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/no.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/pl.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/pt-br.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/pt.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ro.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/sk.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/sl.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/sr-latn.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/sr.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/sv.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/th.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/tr.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ug.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/uk.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/vi.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/zh-cn.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/zh.js +0 -12
@@ -10,7 +10,7 @@
|
|
10
10
|
CKEDITOR.plugins.add('codemirror', {
|
11
11
|
icons: 'searchcode,autoformat,commentselectedrange,uncommentselectedrange,autocomplete', // %REMOVE_LINE_CORE%
|
12
12
|
lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en-au,en-ca,en-gb,en,eo,es,et,eu,fa,fi,fo,fr-ca,fr,gl,gu,he,hi,hr,hu,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt-br,pt,ro,ru,sk,sl,sr-latn,sr,sv,th,tr,ug,uk,vi,zh-cn,zh', // %REMOVE_LINE_CORE%
|
13
|
-
version: 1.
|
13
|
+
version: 1.15,
|
14
14
|
init: function (editor) {
|
15
15
|
var rootPath = this.path,
|
16
16
|
defaultConfig = {
|
@@ -39,11 +39,11 @@
|
|
39
39
|
theme: 'default',
|
40
40
|
useBeautify: false
|
41
41
|
};
|
42
|
-
|
42
|
+
|
43
43
|
// Get Config & Lang
|
44
44
|
var config = CKEDITOR.tools.extend(defaultConfig, editor.config.codemirror || {}, true),
|
45
45
|
lang = editor.lang.codemirror;
|
46
|
-
|
46
|
+
|
47
47
|
// check for old config settings for legacy support
|
48
48
|
if (editor.config.codemirror_theme) {
|
49
49
|
config.theme = editor.config.codemirror_theme;
|
@@ -59,7 +59,7 @@
|
|
59
59
|
|
60
60
|
// Source mode isn't available in inline mode yet.
|
61
61
|
if (editor.elementMode === CKEDITOR.ELEMENT_MODE_INLINE || editor.plugins.sourcedialog) {
|
62
|
-
|
62
|
+
|
63
63
|
// Override Source Dialog
|
64
64
|
CKEDITOR.dialog.add('sourcedialog', function (editor) {
|
65
65
|
var size = CKEDITOR.document.getWindow().getViewPaneSize(),
|
@@ -104,12 +104,12 @@
|
|
104
104
|
|
105
105
|
// Store config so we can access it within commands etc.
|
106
106
|
window["codemirror_" + editor.id].config = config;
|
107
|
-
|
107
|
+
|
108
108
|
if (config.autoFormatOnStart) {
|
109
109
|
if (config.useBeautify) {
|
110
110
|
var indent_size = 4,
|
111
111
|
indent_char = ' ',
|
112
|
-
brace_style = 'collapse'; //collapse, expand, end-expand
|
112
|
+
brace_style = 'collapse'; //collapse, expand, end-expand
|
113
113
|
|
114
114
|
var source = window["codemirror_" + editor.id].getValue();
|
115
115
|
|
@@ -182,9 +182,9 @@
|
|
182
182
|
// Set Elements
|
183
183
|
this.getContentElement('main', 'data').focus();
|
184
184
|
this.getContentElement('main', 'AutoComplete').setValue(config.autoCloseTags, true);
|
185
|
-
|
185
|
+
|
186
186
|
var textArea = this.getContentElement('main', 'data').getInputElement().$;
|
187
|
-
|
187
|
+
|
188
188
|
// Load the content
|
189
189
|
this.setValueOf('main', 'data', oldData = editor.getData());
|
190
190
|
|
@@ -224,6 +224,9 @@
|
|
224
224
|
|
225
225
|
// Free Memory
|
226
226
|
window["codemirror_" + editor.id] = null;
|
227
|
+
|
228
|
+
editor.fire('blur', this);
|
229
|
+
editor.fire('focus', this);
|
227
230
|
}
|
228
231
|
},
|
229
232
|
onOk: (function () {
|
@@ -258,6 +261,9 @@
|
|
258
261
|
// Set data asynchronously to avoid errors in IE.
|
259
262
|
CKEDITOR.env.ie ? CKEDITOR.tools.setTimeout(setData, 0, this, newData) : setData.call(this, newData);
|
260
263
|
|
264
|
+
editor.fire('blur', this);
|
265
|
+
editor.fire('focus', this);
|
266
|
+
|
261
267
|
// Don't let the dialog close before setData is over.
|
262
268
|
return false;
|
263
269
|
};
|
@@ -350,7 +356,7 @@
|
|
350
356
|
|
351
357
|
// return;
|
352
358
|
}
|
353
|
-
|
359
|
+
|
354
360
|
/*
|
355
361
|
// Override Copy Button
|
356
362
|
if (editor.commands.copy) {
|
@@ -397,7 +403,7 @@
|
|
397
403
|
}
|
398
404
|
};
|
399
405
|
}
|
400
|
-
|
406
|
+
|
401
407
|
// Override Replace Button
|
402
408
|
if (editor.commands.replace) {
|
403
409
|
editor.commands.replace.modes = {
|
@@ -413,9 +419,9 @@
|
|
413
419
|
}
|
414
420
|
};
|
415
421
|
}
|
416
|
-
|
422
|
+
|
417
423
|
var sourcearea = CKEDITOR.plugins.sourcearea;
|
418
|
-
|
424
|
+
|
419
425
|
// check if sourcearea plugin is overrriden
|
420
426
|
if (!sourcearea.commands.searchCode) {
|
421
427
|
|
@@ -729,7 +735,7 @@
|
|
729
735
|
if (config.useBeautify) {
|
730
736
|
var indent_size = 4;
|
731
737
|
var indent_char = ' ';
|
732
|
-
var brace_style = 'collapse'; //collapse, expand, end-expand
|
738
|
+
var brace_style = 'collapse'; //collapse, expand, end-expand
|
733
739
|
|
734
740
|
var source = window["codemirror_" + editor.id].getValue();
|
735
741
|
|
@@ -758,7 +764,7 @@
|
|
758
764
|
});
|
759
765
|
|
760
766
|
window["codemirror_" + editor.id].setSize(null, holderHeight);
|
761
|
-
|
767
|
+
|
762
768
|
// Enable Code Folding (Requires 'lineNumbers' to be set to 'true')
|
763
769
|
if (config.lineNumbers && config.enableCodeFolding) {
|
764
770
|
window["codemirror_" + editor.id].on("gutterClick", window["foldFunc_" + editor.id]);
|
@@ -812,13 +818,13 @@
|
|
812
818
|
if (config.showFormatButton || config.showCommentButton || config.showUncommentButton || config.showSearchButton) {
|
813
819
|
editor.ui.add('-', CKEDITOR.UI_SEPARATOR, { toolbar: 'mode,30' });
|
814
820
|
}
|
815
|
-
|
821
|
+
if (config.showSearchButton && config.enableSearchTools) {
|
816
822
|
editor.ui.addButton('searchCode', {
|
817
823
|
label: lang.searchCode,
|
818
824
|
command: 'searchCode',
|
819
825
|
toolbar: 'mode,40'
|
820
826
|
});
|
821
|
-
}
|
827
|
+
}
|
822
828
|
if (config.showFormatButton) {
|
823
829
|
editor.ui.addButton('autoFormat', {
|
824
830
|
label: lang.autoFormat,
|
@@ -849,7 +855,7 @@
|
|
849
855
|
}
|
850
856
|
}
|
851
857
|
}
|
852
|
-
|
858
|
+
|
853
859
|
editor.on('beforeModeUnload', function (evt) {
|
854
860
|
if (editor.mode === 'source' && editor.plugins.textselection) {
|
855
861
|
|
@@ -858,7 +864,7 @@
|
|
858
864
|
range.startOffset = LineChannelToOffSet(window["codemirror_" + editor.id], window["codemirror_" + editor.id].getCursor(true));
|
859
865
|
range.endOffset = LineChannelToOffSet(window["codemirror_" + editor.id], window["codemirror_" + editor.id].getCursor(false));
|
860
866
|
|
861
|
-
// Fly the range when create bookmark.
|
867
|
+
// Fly the range when create bookmark.
|
862
868
|
delete range.element;
|
863
869
|
range.createBookmark(editor);
|
864
870
|
sourceBookmark = true;
|
@@ -905,13 +911,13 @@
|
|
905
911
|
window["codemirror_" + editor.id].setSize(holderWidth, holderHeight);
|
906
912
|
}
|
907
913
|
});
|
908
|
-
|
914
|
+
|
909
915
|
editor.on('readOnly', function () {
|
910
916
|
if (window["editable_" + editor.id] && editor.mode === 'source') {
|
911
917
|
window["codemirror_" + editor.id].setOption("readOnly", this.readOnly);
|
912
918
|
}
|
913
919
|
});
|
914
|
-
|
920
|
+
|
915
921
|
editor.on('instanceReady', function (evt) {
|
916
922
|
|
917
923
|
// Fix native context menu
|
@@ -992,13 +998,13 @@
|
|
992
998
|
editorID: null,
|
993
999
|
detach: function() {
|
994
1000
|
window["codemirror_" + this.editorID].toTextArea();
|
995
|
-
|
1001
|
+
|
996
1002
|
// Free Memory on destroy
|
997
1003
|
window["editable_" + this.editorID] = null;
|
998
1004
|
window["codemirror_" + this.editorID] = null;
|
999
1005
|
|
1000
1006
|
sourceEditable.baseProto.detach.call(this);
|
1001
|
-
|
1007
|
+
|
1002
1008
|
this.clearCustomData();
|
1003
1009
|
this.remove();
|
1004
1010
|
}
|
@@ -1125,7 +1131,7 @@ function OffSetToLineChannel(ed, n) {
|
|
1125
1131
|
for (i = 0; i < ed.lineCount() ; i++) {
|
1126
1132
|
len = (ed.getLine(i)).length;
|
1127
1133
|
if (n < index + len) {
|
1128
|
-
|
1134
|
+
|
1129
1135
|
line = i;
|
1130
1136
|
ch = n - index;
|
1131
1137
|
return { line: line, ch: ch };
|
@@ -1146,4 +1152,4 @@ function IsStyleSheetAlreadyLoaded(href) {
|
|
1146
1152
|
}
|
1147
1153
|
|
1148
1154
|
return false;
|
1149
|
-
}
|
1155
|
+
}
|
@@ -16,7 +16,7 @@
|
|
16
16
|
.cm-s-dracula .CodeMirror-gutters { color: #282a36; }
|
17
17
|
.cm-s-dracula .CodeMirror-cursor { border-left: solid thin #f8f8f0; }
|
18
18
|
.cm-s-dracula .CodeMirror-linenumber { color: #6D8A88; }
|
19
|
-
.cm-s-dracula
|
19
|
+
.cm-s-dracula .CodeMirror-selected { background: rgba(255, 255, 255, 0.10); }
|
20
20
|
.cm-s-dracula .CodeMirror-line::selection, .cm-s-dracula .CodeMirror-line > span::selection, .cm-s-dracula .CodeMirror-line > span > span::selection { background: rgba(255, 255, 255, 0.10); }
|
21
21
|
.cm-s-dracula .CodeMirror-line::-moz-selection, .cm-s-dracula .CodeMirror-line > span::-moz-selection, .cm-s-dracula .CodeMirror-line > span > span::-moz-selection { background: rgba(255, 255, 255, 0.10); }
|
22
22
|
.cm-s-dracula span.cm-comment { color: #6272a4; }
|
@@ -0,0 +1,35 @@
|
|
1
|
+
/*
|
2
|
+
Name: DuoTone-Dark
|
3
|
+
Author: by Bram de Haan, adapted from DuoTone themes by Simurai (http://simurai.com/projects/2016/01/01/duotone-themes)
|
4
|
+
|
5
|
+
CodeMirror template by Jan T. Sott (https://github.com/idleberg), adapted by Bram de Haan (https://github.com/atelierbram/)
|
6
|
+
*/
|
7
|
+
|
8
|
+
.cm-s-duotone-dark.CodeMirror { background: #2a2734; color: #6c6783; }
|
9
|
+
.cm-s-duotone-dark div.CodeMirror-selected { background: #545167!important; }
|
10
|
+
.cm-s-duotone-dark .CodeMirror-gutters { background: #2a2734; border-right: 0px; }
|
11
|
+
.cm-s-duotone-dark .CodeMirror-linenumber { color: #545167; }
|
12
|
+
|
13
|
+
/* begin cursor */
|
14
|
+
.cm-s-duotone-dark .CodeMirror-cursor { border-left: 1px solid #ffad5c; /* border-left: 1px solid #ffad5c80; */ border-right: .5em solid #ffad5c; /* border-right: .5em solid #ffad5c80; */ opacity: .5; }
|
15
|
+
.cm-s-duotone-dark .CodeMirror-activeline-background { background: #363342; /* background: #36334280; */ opacity: .5;}
|
16
|
+
.cm-s-duotone-dark .cm-fat-cursor .CodeMirror-cursor { background: #ffad5c; /* background: #ffad5c80; */ opacity: .5;}
|
17
|
+
/* end cursor */
|
18
|
+
|
19
|
+
.cm-s-duotone-dark span.cm-atom, .cm-s-duotone-dark span.cm-number, .cm-s-duotone-dark span.cm-keyword, .cm-s-duotone-dark span.cm-variable, .cm-s-duotone-dark span.cm-attribute, .cm-s-duotone-dark span.cm-quote, .cm-s-duotone-dark span.cm-hr, .cm-s-duotone-dark span.cm-link { color: #ffcc99; }
|
20
|
+
|
21
|
+
.cm-s-duotone-dark span.cm-property { color: #9a86fd; }
|
22
|
+
.cm-s-duotone-dark span.cm-punctuation, .cm-s-duotone-dark span.cm-unit, .cm-s-duotone-dark span.cm-negative { color: #e09142; }
|
23
|
+
.cm-s-duotone-dark span.cm-string { color: #ffb870; }
|
24
|
+
.cm-s-duotone-dark span.cm-operator { color: #ffad5c; }
|
25
|
+
.cm-s-duotone-dark span.cm-positive { color: #6a51e6; }
|
26
|
+
|
27
|
+
.cm-s-duotone-dark span.cm-variable-2, .cm-s-duotone-dark span.cm-variable-3, .cm-s-duotone-dark span.cm-string-2, .cm-s-duotone-dark span.cm-url { color: #7a63ee; }
|
28
|
+
.cm-s-duotone-dark span.cm-def, .cm-s-duotone-dark span.cm-tag, .cm-s-duotone-dark span.cm-builtin, .cm-s-duotone-dark span.cm-qualifier, .cm-s-duotone-dark span.cm-header, .cm-s-duotone-dark span.cm-em { color: #eeebff; }
|
29
|
+
.cm-s-duotone-dark span.cm-bracket, .cm-s-duotone-dark span.cm-comment { color: #6c6783; }
|
30
|
+
|
31
|
+
/* using #f00 red for errors, don't think any of the colorscheme variables will stand out enough, ... maybe by giving it a background-color ... */
|
32
|
+
.cm-s-duotone-dark span.cm-error, .cm-s-duotone-dark span.cm-invalidchar { color: #f00; }
|
33
|
+
|
34
|
+
.cm-s-duotone-dark span.cm-header { font-weight: normal; }
|
35
|
+
.cm-s-duotone-dark .CodeMirror-matchingbracket { text-decoration: underline; color: #eeebff !important; }
|
@@ -0,0 +1,36 @@
|
|
1
|
+
/*
|
2
|
+
Name: DuoTone-Light
|
3
|
+
Author: by Bram de Haan, adapted from DuoTone themes by Simurai (http://simurai.com/projects/2016/01/01/duotone-themes)
|
4
|
+
|
5
|
+
CodeMirror template by Jan T. Sott (https://github.com/idleberg), adapted by Bram de Haan (https://github.com/atelierbram/)
|
6
|
+
*/
|
7
|
+
|
8
|
+
.cm-s-duotone-light.CodeMirror { background: #faf8f5; color: #b29762; }
|
9
|
+
.cm-s-duotone-light div.CodeMirror-selected { background: #e3dcce !important; }
|
10
|
+
.cm-s-duotone-light .CodeMirror-gutters { background: #faf8f5; border-right: 0px; }
|
11
|
+
.cm-s-duotone-light .CodeMirror-linenumber { color: #cdc4b1; }
|
12
|
+
|
13
|
+
/* begin cursor */
|
14
|
+
.cm-s-duotone-light .CodeMirror-cursor { border-left: 1px solid #93abdc; /* border-left: 1px solid #93abdc80; */ border-right: .5em solid #93abdc; /* border-right: .5em solid #93abdc80; */ opacity: .5; }
|
15
|
+
.cm-s-duotone-light .CodeMirror-activeline-background { background: #e3dcce; /* background: #e3dcce80; */ opacity: .5; }
|
16
|
+
.cm-s-duotone-light .cm-fat-cursor .CodeMirror-cursor { background: #93abdc; /* #93abdc80; */ opacity: .5; }
|
17
|
+
/* end cursor */
|
18
|
+
|
19
|
+
.cm-s-duotone-light span.cm-atom, .cm-s-duotone-light span.cm-number, .cm-s-duotone-light span.cm-keyword, .cm-s-duotone-light span.cm-variable, .cm-s-duotone-light span.cm-attribute, .cm-s-duotone-light span.cm-quote, .cm-s-duotone-light-light span.cm-hr, .cm-s-duotone-light-light span.cm-link { color: #063289; }
|
20
|
+
|
21
|
+
.cm-s-duotone-light span.cm-property { color: #b29762; }
|
22
|
+
.cm-s-duotone-light span.cm-punctuation, .cm-s-duotone-light span.cm-unit, .cm-s-duotone-light span.cm-negative { color: #063289; }
|
23
|
+
.cm-s-duotone-light span.cm-string, .cm-s-duotone-light span.cm-operator { color: #1659df; }
|
24
|
+
.cm-s-duotone-light span.cm-positive { color: #896724; }
|
25
|
+
|
26
|
+
.cm-s-duotone-light span.cm-variable-2, .cm-s-duotone-light span.cm-variable-3, .cm-s-duotone-light span.cm-string-2, .cm-s-duotone-light span.cm-url { color: #896724; }
|
27
|
+
.cm-s-duotone-light span.cm-def, .cm-s-duotone-light span.cm-tag, .cm-s-duotone-light span.cm-builtin, .cm-s-duotone-light span.cm-qualifier, .cm-s-duotone-light span.cm-header, .cm-s-duotone-light span.cm-em { color: #2d2006; }
|
28
|
+
.cm-s-duotone-light span.cm-bracket, .cm-s-duotone-light span.cm-comment { color: #b6ad9a; }
|
29
|
+
|
30
|
+
/* using #f00 red for errors, don't think any of the colorscheme variables will stand out enough, ... maybe by giving it a background-color ... */
|
31
|
+
/* .cm-s-duotone-light span.cm-error { background: #896724; color: #728fcb; } */
|
32
|
+
.cm-s-duotone-light span.cm-error, .cm-s-duotone-light span.cm-invalidchar { color: #f00; }
|
33
|
+
|
34
|
+
.cm-s-duotone-light span.cm-header { font-weight: normal; }
|
35
|
+
.cm-s-duotone-light .CodeMirror-matchingbracket { text-decoration: underline; color: #faf8f5 !important; }
|
36
|
+
|
@@ -0,0 +1,85 @@
|
|
1
|
+
/*
|
2
|
+
Name: Panda Syntax
|
3
|
+
Author: Siamak Mokhtari (http://github.com/siamak/)
|
4
|
+
CodeMirror template by Siamak Mokhtari (https://github.com/siamak/atom-panda-syntax)
|
5
|
+
*/
|
6
|
+
.cm-s-panda-syntax {
|
7
|
+
background: #292A2B;
|
8
|
+
color: #E6E6E6;
|
9
|
+
line-height: 1.5;
|
10
|
+
font-family: 'Operator Mono', 'Source Sans Pro', Menlo, Monaco, Consolas, Courier New, monospace;
|
11
|
+
}
|
12
|
+
.cm-s-panda-syntax .CodeMirror-cursor { border-color: #ff2c6d; }
|
13
|
+
.cm-s-panda-syntax .CodeMirror-activeline-background {
|
14
|
+
background: rgba(99, 123, 156, 0.1);
|
15
|
+
}
|
16
|
+
.cm-s-panda-syntax .CodeMirror-selected {
|
17
|
+
background: #FFF;
|
18
|
+
}
|
19
|
+
.cm-s-panda-syntax .cm-comment {
|
20
|
+
font-style: italic;
|
21
|
+
color: #676B79;
|
22
|
+
}
|
23
|
+
.cm-s-panda-syntax .cm-operator {
|
24
|
+
color: #f3f3f3;
|
25
|
+
}
|
26
|
+
.cm-s-panda-syntax .cm-string {
|
27
|
+
color: #19F9D8;
|
28
|
+
}
|
29
|
+
.cm-s-panda-syntax .cm-string-2 {
|
30
|
+
color: #FFB86C;
|
31
|
+
}
|
32
|
+
|
33
|
+
.cm-s-panda-syntax .cm-tag {
|
34
|
+
color: #ff2c6d;
|
35
|
+
}
|
36
|
+
.cm-s-panda-syntax .cm-meta {
|
37
|
+
color: #b084eb;
|
38
|
+
}
|
39
|
+
|
40
|
+
.cm-s-panda-syntax .cm-number {
|
41
|
+
color: #FFB86C;
|
42
|
+
}
|
43
|
+
.cm-s-panda-syntax .cm-atom {
|
44
|
+
color: #ff2c6d;
|
45
|
+
}
|
46
|
+
.cm-s-panda-syntax .cm-keyword {
|
47
|
+
color: #FF75B5;
|
48
|
+
}
|
49
|
+
.cm-s-panda-syntax .cm-variable {
|
50
|
+
color: #ffb86c;
|
51
|
+
}
|
52
|
+
.cm-s-panda-syntax .cm-variable-2 {
|
53
|
+
color: #ff9ac1;
|
54
|
+
}
|
55
|
+
.cm-s-panda-syntax .cm-variable-3 {
|
56
|
+
color: #ff9ac1;
|
57
|
+
}
|
58
|
+
|
59
|
+
.cm-s-panda-syntax .cm-def {
|
60
|
+
color: #e6e6e6;
|
61
|
+
}
|
62
|
+
.cm-s-panda-syntax .cm-property {
|
63
|
+
color: #f3f3f3;
|
64
|
+
}
|
65
|
+
.cm-s-panda-syntax .cm-unit {
|
66
|
+
color: #ffb86c;
|
67
|
+
}
|
68
|
+
|
69
|
+
.cm-s-panda-syntax .cm-attribute {
|
70
|
+
color: #ffb86c;
|
71
|
+
}
|
72
|
+
|
73
|
+
.cm-s-panda-syntax .CodeMirror-matchingbracket {
|
74
|
+
border-bottom: 1px dotted #19F9D8;
|
75
|
+
padding-bottom: 2px;
|
76
|
+
color: #e6e6e6;
|
77
|
+
}
|
78
|
+
.cm-s-panda-syntax .CodeMirror-gutters {
|
79
|
+
background: #292a2b;
|
80
|
+
border-right-color: rgba(255, 255, 255, 0.1);
|
81
|
+
}
|
82
|
+
.cm-s-panda-syntax .CodeMirror-linenumber {
|
83
|
+
color: #e6e6e6;
|
84
|
+
opacity: 0.6;
|
85
|
+
}
|
@@ -11,7 +11,6 @@
|
|
11
11
|
background: #2c2827;
|
12
12
|
color: #8F938F;
|
13
13
|
line-height: 1.5;
|
14
|
-
font-size: 14px;
|
15
14
|
}
|
16
15
|
.cm-s-pastel-on-dark div.CodeMirror-selected { background: rgba(221,240,255,0.2); }
|
17
16
|
.cm-s-pastel-on-dark .CodeMirror-line::selection, .cm-s-pastel-on-dark .CodeMirror-line > span::selection, .cm-s-pastel-on-dark .CodeMirror-line > span > span::selection { background: rgba(221,240,255,0.2); }
|
@@ -4,7 +4,7 @@ http://ethanschoonover.com/solarized
|
|
4
4
|
*/
|
5
5
|
|
6
6
|
/*
|
7
|
-
Solarized color
|
7
|
+
Solarized color palette
|
8
8
|
http://ethanschoonover.com/solarized/img/solarized-palette.png
|
9
9
|
*/
|
10
10
|
|
@@ -34,7 +34,7 @@ http://ethanschoonover.com/solarized/img/solarized-palette.png
|
|
34
34
|
}
|
35
35
|
.cm-s-solarized.cm-s-dark {
|
36
36
|
color: #839496;
|
37
|
-
background-color:
|
37
|
+
background-color: #002b36;
|
38
38
|
text-shadow: #002b36 0 1px;
|
39
39
|
}
|
40
40
|
.cm-s-solarized.cm-s-light {
|
@@ -113,32 +113,34 @@ http://ethanschoonover.com/solarized/img/solarized-palette.png
|
|
113
113
|
box-shadow: inset 7px 0 12px -6px #000;
|
114
114
|
}
|
115
115
|
|
116
|
-
/*
|
116
|
+
/* Remove gutter border */
|
117
117
|
.cm-s-solarized .CodeMirror-gutters {
|
118
|
-
border-right:
|
118
|
+
border-right: 0;
|
119
119
|
}
|
120
120
|
|
121
121
|
/* Gutter colors and line number styling based of color scheme (dark / light) */
|
122
122
|
|
123
123
|
/* Dark */
|
124
124
|
.cm-s-solarized.cm-s-dark .CodeMirror-gutters {
|
125
|
-
background-color:
|
126
|
-
border-color: #00232c;
|
125
|
+
background-color: #073642;
|
127
126
|
}
|
128
127
|
|
129
128
|
.cm-s-solarized.cm-s-dark .CodeMirror-linenumber {
|
129
|
+
color: #586e75;
|
130
130
|
text-shadow: #021014 0 -1px;
|
131
131
|
}
|
132
132
|
|
133
133
|
/* Light */
|
134
134
|
.cm-s-solarized.cm-s-light .CodeMirror-gutters {
|
135
|
-
background-color: #
|
136
|
-
|
135
|
+
background-color: #eee8d5;
|
136
|
+
}
|
137
|
+
|
138
|
+
.cm-s-solarized.cm-s-light .CodeMirror-linenumber {
|
139
|
+
color: #839496;
|
137
140
|
}
|
138
141
|
|
139
142
|
/* Common */
|
140
143
|
.cm-s-solarized .CodeMirror-linenumber {
|
141
|
-
color: #586e75;
|
142
144
|
padding: 0 5px;
|
143
145
|
}
|
144
146
|
.cm-s-solarized .CodeMirror-guttermarker-subtle { color: #586e75; }
|
@@ -149,15 +151,19 @@ http://ethanschoonover.com/solarized/img/solarized-palette.png
|
|
149
151
|
color: #586e75;
|
150
152
|
}
|
151
153
|
|
154
|
+
/* Cursor */
|
152
155
|
.cm-s-solarized .CodeMirror-cursor { border-left: 1px solid #819090; }
|
153
156
|
|
154
|
-
/*
|
155
|
-
|
156
|
-
|
157
|
-
|
157
|
+
/* Fat cursor */
|
158
|
+
.cm-s-solarized.cm-s-light.cm-fat-cursor .CodeMirror-cursor { background: #77ee77; }
|
159
|
+
.cm-s-solarized.cm-s-light .cm-animate-fat-cursor { background-color: #77ee77; }
|
160
|
+
.cm-s-solarized.cm-s-dark.cm-fat-cursor .CodeMirror-cursor { background: #586e75; }
|
161
|
+
.cm-s-solarized.cm-s-dark .cm-animate-fat-cursor { background-color: #586e75; }
|
162
|
+
|
163
|
+
/* Active line */
|
158
164
|
.cm-s-solarized.cm-s-dark .CodeMirror-activeline-background {
|
159
|
-
background: rgba(255, 255, 255, 0.
|
165
|
+
background: rgba(255, 255, 255, 0.06);
|
160
166
|
}
|
161
167
|
.cm-s-solarized.cm-s-light .CodeMirror-activeline-background {
|
162
|
-
background: rgba(0, 0, 0, 0.
|
168
|
+
background: rgba(0, 0, 0, 0.06);
|
163
169
|
}
|