jquery-ace-rails 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/jquery-ace-rails/version.rb +1 -1
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/ace.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/ext-static_highlight.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/ext-textarea.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/keybinding-emacs.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/keybinding-vim.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-abap.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-asciidoc.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-c9search.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-c_cpp.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-clojure.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-coffee.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-coldfusion.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-csharp.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-css.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-dart.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-diff.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-dot.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-glsl.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-golang.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-groovy.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-haml.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-haxe.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-html.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-jade.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-java.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-javascript.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-json.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-jsp.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-jsx.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-latex.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-less.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-liquid.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-lisp.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-lua.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-luapage.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-lucene.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-makefile.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-markdown.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-objectivec.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-ocaml.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-perl.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-pgsql.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-php.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-powershell.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-python.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-r.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-rdoc.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-rhtml.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-ruby.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-scad.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-scala.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-scss.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-sh.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-sql.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-stylus.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-svg.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-tcl.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-tex.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-text.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-textile.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-typescript.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-xml.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-xquery.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-yaml.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-ambiance.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-chaos.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-chrome.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-clouds.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-clouds_midnight.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-cobalt.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-crimson_editor.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-dawn.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-dreamweaver.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-eclipse.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-github.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-idle_fingers.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-kr.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-merbivore.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-merbivore_soft.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-mono_industrial.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-monokai.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-pastel_on_dark.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-solarized_dark.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-solarized_light.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-textmate.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-tomorrow.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-tomorrow_night.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-tomorrow_night_blue.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-tomorrow_night_bright.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-tomorrow_night_eighties.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-twilight.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-vibrant_ink.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-xcode.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/worker-coffee.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/worker-css.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/worker-javascript.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/worker-json.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/worker-xquery.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/jquery-ace.coffee → jquery-ace.coffee} +1 -1
- data/vendor/assets/javascripts/{jquery-ace/jquery-ace.js → jquery-ace.js} +1 -1
- data/vendor/assets/javascripts/{jquery-ace/jquery-ace.min.js → jquery-ace.min.js} +1 -1
- data/vendor/assets/javascripts/{jquery-ace/vendor → jquery}/jquery-1.8.3.min.js +0 -0
- metadata +104 -202
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/ace.js +0 -14262
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/ext-static_highlight.js +0 -96
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/ext-textarea.js +0 -591
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/keybinding-emacs.js +0 -364
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/keybinding-vim.js +0 -1646
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-abap.js +0 -259
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-asciidoc.js +0 -372
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-c9search.js +0 -187
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-c_cpp.js +0 -765
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-clojure.js +0 -325
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-coffee.js +0 -520
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-coldfusion.js +0 -1725
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-csharp.js +0 -605
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-css.js +0 -680
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-dart.js +0 -279
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-diff.js +0 -163
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-dot.js +0 -348
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-glsl.js +0 -838
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-golang.js +0 -660
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-groovy.js +0 -1082
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-haml.js +0 -440
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-haxe.js +0 -610
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-html.js +0 -1850
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-jade.js +0 -2035
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-java.js +0 -1041
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-javascript.js +0 -921
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-json.js +0 -574
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-jsp.js +0 -1371
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-jsx.js +0 -635
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-latex.js +0 -217
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-less.js +0 -394
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-liquid.js +0 -921
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-lisp.js +0 -142
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-lua.js +0 -609
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-luapage.js +0 -2463
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-lucene.js +0 -64
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-makefile.js +0 -314
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-markdown.js +0 -2228
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-objectivec.js +0 -655
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-ocaml.js +0 -448
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-perl.js +0 -319
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-pgsql.js +0 -928
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-php.js +0 -2299
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-powershell.js +0 -611
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-python.js +0 -290
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-r.js +0 -410
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-rdoc.js +0 -189
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-rhtml.js +0 -2138
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-ruby.js +0 -410
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-scad.js +0 -698
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-scala.js +0 -1070
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-scss.js +0 -416
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-sh.js +0 -232
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-sql.js +0 -145
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-stylus.js +0 -474
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-svg.js +0 -1490
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-tcl.js +0 -342
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-tex.js +0 -171
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-text.js +0 -0
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-textile.js +0 -175
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-typescript.js +0 -1011
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-xml.js +0 -792
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-xquery.js +0 -676
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-yaml.js +0 -298
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-ambiance.js +0 -202
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-chaos.js +0 -167
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-chrome.js +0 -161
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-clouds.js +0 -135
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-clouds_midnight.js +0 -136
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-cobalt.js +0 -150
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-crimson_editor.js +0 -154
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-dawn.js +0 -146
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-dreamweaver.js +0 -173
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-eclipse.js +0 -122
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-github.js +0 -136
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-idle_fingers.js +0 -136
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-kr.js +0 -143
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-merbivore.js +0 -135
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-merbivore_soft.js +0 -136
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-mono_industrial.js +0 -148
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-monokai.js +0 -140
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-pastel_on_dark.js +0 -148
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-solarized_dark.js +0 -128
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-solarized_light.js +0 -131
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-textmate.js +0 -163
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-tomorrow.js +0 -147
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-tomorrow_night.js +0 -147
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-tomorrow_night_blue.js +0 -145
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-tomorrow_night_bright.js +0 -147
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-tomorrow_night_eighties.js +0 -144
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-twilight.js +0 -147
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-vibrant_ink.js +0 -131
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-xcode.js +0 -125
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/worker-coffee.js +0 -6985
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/worker-css.js +0 -7741
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/worker-javascript.js +0 -6387
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/worker-json.js +0 -2228
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/worker-xquery.js +0 -21719
@@ -1,96 +0,0 @@
|
|
1
|
-
/* ***** BEGIN LICENSE BLOCK *****
|
2
|
-
* Distributed under the BSD license:
|
3
|
-
*
|
4
|
-
* Copyright (c) 2010, Ajax.org B.V.
|
5
|
-
* All rights reserved.
|
6
|
-
*
|
7
|
-
* Redistribution and use in source and binary forms, with or without
|
8
|
-
* modification, are permitted provided that the following conditions are met:
|
9
|
-
* * Redistributions of source code must retain the above copyright
|
10
|
-
* notice, this list of conditions and the following disclaimer.
|
11
|
-
* * Redistributions in binary form must reproduce the above copyright
|
12
|
-
* notice, this list of conditions and the following disclaimer in the
|
13
|
-
* documentation and/or other materials provided with the distribution.
|
14
|
-
* * Neither the name of Ajax.org B.V. nor the
|
15
|
-
* names of its contributors may be used to endorse or promote products
|
16
|
-
* derived from this software without specific prior written permission.
|
17
|
-
*
|
18
|
-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
19
|
-
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
20
|
-
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
21
|
-
* DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
|
22
|
-
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
23
|
-
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
24
|
-
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
25
|
-
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
26
|
-
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
27
|
-
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
28
|
-
*
|
29
|
-
* ***** END LICENSE BLOCK ***** */
|
30
|
-
|
31
|
-
define('ace/ext/static_highlight', ['require', 'exports', 'module' , 'ace/edit_session', 'ace/layer/text'], function(require, exports, module) {
|
32
|
-
|
33
|
-
|
34
|
-
var EditSession = require("../edit_session").EditSession;
|
35
|
-
var TextLayer = require("../layer/text").Text;
|
36
|
-
var baseStyles = ".ace_editor {\
|
37
|
-
font-family: 'Monaco', 'Menlo', 'Droid Sans Mono', 'Courier New', monospace;\
|
38
|
-
font-size: 12px;\
|
39
|
-
}\
|
40
|
-
.ace_editor .ace_gutter { \
|
41
|
-
width: 25px !important;\
|
42
|
-
display: block;\
|
43
|
-
float: left;\
|
44
|
-
text-align: right; \
|
45
|
-
padding: 0 3px 0 0; \
|
46
|
-
margin-right: 3px;\
|
47
|
-
}\
|
48
|
-
.ace_line { clear: both; }\
|
49
|
-
*.ace_gutter-cell {\
|
50
|
-
-moz-user-select: -moz-none;\
|
51
|
-
-khtml-user-select: none;\
|
52
|
-
-webkit-user-select: none;\
|
53
|
-
user-select: none;\
|
54
|
-
}";
|
55
|
-
|
56
|
-
exports.render = function(input, mode, theme, lineStart, disableGutter) {
|
57
|
-
lineStart = parseInt(lineStart || 1, 10);
|
58
|
-
|
59
|
-
var session = new EditSession("");
|
60
|
-
session.setMode(mode);
|
61
|
-
session.setUseWorker(false);
|
62
|
-
|
63
|
-
var textLayer = new TextLayer(document.createElement("div"));
|
64
|
-
textLayer.setSession(session);
|
65
|
-
textLayer.config = {
|
66
|
-
characterWidth: 10,
|
67
|
-
lineHeight: 20
|
68
|
-
};
|
69
|
-
|
70
|
-
session.setValue(input);
|
71
|
-
|
72
|
-
var stringBuilder = [];
|
73
|
-
var length = session.getLength();
|
74
|
-
|
75
|
-
for(var ix = 0; ix < length; ix++) {
|
76
|
-
stringBuilder.push("<div class='ace_line'>");
|
77
|
-
if (!disableGutter)
|
78
|
-
stringBuilder.push("<span class='ace_gutter ace_gutter-cell' unselectable='on'>" + (ix + lineStart) + "</span>");
|
79
|
-
textLayer.$renderLine(stringBuilder, ix, true, false);
|
80
|
-
stringBuilder.push("</div>");
|
81
|
-
}
|
82
|
-
var html = "<div class=':cssClass'>\
|
83
|
-
<div class='ace_editor ace_scroller ace_text-layer'>\
|
84
|
-
:code\
|
85
|
-
</div>\
|
86
|
-
</div>".replace(/:cssClass/, theme.cssClass).replace(/:code/, stringBuilder.join(""));
|
87
|
-
|
88
|
-
textLayer.destroy();
|
89
|
-
|
90
|
-
return {
|
91
|
-
css: baseStyles + theme.cssText,
|
92
|
-
html: html
|
93
|
-
};
|
94
|
-
};
|
95
|
-
|
96
|
-
});
|
@@ -1,591 +0,0 @@
|
|
1
|
-
/* ***** BEGIN LICENSE BLOCK *****
|
2
|
-
* Distributed under the BSD license:
|
3
|
-
*
|
4
|
-
* Copyright (c) 2010, Ajax.org B.V.
|
5
|
-
* All rights reserved.
|
6
|
-
*
|
7
|
-
* Redistribution and use in source and binary forms, with or without
|
8
|
-
* modification, are permitted provided that the following conditions are met:
|
9
|
-
* * Redistributions of source code must retain the above copyright
|
10
|
-
* notice, this list of conditions and the following disclaimer.
|
11
|
-
* * Redistributions in binary form must reproduce the above copyright
|
12
|
-
* notice, this list of conditions and the following disclaimer in the
|
13
|
-
* documentation and/or other materials provided with the distribution.
|
14
|
-
* * Neither the name of Ajax.org B.V. nor the
|
15
|
-
* names of its contributors may be used to endorse or promote products
|
16
|
-
* derived from this software without specific prior written permission.
|
17
|
-
*
|
18
|
-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
19
|
-
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
20
|
-
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
21
|
-
* DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
|
22
|
-
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
23
|
-
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
24
|
-
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
25
|
-
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
26
|
-
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
27
|
-
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
28
|
-
*
|
29
|
-
* ***** END LICENSE BLOCK ***** */
|
30
|
-
|
31
|
-
define('ace/ext/textarea', ['require', 'exports', 'module' , 'ace/lib/event', 'ace/lib/useragent', 'ace/lib/net', 'ace/ace', 'ace/theme/textmate', 'ace/mode/text'], function(require, exports, module) {
|
32
|
-
|
33
|
-
|
34
|
-
var event = require("../lib/event");
|
35
|
-
var UA = require("../lib/useragent");
|
36
|
-
var net = require("../lib/net");
|
37
|
-
var ace = require("../ace");
|
38
|
-
|
39
|
-
require("../theme/textmate");
|
40
|
-
|
41
|
-
module.exports = exports = ace;
|
42
|
-
var getCSSProperty = function(element, container, property) {
|
43
|
-
var ret = element.style[property];
|
44
|
-
|
45
|
-
if (!ret) {
|
46
|
-
if (window.getComputedStyle) {
|
47
|
-
ret = window.getComputedStyle(element, '').getPropertyValue(property);
|
48
|
-
} else {
|
49
|
-
ret = element.currentStyle[property];
|
50
|
-
}
|
51
|
-
}
|
52
|
-
|
53
|
-
if (!ret || ret == 'auto' || ret == 'intrinsic') {
|
54
|
-
ret = container.style[property];
|
55
|
-
}
|
56
|
-
return ret;
|
57
|
-
};
|
58
|
-
|
59
|
-
function applyStyles(elm, styles) {
|
60
|
-
for (var style in styles) {
|
61
|
-
elm.style[style] = styles[style];
|
62
|
-
}
|
63
|
-
}
|
64
|
-
|
65
|
-
function setupContainer(element, getValue) {
|
66
|
-
if (element.type != 'textarea') {
|
67
|
-
throw "Textarea required!";
|
68
|
-
}
|
69
|
-
|
70
|
-
var parentNode = element.parentNode;
|
71
|
-
var container = document.createElement('div');
|
72
|
-
var resizeEvent = function() {
|
73
|
-
var style = 'position:relative;';
|
74
|
-
[
|
75
|
-
'margin-top', 'margin-left', 'margin-right', 'margin-bottom'
|
76
|
-
].forEach(function(item) {
|
77
|
-
style += item + ':' +
|
78
|
-
getCSSProperty(element, container, item) + ';';
|
79
|
-
});
|
80
|
-
var width = getCSSProperty(element, container, 'width') || (element.clientWidth + "px");
|
81
|
-
var height = getCSSProperty(element, container, 'height') || (element.clientHeight + "px");
|
82
|
-
style += 'height:' + height + ';width:' + width + ';';
|
83
|
-
style += 'display:inline-block;';
|
84
|
-
container.setAttribute('style', style);
|
85
|
-
};
|
86
|
-
event.addListener(window, 'resize', resizeEvent);
|
87
|
-
resizeEvent();
|
88
|
-
if (element.nextSibling) {
|
89
|
-
parentNode.insertBefore(container, element.nextSibling);
|
90
|
-
} else {
|
91
|
-
parentNode.appendChild(container);
|
92
|
-
}
|
93
|
-
while (parentNode !== document) {
|
94
|
-
if (parentNode.tagName.toUpperCase() === 'FORM') {
|
95
|
-
var oldSumit = parentNode.onsubmit;
|
96
|
-
parentNode.onsubmit = function(evt) {
|
97
|
-
element.innerHTML = getValue();
|
98
|
-
element.value = getValue();
|
99
|
-
if (oldSumit) {
|
100
|
-
oldSumit.call(this, evt);
|
101
|
-
}
|
102
|
-
};
|
103
|
-
break;
|
104
|
-
}
|
105
|
-
parentNode = parentNode.parentNode;
|
106
|
-
}
|
107
|
-
return container;
|
108
|
-
}
|
109
|
-
|
110
|
-
exports.transformTextarea = function(element, loader) {
|
111
|
-
var session;
|
112
|
-
var container = setupContainer(element, function() {
|
113
|
-
return session.getValue();
|
114
|
-
});
|
115
|
-
element.style.display = 'none';
|
116
|
-
container.style.background = 'white';
|
117
|
-
var editorDiv = document.createElement("div");
|
118
|
-
applyStyles(editorDiv, {
|
119
|
-
top: "0px",
|
120
|
-
left: "0px",
|
121
|
-
right: "0px",
|
122
|
-
bottom: "0px",
|
123
|
-
border: "1px solid gray"
|
124
|
-
});
|
125
|
-
container.appendChild(editorDiv);
|
126
|
-
|
127
|
-
var settingOpener = document.createElement("div");
|
128
|
-
applyStyles(settingOpener, {
|
129
|
-
position: "absolute",
|
130
|
-
right: "0px",
|
131
|
-
bottom: "0px",
|
132
|
-
background: "red",
|
133
|
-
cursor: "nw-resize",
|
134
|
-
borderStyle: "solid",
|
135
|
-
borderWidth: "9px 8px 10px 9px",
|
136
|
-
width: "2px",
|
137
|
-
borderColor: "lightblue gray gray lightblue",
|
138
|
-
zIndex: 101
|
139
|
-
});
|
140
|
-
|
141
|
-
var settingDiv = document.createElement("div");
|
142
|
-
var settingDivStyles = {
|
143
|
-
top: "0px",
|
144
|
-
left: "0px",
|
145
|
-
right: "0px",
|
146
|
-
bottom: "0px",
|
147
|
-
position: "absolute",
|
148
|
-
padding: "5px",
|
149
|
-
zIndex: 100,
|
150
|
-
color: "white",
|
151
|
-
display: "none",
|
152
|
-
overflow: "auto",
|
153
|
-
fontSize: "14px"
|
154
|
-
};
|
155
|
-
if (!UA.isOldIE) {
|
156
|
-
settingDivStyles.backgroundColor = "rgba(0, 0, 0, 0.6)";
|
157
|
-
} else {
|
158
|
-
settingDivStyles.backgroundColor = "#333";
|
159
|
-
}
|
160
|
-
|
161
|
-
applyStyles(settingDiv, settingDivStyles);
|
162
|
-
container.appendChild(settingDiv);
|
163
|
-
var options = {};
|
164
|
-
|
165
|
-
var editor = ace.edit(editorDiv);
|
166
|
-
session = editor.getSession();
|
167
|
-
|
168
|
-
session.setValue(element.value || element.innerHTML);
|
169
|
-
editor.focus();
|
170
|
-
editorDiv.appendChild(settingOpener);
|
171
|
-
setupApi(editor, editorDiv, settingDiv, ace, options, loader);
|
172
|
-
setupSettingPanel(settingDiv, settingOpener, editor, options);
|
173
|
-
|
174
|
-
var state = "";
|
175
|
-
event.addListener(settingOpener, "mousemove", function(e) {
|
176
|
-
var rect = this.getBoundingClientRect();
|
177
|
-
var x = e.clientX - rect.left, y = e.clientY - rect.top;
|
178
|
-
if (x + y < (rect.width + rect.height)/2) {
|
179
|
-
this.style.cursor = "pointer";
|
180
|
-
state = "toggle";
|
181
|
-
} else {
|
182
|
-
state = "resize";
|
183
|
-
this.style.cursor = "nw-resize";
|
184
|
-
}
|
185
|
-
});
|
186
|
-
|
187
|
-
event.addListener(settingOpener, "mousedown", function(e) {
|
188
|
-
if (state == "toggle") {
|
189
|
-
editor.setDisplaySettings();
|
190
|
-
return;
|
191
|
-
}
|
192
|
-
container.style.zIndex = 100000;
|
193
|
-
var rect = container.getBoundingClientRect();
|
194
|
-
var startX = rect.width + rect.left - e.clientX;
|
195
|
-
var startY = rect.height + rect.top - e.clientY;
|
196
|
-
event.capture(settingOpener, function(e) {
|
197
|
-
container.style.width = e.clientX - rect.left + startX + "px";
|
198
|
-
container.style.height = e.clientY - rect.top + startY + "px";
|
199
|
-
editor.resize();
|
200
|
-
}, function() {});
|
201
|
-
});
|
202
|
-
|
203
|
-
return editor;
|
204
|
-
};
|
205
|
-
|
206
|
-
function load(url, module, callback) {
|
207
|
-
net.loadScript(url, function() {
|
208
|
-
require([module], callback);
|
209
|
-
});
|
210
|
-
}
|
211
|
-
|
212
|
-
function setupApi(editor, editorDiv, settingDiv, ace, options, loader) {
|
213
|
-
var session = editor.getSession();
|
214
|
-
var renderer = editor.renderer;
|
215
|
-
loader = loader || load;
|
216
|
-
|
217
|
-
function toBool(value) {
|
218
|
-
return value == "true";
|
219
|
-
}
|
220
|
-
|
221
|
-
editor.setDisplaySettings = function(display) {
|
222
|
-
if (display == null)
|
223
|
-
display = settingDiv.style.display == "none";
|
224
|
-
settingDiv.style.display = display ? "block" : "none";
|
225
|
-
};
|
226
|
-
|
227
|
-
editor.setOption = function(key, value) {
|
228
|
-
if (options[key] == value) return;
|
229
|
-
|
230
|
-
switch (key) {
|
231
|
-
case "gutter":
|
232
|
-
renderer.setShowGutter(toBool(value));
|
233
|
-
break;
|
234
|
-
|
235
|
-
case "mode":
|
236
|
-
if (value != "text") {
|
237
|
-
loader("mode-" + value + ".js", "ace/mode/" + value, function() {
|
238
|
-
var aceMode = require("../mode/" + value).Mode;
|
239
|
-
session.setMode(new aceMode());
|
240
|
-
});
|
241
|
-
} else {
|
242
|
-
session.setMode(new (require("../mode/text").Mode));
|
243
|
-
}
|
244
|
-
break;
|
245
|
-
|
246
|
-
case "theme":
|
247
|
-
if (value != "textmate") {
|
248
|
-
loader("theme-" + value + ".js", "ace/theme/" + value, function() {
|
249
|
-
editor.setTheme("ace/theme/" + value);
|
250
|
-
});
|
251
|
-
} else {
|
252
|
-
editor.setTheme("ace/theme/textmate");
|
253
|
-
}
|
254
|
-
break;
|
255
|
-
|
256
|
-
case "fontSize":
|
257
|
-
editorDiv.style.fontSize = value;
|
258
|
-
break;
|
259
|
-
|
260
|
-
case "softWrap":
|
261
|
-
switch (value) {
|
262
|
-
case "off":
|
263
|
-
session.setUseWrapMode(false);
|
264
|
-
renderer.setPrintMarginColumn(80);
|
265
|
-
break;
|
266
|
-
case "40":
|
267
|
-
session.setUseWrapMode(true);
|
268
|
-
session.setWrapLimitRange(40, 40);
|
269
|
-
renderer.setPrintMarginColumn(40);
|
270
|
-
break;
|
271
|
-
case "80":
|
272
|
-
session.setUseWrapMode(true);
|
273
|
-
session.setWrapLimitRange(80, 80);
|
274
|
-
renderer.setPrintMarginColumn(80);
|
275
|
-
break;
|
276
|
-
case "free":
|
277
|
-
session.setUseWrapMode(true);
|
278
|
-
session.setWrapLimitRange(null, null);
|
279
|
-
renderer.setPrintMarginColumn(80);
|
280
|
-
break;
|
281
|
-
}
|
282
|
-
break;
|
283
|
-
|
284
|
-
case "useSoftTabs":
|
285
|
-
session.setUseSoftTabs(toBool(value));
|
286
|
-
break;
|
287
|
-
|
288
|
-
case "showPrintMargin":
|
289
|
-
renderer.setShowPrintMargin(toBool(value));
|
290
|
-
break;
|
291
|
-
|
292
|
-
case "showInvisibles":
|
293
|
-
editor.setShowInvisibles(toBool(value));
|
294
|
-
break;
|
295
|
-
}
|
296
|
-
|
297
|
-
options[key] = value;
|
298
|
-
};
|
299
|
-
|
300
|
-
editor.getOption = function(key) {
|
301
|
-
return options[key];
|
302
|
-
};
|
303
|
-
|
304
|
-
editor.getOptions = function() {
|
305
|
-
return options;
|
306
|
-
};
|
307
|
-
|
308
|
-
for (var option in exports.options) {
|
309
|
-
editor.setOption(option, exports.options[option]);
|
310
|
-
}
|
311
|
-
|
312
|
-
return editor;
|
313
|
-
}
|
314
|
-
|
315
|
-
function setupSettingPanel(settingDiv, settingOpener, editor, options) {
|
316
|
-
var BOOL = {
|
317
|
-
"true": true,
|
318
|
-
"false": false
|
319
|
-
};
|
320
|
-
|
321
|
-
var desc = {
|
322
|
-
mode: "Mode:",
|
323
|
-
gutter: "Display Gutter:",
|
324
|
-
theme: "Theme:",
|
325
|
-
fontSize: "Font Size:",
|
326
|
-
softWrap: "Soft Wrap:",
|
327
|
-
showPrintMargin: "Show Print Margin:",
|
328
|
-
useSoftTabs: "Use Soft Tabs:",
|
329
|
-
showInvisibles: "Show Invisibles"
|
330
|
-
};
|
331
|
-
|
332
|
-
var optionValues = {
|
333
|
-
mode: {
|
334
|
-
text: "Plain",
|
335
|
-
javascript: "JavaScript",
|
336
|
-
xml: "XML",
|
337
|
-
html: "HTML",
|
338
|
-
css: "CSS",
|
339
|
-
scss: "SCSS",
|
340
|
-
python: "Python",
|
341
|
-
php: "PHP",
|
342
|
-
java: "Java",
|
343
|
-
ruby: "Ruby",
|
344
|
-
c_cpp: "C/C++",
|
345
|
-
coffee: "CoffeeScript",
|
346
|
-
json: "json",
|
347
|
-
perl: "Perl",
|
348
|
-
clojure: "Clojure",
|
349
|
-
ocaml: "OCaml",
|
350
|
-
csharp: "C#",
|
351
|
-
haxe: "haXe",
|
352
|
-
svg: "SVG",
|
353
|
-
textile: "Textile",
|
354
|
-
groovy: "Groovy",
|
355
|
-
liquid: "Liquid",
|
356
|
-
Scala: "Scala"
|
357
|
-
},
|
358
|
-
theme: {
|
359
|
-
clouds: "Clouds",
|
360
|
-
clouds_midnight: "Clouds Midnight",
|
361
|
-
cobalt: "Cobalt",
|
362
|
-
crimson_editor: "Crimson Editor",
|
363
|
-
dawn: "Dawn",
|
364
|
-
eclipse: "Eclipse",
|
365
|
-
idle_fingers: "Idle Fingers",
|
366
|
-
kr_theme: "Kr Theme",
|
367
|
-
merbivore: "Merbivore",
|
368
|
-
merbivore_soft: "Merbivore Soft",
|
369
|
-
mono_industrial: "Mono Industrial",
|
370
|
-
monokai: "Monokai",
|
371
|
-
pastel_on_dark: "Pastel On Dark",
|
372
|
-
solarized_dark: "Solarized Dark",
|
373
|
-
solarized_light: "Solarized Light",
|
374
|
-
textmate: "Textmate",
|
375
|
-
twilight: "Twilight",
|
376
|
-
vibrant_ink: "Vibrant Ink"
|
377
|
-
},
|
378
|
-
gutter: BOOL,
|
379
|
-
fontSize: {
|
380
|
-
"10px": "10px",
|
381
|
-
"11px": "11px",
|
382
|
-
"12px": "12px",
|
383
|
-
"14px": "14px",
|
384
|
-
"16px": "16px"
|
385
|
-
},
|
386
|
-
softWrap: {
|
387
|
-
off: "Off",
|
388
|
-
40: "40",
|
389
|
-
80: "80",
|
390
|
-
free: "Free"
|
391
|
-
},
|
392
|
-
showPrintMargin: BOOL,
|
393
|
-
useSoftTabs: BOOL,
|
394
|
-
showInvisibles: BOOL
|
395
|
-
};
|
396
|
-
|
397
|
-
var table = [];
|
398
|
-
table.push("<table><tr><th>Setting</th><th>Value</th></tr>");
|
399
|
-
|
400
|
-
function renderOption(builder, option, obj, cValue) {
|
401
|
-
builder.push("<select title='" + option + "'>");
|
402
|
-
for (var value in obj) {
|
403
|
-
builder.push("<option value='" + value + "' ");
|
404
|
-
|
405
|
-
if (cValue == value) {
|
406
|
-
builder.push(" selected ");
|
407
|
-
}
|
408
|
-
|
409
|
-
builder.push(">",
|
410
|
-
obj[value],
|
411
|
-
"</option>");
|
412
|
-
}
|
413
|
-
builder.push("</select>");
|
414
|
-
}
|
415
|
-
|
416
|
-
for (var option in options) {
|
417
|
-
table.push("<tr><td>", desc[option], "</td>");
|
418
|
-
table.push("<td>");
|
419
|
-
renderOption(table, option, optionValues[option], options[option]);
|
420
|
-
table.push("</td></tr>");
|
421
|
-
}
|
422
|
-
table.push("</table>");
|
423
|
-
settingDiv.innerHTML = table.join("");
|
424
|
-
|
425
|
-
var selects = settingDiv.getElementsByTagName("select");
|
426
|
-
for (var i = 0; i < selects.length; i++) {
|
427
|
-
var onChange = (function() {
|
428
|
-
var select = selects[i];
|
429
|
-
return function() {
|
430
|
-
var option = select.title;
|
431
|
-
var value = select.value;
|
432
|
-
editor.setOption(option, value);
|
433
|
-
};
|
434
|
-
})();
|
435
|
-
selects[i].onchange = onChange;
|
436
|
-
}
|
437
|
-
|
438
|
-
var button = document.createElement("input");
|
439
|
-
button.type = "button";
|
440
|
-
button.value = "Hide";
|
441
|
-
event.addListener(button, "click", function() {
|
442
|
-
editor.setDisplaySettings(false);
|
443
|
-
});
|
444
|
-
settingDiv.appendChild(button);
|
445
|
-
}
|
446
|
-
exports.options = {
|
447
|
-
mode: "text",
|
448
|
-
theme: "textmate",
|
449
|
-
gutter: "false",
|
450
|
-
fontSize: "12px",
|
451
|
-
softWrap: "off",
|
452
|
-
showPrintMargin: "false",
|
453
|
-
useSoftTabs: "true",
|
454
|
-
showInvisibles: "true"
|
455
|
-
};
|
456
|
-
|
457
|
-
});
|
458
|
-
|
459
|
-
define('ace/theme/textmate', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) {
|
460
|
-
|
461
|
-
|
462
|
-
exports.isDark = false;
|
463
|
-
exports.cssClass = "ace-tm";
|
464
|
-
exports.cssText = ".ace-tm .ace_gutter {\
|
465
|
-
background: #f0f0f0;\
|
466
|
-
color: #333;\
|
467
|
-
}\
|
468
|
-
.ace-tm .ace_print-margin {\
|
469
|
-
width: 1px;\
|
470
|
-
background: #e8e8e8;\
|
471
|
-
}\
|
472
|
-
.ace-tm .ace_fold {\
|
473
|
-
background-color: #6B72E6;\
|
474
|
-
}\
|
475
|
-
.ace-tm .ace_scroller {\
|
476
|
-
background-color: #FFFFFF;\
|
477
|
-
}\
|
478
|
-
.ace-tm .ace_cursor {\
|
479
|
-
border-left: 2px solid black;\
|
480
|
-
}\
|
481
|
-
.ace-tm .ace_overwrite-cursors .ace_cursor {\
|
482
|
-
border-left: 0px;\
|
483
|
-
border-bottom: 1px solid black;\
|
484
|
-
}\
|
485
|
-
.ace-tm .ace_invisible {\
|
486
|
-
color: rgb(191, 191, 191);\
|
487
|
-
}\
|
488
|
-
.ace-tm .ace_storage,\
|
489
|
-
.ace-tm .ace_keyword {\
|
490
|
-
color: blue;\
|
491
|
-
}\
|
492
|
-
.ace-tm .ace_constant {\
|
493
|
-
color: rgb(197, 6, 11);\
|
494
|
-
}\
|
495
|
-
.ace-tm .ace_constant.ace_buildin {\
|
496
|
-
color: rgb(88, 72, 246);\
|
497
|
-
}\
|
498
|
-
.ace-tm .ace_constant.ace_language {\
|
499
|
-
color: rgb(88, 92, 246);\
|
500
|
-
}\
|
501
|
-
.ace-tm .ace_constant.ace_library {\
|
502
|
-
color: rgb(6, 150, 14);\
|
503
|
-
}\
|
504
|
-
.ace-tm .ace_invalid {\
|
505
|
-
background-color: rgba(255, 0, 0, 0.1);\
|
506
|
-
color: red;\
|
507
|
-
}\
|
508
|
-
.ace-tm .ace_support.ace_function {\
|
509
|
-
color: rgb(60, 76, 114);\
|
510
|
-
}\
|
511
|
-
.ace-tm .ace_support.ace_constant {\
|
512
|
-
color: rgb(6, 150, 14);\
|
513
|
-
}\
|
514
|
-
.ace-tm .ace_support.ace_type,\
|
515
|
-
.ace-tm .ace_support.ace_class {\
|
516
|
-
color: rgb(109, 121, 222);\
|
517
|
-
}\
|
518
|
-
.ace-tm .ace_keyword.ace_operator {\
|
519
|
-
color: rgb(104, 118, 135);\
|
520
|
-
}\
|
521
|
-
.ace-tm .ace_string {\
|
522
|
-
color: rgb(3, 106, 7);\
|
523
|
-
}\
|
524
|
-
.ace-tm .ace_comment {\
|
525
|
-
color: rgb(76, 136, 107);\
|
526
|
-
}\
|
527
|
-
.ace-tm .ace_comment.ace_doc {\
|
528
|
-
color: rgb(0, 102, 255);\
|
529
|
-
}\
|
530
|
-
.ace-tm .ace_comment.ace_doc.ace_tag {\
|
531
|
-
color: rgb(128, 159, 191);\
|
532
|
-
}\
|
533
|
-
.ace-tm .ace_constant.ace_numeric {\
|
534
|
-
color: rgb(0, 0, 205);\
|
535
|
-
}\
|
536
|
-
.ace-tm .ace_variable {\
|
537
|
-
color: rgb(49, 132, 149);\
|
538
|
-
}\
|
539
|
-
.ace-tm .ace_xml-pe {\
|
540
|
-
color: rgb(104, 104, 91);\
|
541
|
-
}\
|
542
|
-
.ace-tm .ace_entity.ace_name.ace_function {\
|
543
|
-
color: #0000A2;\
|
544
|
-
}\
|
545
|
-
.ace-tm .ace_markup.ace_heading {\
|
546
|
-
color: rgb(12, 7, 255);\
|
547
|
-
}\
|
548
|
-
.ace-tm .ace_markup.ace_list {\
|
549
|
-
color:rgb(185, 6, 144);\
|
550
|
-
}\
|
551
|
-
.ace-tm .ace_meta.ace_tag {\
|
552
|
-
color:rgb(0, 22, 142);\
|
553
|
-
}\
|
554
|
-
.ace-tm .ace_string.ace_regex {\
|
555
|
-
color: rgb(255, 0, 0)\
|
556
|
-
}\
|
557
|
-
.ace-tm .ace_marker-layer .ace_selection {\
|
558
|
-
background: rgb(181, 213, 255);\
|
559
|
-
}\
|
560
|
-
.ace-tm.ace_multiselect .ace_selection.ace_start {\
|
561
|
-
box-shadow: 0 0 3px 0px white;\
|
562
|
-
border-radius: 2px;\
|
563
|
-
}\
|
564
|
-
.ace-tm .ace_marker-layer .ace_step {\
|
565
|
-
background: rgb(252, 255, 0);\
|
566
|
-
}\
|
567
|
-
.ace-tm .ace_marker-layer .ace_stack {\
|
568
|
-
background: rgb(164, 229, 101);\
|
569
|
-
}\
|
570
|
-
.ace-tm .ace_marker-layer .ace_bracket {\
|
571
|
-
margin: -1px 0 0 -1px;\
|
572
|
-
border: 1px solid rgb(192, 192, 192);\
|
573
|
-
}\
|
574
|
-
.ace-tm .ace_marker-layer .ace_active-line {\
|
575
|
-
background: rgba(0, 0, 0, 0.07);\
|
576
|
-
}\
|
577
|
-
.ace-tm .ace_gutter-active-line {\
|
578
|
-
background-color : #dcdcdc;\
|
579
|
-
}\
|
580
|
-
.ace-tm .ace_marker-layer .ace_selected-word {\
|
581
|
-
background: rgb(250, 250, 255);\
|
582
|
-
border: 1px solid rgb(200, 200, 250);\
|
583
|
-
}\
|
584
|
-
.ace-tm .ace_indent-guide {\
|
585
|
-
background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\
|
586
|
-
}\
|
587
|
-
";
|
588
|
-
|
589
|
-
var dom = require("../lib/dom");
|
590
|
-
dom.importCssString(exports.cssText, exports.cssClass);
|
591
|
-
});
|