沟通补正BUG修改
This commit is contained in:
parent
fa70cb3c99
commit
e567094c70
@ -12866,8 +12866,12 @@ var Editor = function(renderer, session) {
|
||||
if (options) {
|
||||
this.$search.set(options);
|
||||
}
|
||||
|
||||
console.log(replacement)
|
||||
console.log(options)
|
||||
console.log(this.session)
|
||||
var ranges = this.$search.findAll(this.session);
|
||||
console.log(ranges)
|
||||
|
||||
var replaced = 0;
|
||||
if (!ranges.length)
|
||||
return replaced;
|
||||
|
1084
src/main/resources/static/assets/js/vendor/template/build/css/ace.css
vendored
Normal file
1084
src/main/resources/static/assets/js/vendor/template/build/css/ace.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
src/main/resources/static/assets/js/vendor/template/build/css/ambiance-1.png
vendored
Normal file
BIN
src/main/resources/static/assets/js/vendor/template/build/css/ambiance-1.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
BIN
src/main/resources/static/assets/js/vendor/template/build/css/ambiance-2.png
vendored
Normal file
BIN
src/main/resources/static/assets/js/vendor/template/build/css/ambiance-2.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 75 B |
BIN
src/main/resources/static/assets/js/vendor/template/build/css/ambiance-3.png
vendored
Normal file
BIN
src/main/resources/static/assets/js/vendor/template/build/css/ambiance-3.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 100 B |
220
src/main/resources/static/assets/js/vendor/template/build/css/theme/ambiance.css
vendored
Normal file
220
src/main/resources/static/assets/js/vendor/template/build/css/theme/ambiance.css
vendored
Normal file
@ -0,0 +1,220 @@
|
||||
.ace-ambiance .ace_gutter {
|
||||
background-color: #3d3d3d;
|
||||
background-image: linear-gradient(left, #3D3D3D, #333);
|
||||
background-repeat: repeat-x;
|
||||
border-right: 1px solid #4d4d4d;
|
||||
text-shadow: 0px 1px 1px #4d4d4d;
|
||||
color: #222;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_gutter-layer {
|
||||
background: repeat left top;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_gutter-active-line {
|
||||
background-color: #3F3F3F;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_fold-widget {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_fold-widget:hover {
|
||||
color: #777;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_fold-widget.ace_start,
|
||||
.ace-ambiance .ace_fold-widget.ace_end,
|
||||
.ace-ambiance .ace_fold-widget.ace_closed{
|
||||
background: none !important;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_fold-widget.ace_start:after {
|
||||
content: '▾'
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_fold-widget.ace_end:after {
|
||||
content: '▴'
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_fold-widget.ace_closed:after {
|
||||
content: '‣'
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_print-margin {
|
||||
border-left: 1px dotted #2D2D2D;
|
||||
right: 0;
|
||||
background: #262626;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_scroller {
|
||||
-webkit-box-shadow: inset 0 0 10px black;
|
||||
-moz-box-shadow: inset 0 0 10px black;
|
||||
-o-box-shadow: inset 0 0 10px black;
|
||||
box-shadow: inset 0 0 10px black;
|
||||
}
|
||||
|
||||
.ace-ambiance {
|
||||
color: #E6E1DC;
|
||||
background-color: #202020;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_cursor {
|
||||
border-left: 1px solid #7991E8;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_overwrite-cursors .ace_cursor {
|
||||
border: 1px solid #FFE300;
|
||||
background: #766B13;
|
||||
}
|
||||
|
||||
.ace-ambiance.normal-mode .ace_cursor-layer {
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_marker-layer .ace_selection {
|
||||
background: rgba(221, 240, 255, 0.20);
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_marker-layer .ace_selected-word {
|
||||
border-radius: 4px;
|
||||
border: 8px solid #3f475d;
|
||||
box-shadow: 0 0 4px black;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_marker-layer .ace_step {
|
||||
background: rgb(198, 219, 174);
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_marker-layer .ace_bracket {
|
||||
margin: -1px 0 0 -1px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_marker-layer .ace_active-line {
|
||||
background: rgba(255, 255, 255, 0.031);
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_invisible {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_paren {
|
||||
color: #24C2C7;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_keyword {
|
||||
color: #cda869;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_keyword.ace_operator {
|
||||
color: #fa8d6a;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_punctuation.ace_operator {
|
||||
color: #fa8d6a;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_identifier {
|
||||
}
|
||||
|
||||
.ace-ambiance .ace-statement {
|
||||
color: #cda869;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_constant {
|
||||
color: #CF7EA9;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_constant.ace_language {
|
||||
color: #CF7EA9;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_constant.ace_library {
|
||||
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_constant.ace_numeric {
|
||||
color: #78CF8A;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_invalid {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_invalid.ace_illegal {
|
||||
color:#F8F8F8;
|
||||
background-color: rgba(86, 45, 86, 0.75);
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_invalid,
|
||||
.ace-ambiance .ace_deprecated {
|
||||
text-decoration: underline;
|
||||
font-style: italic;
|
||||
color: #D2A8A1;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_support {
|
||||
color: #9B859D;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_support.ace_function {
|
||||
color: #DAD085;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_function.ace_buildin {
|
||||
color: #9b859d;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_string {
|
||||
color: #8f9d6a;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_string.ace_regexp {
|
||||
color: #DAD085;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_comment {
|
||||
font-style: italic;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_comment.ace_doc {
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_comment.ace_doc.ace_tag {
|
||||
color: #666;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_definition,
|
||||
.ace-ambiance .ace_type {
|
||||
color: #aac6e3;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_variable {
|
||||
color: #9999cc;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_variable.ace_language {
|
||||
color: #9b859d;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_xml-pe {
|
||||
color: #494949;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_gutter-layer,
|
||||
.ace-ambiance .ace_text-layer {
|
||||
background-image: url("../ambiance-1.png");
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_indent-guide {
|
||||
background: url("../ambiance-2.png") right repeat-y;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_indent-guide-active {
|
||||
background: url("../ambiance-3.png") right repeat-y;
|
||||
}
|
19456
src/main/resources/static/assets/js/vendor/template/build/src/ace.js
vendored
Normal file
19456
src/main/resources/static/assets/js/vendor/template/build/src/ace.js
vendored
Normal file
File diff suppressed because one or more lines are too long
17
src/main/resources/static/assets/js/vendor/template/build/src/snippets/abc.js
vendored
Normal file
17
src/main/resources/static/assets/js/vendor/template/build/src/snippets/abc.js
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
define("ace/snippets/abc.snippets",["require","exports","module"], function(require, exports, module){module.exports = "\nsnippet zupfnoter.print\n\t%%%%hn.print {\"startpos\": ${1:pos_y}, \"t\":\"${2:title}\", \"v\":[${3:voices}], \"s\":[[${4:syncvoices}1,2]], \"f\":[${5:flowlines}], \"sf\":[${6:subflowlines}], \"j\":[${7:jumplines}]}\n\nsnippet zupfnoter.note\n\t%%%%hn.note {\"pos\": [${1:pos_x},${2:pos_y}], \"text\": \"${3:text}\", \"style\": \"${4:style}\"}\n\nsnippet zupfnoter.annotation\n\t%%%%hn.annotation {\"id\": \"${1:id}\", \"pos\": [${2:pos}], \"text\": \"${3:text}\"}\n\nsnippet zupfnoter.lyrics\n\t%%%%hn.lyrics {\"pos\": [${1:x_pos},${2:y_pos}]}\n\nsnippet zupfnoter.legend\n\t%%%%hn.legend {\"pos\": [${1:x_pos},${2:y_pos}]}\n\n\n\nsnippet zupfnoter.target\n\t\"^:${1:target}\"\n\nsnippet zupfnoter.goto\n\t\"^@${1:target}@${2:distance}\"\n\nsnippet zupfnoter.annotationref\n\t\"^#${1:target}\"\n\nsnippet zupfnoter.annotation\n\t\"^!${1:text}@${2:x_offset},${3:y_offset}\"\n\n\n";
|
||||
|
||||
});
|
||||
|
||||
define("ace/snippets/abc",["require","exports","module","ace/snippets/abc.snippets"], function(require, exports, module){"use strict";
|
||||
exports.snippetText = require("./abc.snippets");
|
||||
exports.scope = "abc";
|
||||
|
||||
});
|
||||
(function() {
|
||||
window.require(["ace/snippets/abc"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
17
src/main/resources/static/assets/js/vendor/template/build/src/snippets/actionscript.js
vendored
Normal file
17
src/main/resources/static/assets/js/vendor/template/build/src/snippets/actionscript.js
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
define("ace/snippets/actionscript.snippets",["require","exports","module"], function(require, exports, module){module.exports = "snippet main\n\tpackage {\n\t\timport flash.display.*;\n\t\timport flash.Events.*;\n\t\n\t\tpublic class Main extends Sprite {\n\t\t\tpublic function Main (\t) {\n\t\t\t\ttrace(\"start\");\n\t\t\t\tstage.scaleMode = StageScaleMode.NO_SCALE;\n\t\t\t\tstage.addEventListener(Event.RESIZE, resizeListener);\n\t\t\t}\n\t\n\t\t\tprivate function resizeListener (e:Event):void {\n\t\t\t\ttrace(\"The application window changed size!\");\n\t\t\t\ttrace(\"New width: \" + stage.stageWidth);\n\t\t\t\ttrace(\"New height: \" + stage.stageHeight);\n\t\t\t}\n\t\n\t\t}\n\t\n\t}\nsnippet class\n\t${1:public|internal} class ${2:name} ${3:extends } {\n\t\tpublic function $2 (\t) {\n\t\t\t(\"start\");\n\t\t}\n\t}\nsnippet all\n\tpackage name {\n\n\t\t${1:public|internal|final} class ${2:name} ${3:extends } {\n\t\t\tprivate|public| static const FOO = \"abc\";\n\t\t\tprivate|public| static var BAR = \"abc\";\n\n\t\t\t// class initializer - no JIT !! one time setup\n\t\t\tif Cababilities.os == \"Linux|MacOS\" {\n\t\t\t\tFOO = \"other\";\n\t\t\t}\n\n\t\t\t// constructor:\n\t\t\tpublic function $2 (\t){\n\t\t\t\tsuper2();\n\t\t\t\ttrace(\"start\");\n\t\t\t}\n\t\t\tpublic function name (a, b...){\n\t\t\t\tsuper.name(..);\n\t\t\t\tlable:break\n\t\t\t}\n\t\t}\n\t}\n\n\tfunction A(){\n\t\t// A can only be accessed within this file\n\t}\nsnippet switch\n\tswitch(${1}){\n\t\tcase ${2}:\n\t\t\t${3}\n\t\tbreak;\n\t\tdefault:\n\t}\nsnippet case\n\t\tcase ${1}:\n\t\t\t${2}\n\t\tbreak;\nsnippet package\n\tpackage ${1:package}{\n\t\t${2}\n\t}\nsnippet wh\n\twhile ${1:cond}{\n\t\t${2}\n\t}\nsnippet do\n\tdo {\n\t\t${2}\n\t} while (${1:cond})\nsnippet while\n\twhile ${1:cond}{\n\t\t${2}\n\t}\nsnippet for enumerate names\n\tfor (${1:var} in ${2:object}){\n\t\t${3}\n\t}\nsnippet for enumerate values\n\tfor each (${1:var} in ${2:object}){\n\t\t${3}\n\t}\nsnippet get_set\n\tfunction get ${1:name} {\n\t\treturn ${2}\n\t}\n\tfunction set $1 (newValue) {\n\t\t${3}\n\t}\nsnippet interface\n\tinterface name {\n\t\tfunction method(${1}):${2:returntype};\n\t}\nsnippet try\n\ttry {\n\t\t${1}\n\t} catch (error:ErrorType) {\n\t\t${2}\n\t} finally {\n\t\t${3}\n\t}\n# For Loop (same as c.snippet)\nsnippet for for (..) {..}\n\tfor (${2:i} = 0; $2 < ${1:count}; $2${3:++}) {\n\t\t${4:/* code */}\n\t}\n# Custom For Loop\nsnippet forr\n\tfor (${1:i} = ${2:0}; ${3:$1 < 10}; $1${4:++}) {\n\t\t${5:/* code */}\n\t}\n# If Condition\nsnippet if\n\tif (${1:/* condition */}) {\n\t\t${2:/* code */}\n\t}\nsnippet el\n\telse {\n\t\t${1}\n\t}\n# Ternary conditional\nsnippet t\n\t${1:/* condition */} ? ${2:a} : ${3:b}\nsnippet fun\n\tfunction ${1:function_name}(${2})${3}\n\t{\n\t\t${4:/* code */}\n\t}\n# FlxSprite (usefull when using the flixel library)\nsnippet FlxSprite\n\tpackage\n\t{\n\t\timport org.flixel.*\n\n\t\tpublic class ${1:ClassName} extends ${2:FlxSprite}\n\t\t{\n\t\t\tpublic function $1(${3: X:Number, Y:Number}):void\n\t\t\t{\n\t\t\t\tsuper(X,Y);\n\t\t\t\t${4: //code...}\n\t\t\t}\n\n\t\t\toverride public function update():void\n\t\t\t{\n\t\t\t\tsuper.update();\n\t\t\t\t${5: //code...}\n\t\t\t}\n\t\t}\n\t}\n\n";
|
||||
|
||||
});
|
||||
|
||||
define("ace/snippets/actionscript",["require","exports","module","ace/snippets/actionscript.snippets"], function(require, exports, module){"use strict";
|
||||
exports.snippetText = require("./actionscript.snippets");
|
||||
exports.scope = "actionscript";
|
||||
|
||||
});
|
||||
(function() {
|
||||
window.require(["ace/snippets/actionscript"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
10
src/main/resources/static/assets/js/vendor/template/build/src/snippets/ada.js
vendored
Normal file
10
src/main/resources/static/assets/js/vendor/template/build/src/snippets/ada.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/snippets/ada"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
10
src/main/resources/static/assets/js/vendor/template/build/src/snippets/alda.js
vendored
Normal file
10
src/main/resources/static/assets/js/vendor/template/build/src/snippets/alda.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/snippets/alda"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
10
src/main/resources/static/assets/js/vendor/template/build/src/snippets/apache_conf.js
vendored
Normal file
10
src/main/resources/static/assets/js/vendor/template/build/src/snippets/apache_conf.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/snippets/apache_conf"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
10
src/main/resources/static/assets/js/vendor/template/build/src/snippets/apex.js
vendored
Normal file
10
src/main/resources/static/assets/js/vendor/template/build/src/snippets/apex.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/snippets/apex"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
10
src/main/resources/static/assets/js/vendor/template/build/src/snippets/applescript.js
vendored
Normal file
10
src/main/resources/static/assets/js/vendor/template/build/src/snippets/applescript.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/snippets/applescript"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
10
src/main/resources/static/assets/js/vendor/template/build/src/snippets/aql.js
vendored
Normal file
10
src/main/resources/static/assets/js/vendor/template/build/src/snippets/aql.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/snippets/aql"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
10
src/main/resources/static/assets/js/vendor/template/build/src/snippets/asciidoc.js
vendored
Normal file
10
src/main/resources/static/assets/js/vendor/template/build/src/snippets/asciidoc.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/snippets/asciidoc"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
10
src/main/resources/static/assets/js/vendor/template/build/src/snippets/asl.js
vendored
Normal file
10
src/main/resources/static/assets/js/vendor/template/build/src/snippets/asl.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/snippets/asl"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
10
src/main/resources/static/assets/js/vendor/template/build/src/snippets/assembly_x86.js
vendored
Normal file
10
src/main/resources/static/assets/js/vendor/template/build/src/snippets/assembly_x86.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/snippets/assembly_x86"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
10
src/main/resources/static/assets/js/vendor/template/build/src/snippets/autohotkey.js
vendored
Normal file
10
src/main/resources/static/assets/js/vendor/template/build/src/snippets/autohotkey.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/snippets/autohotkey"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
10
src/main/resources/static/assets/js/vendor/template/build/src/snippets/batchfile.js
vendored
Normal file
10
src/main/resources/static/assets/js/vendor/template/build/src/snippets/batchfile.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/snippets/batchfile"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
1084
src/main/resources/static/assets/js/vendor/template/css/ace.css
vendored
Normal file
1084
src/main/resources/static/assets/js/vendor/template/css/ace.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
src/main/resources/static/assets/js/vendor/template/css/ambiance-1.png
vendored
Normal file
BIN
src/main/resources/static/assets/js/vendor/template/css/ambiance-1.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
BIN
src/main/resources/static/assets/js/vendor/template/css/ambiance-2.png
vendored
Normal file
BIN
src/main/resources/static/assets/js/vendor/template/css/ambiance-2.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 75 B |
BIN
src/main/resources/static/assets/js/vendor/template/css/ambiance-3.png
vendored
Normal file
BIN
src/main/resources/static/assets/js/vendor/template/css/ambiance-3.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 100 B |
220
src/main/resources/static/assets/js/vendor/template/css/theme/ambiance.css
vendored
Normal file
220
src/main/resources/static/assets/js/vendor/template/css/theme/ambiance.css
vendored
Normal file
@ -0,0 +1,220 @@
|
||||
.ace-ambiance .ace_gutter {
|
||||
background-color: #3d3d3d;
|
||||
background-image: linear-gradient(left, #3D3D3D, #333);
|
||||
background-repeat: repeat-x;
|
||||
border-right: 1px solid #4d4d4d;
|
||||
text-shadow: 0px 1px 1px #4d4d4d;
|
||||
color: #222;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_gutter-layer {
|
||||
background: repeat left top;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_gutter-active-line {
|
||||
background-color: #3F3F3F;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_fold-widget {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_fold-widget:hover {
|
||||
color: #777;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_fold-widget.ace_start,
|
||||
.ace-ambiance .ace_fold-widget.ace_end,
|
||||
.ace-ambiance .ace_fold-widget.ace_closed{
|
||||
background: none !important;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_fold-widget.ace_start:after {
|
||||
content: '▾'
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_fold-widget.ace_end:after {
|
||||
content: '▴'
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_fold-widget.ace_closed:after {
|
||||
content: '‣'
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_print-margin {
|
||||
border-left: 1px dotted #2D2D2D;
|
||||
right: 0;
|
||||
background: #262626;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_scroller {
|
||||
-webkit-box-shadow: inset 0 0 10px black;
|
||||
-moz-box-shadow: inset 0 0 10px black;
|
||||
-o-box-shadow: inset 0 0 10px black;
|
||||
box-shadow: inset 0 0 10px black;
|
||||
}
|
||||
|
||||
.ace-ambiance {
|
||||
color: #E6E1DC;
|
||||
background-color: #202020;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_cursor {
|
||||
border-left: 1px solid #7991E8;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_overwrite-cursors .ace_cursor {
|
||||
border: 1px solid #FFE300;
|
||||
background: #766B13;
|
||||
}
|
||||
|
||||
.ace-ambiance.normal-mode .ace_cursor-layer {
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_marker-layer .ace_selection {
|
||||
background: rgba(221, 240, 255, 0.20);
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_marker-layer .ace_selected-word {
|
||||
border-radius: 4px;
|
||||
border: 8px solid #3f475d;
|
||||
box-shadow: 0 0 4px black;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_marker-layer .ace_step {
|
||||
background: rgb(198, 219, 174);
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_marker-layer .ace_bracket {
|
||||
margin: -1px 0 0 -1px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_marker-layer .ace_active-line {
|
||||
background: rgba(255, 255, 255, 0.031);
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_invisible {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_paren {
|
||||
color: #24C2C7;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_keyword {
|
||||
color: #cda869;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_keyword.ace_operator {
|
||||
color: #fa8d6a;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_punctuation.ace_operator {
|
||||
color: #fa8d6a;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_identifier {
|
||||
}
|
||||
|
||||
.ace-ambiance .ace-statement {
|
||||
color: #cda869;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_constant {
|
||||
color: #CF7EA9;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_constant.ace_language {
|
||||
color: #CF7EA9;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_constant.ace_library {
|
||||
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_constant.ace_numeric {
|
||||
color: #78CF8A;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_invalid {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_invalid.ace_illegal {
|
||||
color:#F8F8F8;
|
||||
background-color: rgba(86, 45, 86, 0.75);
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_invalid,
|
||||
.ace-ambiance .ace_deprecated {
|
||||
text-decoration: underline;
|
||||
font-style: italic;
|
||||
color: #D2A8A1;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_support {
|
||||
color: #9B859D;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_support.ace_function {
|
||||
color: #DAD085;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_function.ace_buildin {
|
||||
color: #9b859d;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_string {
|
||||
color: #8f9d6a;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_string.ace_regexp {
|
||||
color: #DAD085;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_comment {
|
||||
font-style: italic;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_comment.ace_doc {
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_comment.ace_doc.ace_tag {
|
||||
color: #666;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_definition,
|
||||
.ace-ambiance .ace_type {
|
||||
color: #aac6e3;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_variable {
|
||||
color: #9999cc;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_variable.ace_language {
|
||||
color: #9b859d;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_xml-pe {
|
||||
color: #494949;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_gutter-layer,
|
||||
.ace-ambiance .ace_text-layer {
|
||||
background-image: url("../ambiance-1.png");
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_indent-guide {
|
||||
background: url("../ambiance-2.png") right repeat-y;
|
||||
}
|
||||
|
||||
.ace-ambiance .ace_indent-guide-active {
|
||||
background: url("../ambiance-3.png") right repeat-y;
|
||||
}
|
19456
src/main/resources/static/assets/js/vendor/template/src/ace.js
vendored
Normal file
19456
src/main/resources/static/assets/js/vendor/template/src/ace.js
vendored
Normal file
File diff suppressed because one or more lines are too long
10
src/main/resources/static/assets/js/vendor/template/src/snippets/abap.js
vendored
Normal file
10
src/main/resources/static/assets/js/vendor/template/src/snippets/abap.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/snippets/abap"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
17
src/main/resources/static/assets/js/vendor/template/src/snippets/abc.js
vendored
Normal file
17
src/main/resources/static/assets/js/vendor/template/src/snippets/abc.js
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
define("ace/snippets/abc.snippets",["require","exports","module"], function(require, exports, module){module.exports = "\nsnippet zupfnoter.print\n\t%%%%hn.print {\"startpos\": ${1:pos_y}, \"t\":\"${2:title}\", \"v\":[${3:voices}], \"s\":[[${4:syncvoices}1,2]], \"f\":[${5:flowlines}], \"sf\":[${6:subflowlines}], \"j\":[${7:jumplines}]}\n\nsnippet zupfnoter.note\n\t%%%%hn.note {\"pos\": [${1:pos_x},${2:pos_y}], \"text\": \"${3:text}\", \"style\": \"${4:style}\"}\n\nsnippet zupfnoter.annotation\n\t%%%%hn.annotation {\"id\": \"${1:id}\", \"pos\": [${2:pos}], \"text\": \"${3:text}\"}\n\nsnippet zupfnoter.lyrics\n\t%%%%hn.lyrics {\"pos\": [${1:x_pos},${2:y_pos}]}\n\nsnippet zupfnoter.legend\n\t%%%%hn.legend {\"pos\": [${1:x_pos},${2:y_pos}]}\n\n\n\nsnippet zupfnoter.target\n\t\"^:${1:target}\"\n\nsnippet zupfnoter.goto\n\t\"^@${1:target}@${2:distance}\"\n\nsnippet zupfnoter.annotationref\n\t\"^#${1:target}\"\n\nsnippet zupfnoter.annotation\n\t\"^!${1:text}@${2:x_offset},${3:y_offset}\"\n\n\n";
|
||||
|
||||
});
|
||||
|
||||
define("ace/snippets/abc",["require","exports","module","ace/snippets/abc.snippets"], function(require, exports, module){"use strict";
|
||||
exports.snippetText = require("./abc.snippets");
|
||||
exports.scope = "abc";
|
||||
|
||||
});
|
||||
(function() {
|
||||
window.require(["ace/snippets/abc"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
17
src/main/resources/static/assets/js/vendor/template/src/snippets/actionscript.js
vendored
Normal file
17
src/main/resources/static/assets/js/vendor/template/src/snippets/actionscript.js
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
define("ace/snippets/actionscript.snippets",["require","exports","module"], function(require, exports, module){module.exports = "snippet main\n\tpackage {\n\t\timport flash.display.*;\n\t\timport flash.Events.*;\n\t\n\t\tpublic class Main extends Sprite {\n\t\t\tpublic function Main (\t) {\n\t\t\t\ttrace(\"start\");\n\t\t\t\tstage.scaleMode = StageScaleMode.NO_SCALE;\n\t\t\t\tstage.addEventListener(Event.RESIZE, resizeListener);\n\t\t\t}\n\t\n\t\t\tprivate function resizeListener (e:Event):void {\n\t\t\t\ttrace(\"The application window changed size!\");\n\t\t\t\ttrace(\"New width: \" + stage.stageWidth);\n\t\t\t\ttrace(\"New height: \" + stage.stageHeight);\n\t\t\t}\n\t\n\t\t}\n\t\n\t}\nsnippet class\n\t${1:public|internal} class ${2:name} ${3:extends } {\n\t\tpublic function $2 (\t) {\n\t\t\t(\"start\");\n\t\t}\n\t}\nsnippet all\n\tpackage name {\n\n\t\t${1:public|internal|final} class ${2:name} ${3:extends } {\n\t\t\tprivate|public| static const FOO = \"abc\";\n\t\t\tprivate|public| static var BAR = \"abc\";\n\n\t\t\t// class initializer - no JIT !! one time setup\n\t\t\tif Cababilities.os == \"Linux|MacOS\" {\n\t\t\t\tFOO = \"other\";\n\t\t\t}\n\n\t\t\t// constructor:\n\t\t\tpublic function $2 (\t){\n\t\t\t\tsuper2();\n\t\t\t\ttrace(\"start\");\n\t\t\t}\n\t\t\tpublic function name (a, b...){\n\t\t\t\tsuper.name(..);\n\t\t\t\tlable:break\n\t\t\t}\n\t\t}\n\t}\n\n\tfunction A(){\n\t\t// A can only be accessed within this file\n\t}\nsnippet switch\n\tswitch(${1}){\n\t\tcase ${2}:\n\t\t\t${3}\n\t\tbreak;\n\t\tdefault:\n\t}\nsnippet case\n\t\tcase ${1}:\n\t\t\t${2}\n\t\tbreak;\nsnippet package\n\tpackage ${1:package}{\n\t\t${2}\n\t}\nsnippet wh\n\twhile ${1:cond}{\n\t\t${2}\n\t}\nsnippet do\n\tdo {\n\t\t${2}\n\t} while (${1:cond})\nsnippet while\n\twhile ${1:cond}{\n\t\t${2}\n\t}\nsnippet for enumerate names\n\tfor (${1:var} in ${2:object}){\n\t\t${3}\n\t}\nsnippet for enumerate values\n\tfor each (${1:var} in ${2:object}){\n\t\t${3}\n\t}\nsnippet get_set\n\tfunction get ${1:name} {\n\t\treturn ${2}\n\t}\n\tfunction set $1 (newValue) {\n\t\t${3}\n\t}\nsnippet interface\n\tinterface name {\n\t\tfunction method(${1}):${2:returntype};\n\t}\nsnippet try\n\ttry {\n\t\t${1}\n\t} catch (error:ErrorType) {\n\t\t${2}\n\t} finally {\n\t\t${3}\n\t}\n# For Loop (same as c.snippet)\nsnippet for for (..) {..}\n\tfor (${2:i} = 0; $2 < ${1:count}; $2${3:++}) {\n\t\t${4:/* code */}\n\t}\n# Custom For Loop\nsnippet forr\n\tfor (${1:i} = ${2:0}; ${3:$1 < 10}; $1${4:++}) {\n\t\t${5:/* code */}\n\t}\n# If Condition\nsnippet if\n\tif (${1:/* condition */}) {\n\t\t${2:/* code */}\n\t}\nsnippet el\n\telse {\n\t\t${1}\n\t}\n# Ternary conditional\nsnippet t\n\t${1:/* condition */} ? ${2:a} : ${3:b}\nsnippet fun\n\tfunction ${1:function_name}(${2})${3}\n\t{\n\t\t${4:/* code */}\n\t}\n# FlxSprite (usefull when using the flixel library)\nsnippet FlxSprite\n\tpackage\n\t{\n\t\timport org.flixel.*\n\n\t\tpublic class ${1:ClassName} extends ${2:FlxSprite}\n\t\t{\n\t\t\tpublic function $1(${3: X:Number, Y:Number}):void\n\t\t\t{\n\t\t\t\tsuper(X,Y);\n\t\t\t\t${4: //code...}\n\t\t\t}\n\n\t\t\toverride public function update():void\n\t\t\t{\n\t\t\t\tsuper.update();\n\t\t\t\t${5: //code...}\n\t\t\t}\n\t\t}\n\t}\n\n";
|
||||
|
||||
});
|
||||
|
||||
define("ace/snippets/actionscript",["require","exports","module","ace/snippets/actionscript.snippets"], function(require, exports, module){"use strict";
|
||||
exports.snippetText = require("./actionscript.snippets");
|
||||
exports.scope = "actionscript";
|
||||
|
||||
});
|
||||
(function() {
|
||||
window.require(["ace/snippets/actionscript"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
10
src/main/resources/static/assets/js/vendor/template/src/snippets/ada.js
vendored
Normal file
10
src/main/resources/static/assets/js/vendor/template/src/snippets/ada.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/snippets/ada"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
10
src/main/resources/static/assets/js/vendor/template/src/snippets/alda.js
vendored
Normal file
10
src/main/resources/static/assets/js/vendor/template/src/snippets/alda.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/snippets/alda"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
10
src/main/resources/static/assets/js/vendor/template/src/snippets/apache_conf.js
vendored
Normal file
10
src/main/resources/static/assets/js/vendor/template/src/snippets/apache_conf.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/snippets/apache_conf"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
10
src/main/resources/static/assets/js/vendor/template/src/snippets/apex.js
vendored
Normal file
10
src/main/resources/static/assets/js/vendor/template/src/snippets/apex.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/snippets/apex"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
10
src/main/resources/static/assets/js/vendor/template/src/snippets/applescript.js
vendored
Normal file
10
src/main/resources/static/assets/js/vendor/template/src/snippets/applescript.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/snippets/applescript"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
10
src/main/resources/static/assets/js/vendor/template/src/snippets/aql.js
vendored
Normal file
10
src/main/resources/static/assets/js/vendor/template/src/snippets/aql.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/snippets/aql"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
10
src/main/resources/static/assets/js/vendor/template/src/snippets/asciidoc.js
vendored
Normal file
10
src/main/resources/static/assets/js/vendor/template/src/snippets/asciidoc.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/snippets/asciidoc"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
10
src/main/resources/static/assets/js/vendor/template/src/snippets/asl.js
vendored
Normal file
10
src/main/resources/static/assets/js/vendor/template/src/snippets/asl.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/snippets/asl"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
10
src/main/resources/static/assets/js/vendor/template/src/snippets/assembly_x86.js
vendored
Normal file
10
src/main/resources/static/assets/js/vendor/template/src/snippets/assembly_x86.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/snippets/assembly_x86"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
10
src/main/resources/static/assets/js/vendor/template/src/snippets/autohotkey.js
vendored
Normal file
10
src/main/resources/static/assets/js/vendor/template/src/snippets/autohotkey.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/snippets/autohotkey"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user