ace-rails-ap 4.2 → 4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (235) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ace/rails/version.rb +1 -1
  3. data/update.sh +1 -1
  4. data/vendor/assets/javascripts/ace/ace.js +661 -160
  5. data/vendor/assets/javascripts/ace/ext-beautify.js +1 -0
  6. data/vendor/assets/javascripts/ace/ext-emmet.js +314 -218
  7. data/vendor/assets/javascripts/ace/ext-keybinding_menu.js +37 -32
  8. data/vendor/assets/javascripts/ace/ext-language_tools.js +362 -225
  9. data/vendor/assets/javascripts/ace/ext-linking.js +1 -1
  10. data/vendor/assets/javascripts/ace/ext-modelist.js +6 -2
  11. data/vendor/assets/javascripts/ace/ext-options.js +45 -34
  12. data/vendor/assets/javascripts/ace/ext-prompt.js +2764 -0
  13. data/vendor/assets/javascripts/ace/ext-rtl.js +1 -3
  14. data/vendor/assets/javascripts/ace/ext-settings_menu.js +49 -38
  15. data/vendor/assets/javascripts/ace/ext-statusbar.js +2 -2
  16. data/vendor/assets/javascripts/ace/ext-whitespace.js +4 -0
  17. data/vendor/assets/javascripts/ace/keybinding-emacs.js +1 -0
  18. data/vendor/assets/javascripts/ace/keybinding-vim.js +296 -66
  19. data/vendor/assets/javascripts/ace/mode-aql.js +102 -0
  20. data/vendor/assets/javascripts/ace/mode-autohotkey.js +3 -1
  21. data/vendor/assets/javascripts/ace/mode-cirru.js +2 -2
  22. data/vendor/assets/javascripts/ace/mode-crystal.js +642 -0
  23. data/vendor/assets/javascripts/ace/mode-csound_document.js +42 -29
  24. data/vendor/assets/javascripts/ace/mode-csound_orchestra.js +35 -25
  25. data/vendor/assets/javascripts/ace/mode-csound_score.js +29 -21
  26. data/vendor/assets/javascripts/ace/mode-fsharp.js +2 -2
  27. data/vendor/assets/javascripts/ace/mode-gherkin.js +0 -2
  28. data/vendor/assets/javascripts/ace/mode-gobstones.js +252 -94
  29. data/vendor/assets/javascripts/ace/mode-io.js +1 -7
  30. data/vendor/assets/javascripts/ace/mode-jade.js +1 -1
  31. data/vendor/assets/javascripts/ace/mode-lua.js +30 -10
  32. data/vendor/assets/javascripts/ace/mode-luapage.js +30 -10
  33. data/vendor/assets/javascripts/ace/mode-lucene.js +77 -9
  34. data/vendor/assets/javascripts/ace/mode-markdown.js +2 -1
  35. data/vendor/assets/javascripts/ace/mode-mask.js +1 -1
  36. data/vendor/assets/javascripts/ace/mode-nginx.js +298 -0
  37. data/vendor/assets/javascripts/ace/mode-nim.js +363 -0
  38. data/vendor/assets/javascripts/ace/mode-pascal.js +84 -66
  39. data/vendor/assets/javascripts/ace/mode-php.js +1 -1
  40. data/vendor/assets/javascripts/ace/mode-php_laravel_blade.js +1 -1
  41. data/vendor/assets/javascripts/ace/mode-puppet.js +3 -3
  42. data/vendor/assets/javascripts/ace/mode-slim.js +2 -1
  43. data/vendor/assets/javascripts/ace/mode-tcl.js +3 -0
  44. data/vendor/assets/javascripts/ace/mode-terraform.js +4 -4
  45. data/vendor/assets/javascripts/ace/mode-yaml.js +44 -13
  46. data/vendor/assets/javascripts/ace/mode-zeek.js +539 -0
  47. data/vendor/assets/javascripts/ace/snippets/abap.js +8 -1
  48. data/vendor/assets/javascripts/ace/snippets/abc.js +8 -1
  49. data/vendor/assets/javascripts/ace/snippets/actionscript.js +8 -1
  50. data/vendor/assets/javascripts/ace/snippets/ada.js +8 -1
  51. data/vendor/assets/javascripts/ace/snippets/apache_conf.js +8 -1
  52. data/vendor/assets/javascripts/ace/snippets/apex.js +14 -0
  53. data/vendor/assets/javascripts/ace/snippets/applescript.js +8 -1
  54. data/vendor/assets/javascripts/ace/snippets/aql.js +14 -0
  55. data/vendor/assets/javascripts/ace/snippets/asciidoc.js +8 -1
  56. data/vendor/assets/javascripts/ace/snippets/asl.js +13 -0
  57. data/vendor/assets/javascripts/ace/snippets/assembly_x86.js +8 -1
  58. data/vendor/assets/javascripts/ace/snippets/autohotkey.js +8 -1
  59. data/vendor/assets/javascripts/ace/snippets/batchfile.js +8 -1
  60. data/vendor/assets/javascripts/ace/snippets/bro.js +8 -1
  61. data/vendor/assets/javascripts/ace/snippets/c9search.js +8 -1
  62. data/vendor/assets/javascripts/ace/snippets/c_cpp.js +8 -1
  63. data/vendor/assets/javascripts/ace/snippets/cirru.js +8 -1
  64. data/vendor/assets/javascripts/ace/snippets/clojure.js +8 -1
  65. data/vendor/assets/javascripts/ace/snippets/cobol.js +8 -1
  66. data/vendor/assets/javascripts/ace/snippets/coffee.js +8 -1
  67. data/vendor/assets/javascripts/ace/snippets/coldfusion.js +8 -1
  68. data/vendor/assets/javascripts/ace/snippets/crystal.js +14 -0
  69. data/vendor/assets/javascripts/ace/snippets/csharp.js +8 -1
  70. data/vendor/assets/javascripts/ace/snippets/csound_document.js +24 -0
  71. data/vendor/assets/javascripts/ace/snippets/csound_orchestra.js +61 -0
  72. data/vendor/assets/javascripts/ace/snippets/csound_score.js +14 -0
  73. data/vendor/assets/javascripts/ace/snippets/csp.js +14 -0
  74. data/vendor/assets/javascripts/ace/snippets/css.js +8 -1
  75. data/vendor/assets/javascripts/ace/snippets/curly.js +8 -1
  76. data/vendor/assets/javascripts/ace/snippets/d.js +8 -1
  77. data/vendor/assets/javascripts/ace/snippets/dart.js +8 -1
  78. data/vendor/assets/javascripts/ace/snippets/diff.js +8 -1
  79. data/vendor/assets/javascripts/ace/snippets/django.js +8 -1
  80. data/vendor/assets/javascripts/ace/snippets/dockerfile.js +8 -1
  81. data/vendor/assets/javascripts/ace/snippets/dot.js +8 -1
  82. data/vendor/assets/javascripts/ace/snippets/drools.js +8 -1
  83. data/vendor/assets/javascripts/ace/snippets/edifact.js +254 -0
  84. data/vendor/assets/javascripts/ace/snippets/eiffel.js +8 -1
  85. data/vendor/assets/javascripts/ace/snippets/ejs.js +8 -1
  86. data/vendor/assets/javascripts/ace/snippets/elixir.js +8 -1
  87. data/vendor/assets/javascripts/ace/snippets/elm.js +8 -1
  88. data/vendor/assets/javascripts/ace/snippets/erlang.js +8 -1
  89. data/vendor/assets/javascripts/ace/snippets/forth.js +8 -1
  90. data/vendor/assets/javascripts/ace/snippets/fortran.js +8 -1
  91. data/vendor/assets/javascripts/ace/snippets/fsharp.js +14 -0
  92. data/vendor/assets/javascripts/ace/snippets/fsl.js +14 -0
  93. data/vendor/assets/javascripts/ace/snippets/ftl.js +8 -1
  94. data/vendor/assets/javascripts/ace/snippets/gcode.js +8 -1
  95. data/vendor/assets/javascripts/ace/snippets/gherkin.js +8 -1
  96. data/vendor/assets/javascripts/ace/snippets/gitignore.js +8 -1
  97. data/vendor/assets/javascripts/ace/snippets/glsl.js +8 -1
  98. data/vendor/assets/javascripts/ace/snippets/gobstones.js +1701 -24
  99. data/vendor/assets/javascripts/ace/snippets/golang.js +8 -1
  100. data/vendor/assets/javascripts/ace/snippets/graphqlschema.js +8 -1
  101. data/vendor/assets/javascripts/ace/snippets/groovy.js +8 -1
  102. data/vendor/assets/javascripts/ace/snippets/haml.js +8 -1
  103. data/vendor/assets/javascripts/ace/snippets/handlebars.js +8 -1
  104. data/vendor/assets/javascripts/ace/snippets/haskell.js +8 -1
  105. data/vendor/assets/javascripts/ace/snippets/haskell_cabal.js +8 -1
  106. data/vendor/assets/javascripts/ace/snippets/haxe.js +8 -1
  107. data/vendor/assets/javascripts/ace/snippets/hjson.js +8 -1
  108. data/vendor/assets/javascripts/ace/snippets/html.js +36 -2
  109. data/vendor/assets/javascripts/ace/snippets/html_elixir.js +8 -1
  110. data/vendor/assets/javascripts/ace/snippets/html_ruby.js +8 -1
  111. data/vendor/assets/javascripts/ace/snippets/ini.js +8 -1
  112. data/vendor/assets/javascripts/ace/snippets/io.js +8 -1
  113. data/vendor/assets/javascripts/ace/snippets/jack.js +8 -1
  114. data/vendor/assets/javascripts/ace/snippets/jade.js +8 -1
  115. data/vendor/assets/javascripts/ace/snippets/java.js +8 -1
  116. data/vendor/assets/javascripts/ace/snippets/javascript.js +8 -1
  117. data/vendor/assets/javascripts/ace/snippets/json.js +8 -1
  118. data/vendor/assets/javascripts/ace/snippets/jsoniq.js +8 -1
  119. data/vendor/assets/javascripts/ace/snippets/jsp.js +8 -1
  120. data/vendor/assets/javascripts/ace/snippets/jssm.js +14 -0
  121. data/vendor/assets/javascripts/ace/snippets/jsx.js +8 -1
  122. data/vendor/assets/javascripts/ace/snippets/julia.js +8 -1
  123. data/vendor/assets/javascripts/ace/snippets/kotlin.js +8 -1
  124. data/vendor/assets/javascripts/ace/snippets/latex.js +8 -1
  125. data/vendor/assets/javascripts/ace/snippets/less.js +8 -1
  126. data/vendor/assets/javascripts/ace/snippets/liquid.js +890 -2
  127. data/vendor/assets/javascripts/ace/snippets/lisp.js +8 -1
  128. data/vendor/assets/javascripts/ace/snippets/livescript.js +8 -1
  129. data/vendor/assets/javascripts/ace/snippets/logiql.js +8 -1
  130. data/vendor/assets/javascripts/ace/snippets/logtalk.js +14 -0
  131. data/vendor/assets/javascripts/ace/snippets/lsl.js +8 -1
  132. data/vendor/assets/javascripts/ace/snippets/lua.js +8 -1
  133. data/vendor/assets/javascripts/ace/snippets/luapage.js +8 -1
  134. data/vendor/assets/javascripts/ace/snippets/lucene.js +8 -1
  135. data/vendor/assets/javascripts/ace/snippets/makefile.js +8 -1
  136. data/vendor/assets/javascripts/ace/snippets/markdown.js +8 -1
  137. data/vendor/assets/javascripts/ace/snippets/mask.js +8 -1
  138. data/vendor/assets/javascripts/ace/snippets/matlab.js +8 -1
  139. data/vendor/assets/javascripts/ace/snippets/maze.js +8 -1
  140. data/vendor/assets/javascripts/ace/snippets/mel.js +8 -1
  141. data/vendor/assets/javascripts/ace/snippets/mixal.js +14 -0
  142. data/vendor/assets/javascripts/ace/snippets/mushcode.js +8 -1
  143. data/vendor/assets/javascripts/ace/snippets/mysql.js +8 -1
  144. data/vendor/assets/javascripts/ace/snippets/nginx.js +14 -0
  145. data/vendor/assets/javascripts/ace/snippets/nim.js +14 -0
  146. data/vendor/assets/javascripts/ace/snippets/nix.js +8 -1
  147. data/vendor/assets/javascripts/ace/snippets/nsis.js +8 -1
  148. data/vendor/assets/javascripts/ace/snippets/objectivec.js +8 -1
  149. data/vendor/assets/javascripts/ace/snippets/ocaml.js +8 -1
  150. data/vendor/assets/javascripts/ace/snippets/pascal.js +8 -1
  151. data/vendor/assets/javascripts/ace/snippets/perl.js +8 -1
  152. data/vendor/assets/javascripts/ace/snippets/perl6.js +14 -0
  153. data/vendor/assets/javascripts/ace/snippets/pgsql.js +8 -1
  154. data/vendor/assets/javascripts/ace/snippets/php.js +49 -36
  155. data/vendor/assets/javascripts/ace/snippets/php_laravel_blade.js +14 -0
  156. data/vendor/assets/javascripts/ace/snippets/pig.js +8 -1
  157. data/vendor/assets/javascripts/ace/snippets/plain_text.js +8 -1
  158. data/vendor/assets/javascripts/ace/snippets/powershell.js +8 -1
  159. data/vendor/assets/javascripts/ace/snippets/praat.js +8 -1
  160. data/vendor/assets/javascripts/ace/snippets/prolog.js +8 -1
  161. data/vendor/assets/javascripts/ace/snippets/properties.js +8 -1
  162. data/vendor/assets/javascripts/ace/snippets/protobuf.js +8 -1
  163. data/vendor/assets/javascripts/ace/snippets/puppet.js +14 -0
  164. data/vendor/assets/javascripts/ace/snippets/python.js +8 -1
  165. data/vendor/assets/javascripts/ace/snippets/r.js +8 -1
  166. data/vendor/assets/javascripts/ace/snippets/razor.js +8 -1
  167. data/vendor/assets/javascripts/ace/snippets/rdoc.js +8 -1
  168. data/vendor/assets/javascripts/ace/snippets/red.js +14 -0
  169. data/vendor/assets/javascripts/ace/snippets/redshift.js +14 -0
  170. data/vendor/assets/javascripts/ace/snippets/rhtml.js +8 -1
  171. data/vendor/assets/javascripts/ace/snippets/rst.js +8 -1
  172. data/vendor/assets/javascripts/ace/snippets/ruby.js +8 -1
  173. data/vendor/assets/javascripts/ace/snippets/rust.js +8 -1
  174. data/vendor/assets/javascripts/ace/snippets/sass.js +8 -1
  175. data/vendor/assets/javascripts/ace/snippets/scad.js +8 -1
  176. data/vendor/assets/javascripts/ace/snippets/scala.js +8 -1
  177. data/vendor/assets/javascripts/ace/snippets/scheme.js +8 -1
  178. data/vendor/assets/javascripts/ace/snippets/scss.js +8 -1
  179. data/vendor/assets/javascripts/ace/snippets/sh.js +8 -1
  180. data/vendor/assets/javascripts/ace/snippets/sjs.js +8 -1
  181. data/vendor/assets/javascripts/ace/snippets/slim.js +14 -0
  182. data/vendor/assets/javascripts/ace/snippets/smarty.js +8 -1
  183. data/vendor/assets/javascripts/ace/snippets/snippets.js +8 -1
  184. data/vendor/assets/javascripts/ace/snippets/soy_template.js +8 -1
  185. data/vendor/assets/javascripts/ace/snippets/space.js +8 -1
  186. data/vendor/assets/javascripts/ace/snippets/sparql.js +8 -1
  187. data/vendor/assets/javascripts/ace/snippets/sql.js +8 -1
  188. data/vendor/assets/javascripts/ace/snippets/sqlserver.js +8 -1
  189. data/vendor/assets/javascripts/ace/snippets/stylus.js +8 -1
  190. data/vendor/assets/javascripts/ace/snippets/svg.js +8 -1
  191. data/vendor/assets/javascripts/ace/snippets/swift.js +8 -1
  192. data/vendor/assets/javascripts/ace/snippets/tcl.js +8 -1
  193. data/vendor/assets/javascripts/ace/snippets/terraform.js +14 -0
  194. data/vendor/assets/javascripts/ace/snippets/tex.js +8 -1
  195. data/vendor/assets/javascripts/ace/snippets/text.js +8 -1
  196. data/vendor/assets/javascripts/ace/snippets/textile.js +8 -1
  197. data/vendor/assets/javascripts/ace/snippets/toml.js +8 -1
  198. data/vendor/assets/javascripts/ace/snippets/tsx.js +8 -1
  199. data/vendor/assets/javascripts/ace/snippets/turtle.js +8 -1
  200. data/vendor/assets/javascripts/ace/snippets/twig.js +8 -1
  201. data/vendor/assets/javascripts/ace/snippets/typescript.js +8 -1
  202. data/vendor/assets/javascripts/ace/snippets/vala.js +8 -1
  203. data/vendor/assets/javascripts/ace/snippets/vbscript.js +8 -1
  204. data/vendor/assets/javascripts/ace/snippets/velocity.js +8 -1
  205. data/vendor/assets/javascripts/ace/snippets/verilog.js +8 -1
  206. data/vendor/assets/javascripts/ace/snippets/vhdl.js +8 -1
  207. data/vendor/assets/javascripts/ace/snippets/visualforce.js +14 -0
  208. data/vendor/assets/javascripts/ace/snippets/wollok.js +8 -1
  209. data/vendor/assets/javascripts/ace/snippets/xml.js +8 -1
  210. data/vendor/assets/javascripts/ace/snippets/xquery.js +8 -1
  211. data/vendor/assets/javascripts/ace/snippets/yaml.js +8 -1
  212. data/vendor/assets/javascripts/ace/snippets/zeek.js +14 -0
  213. data/vendor/assets/javascripts/ace/worker-coffee.js +2 -2
  214. data/vendor/assets/javascripts/ace/worker-css.js +9 -3
  215. data/vendor/assets/javascripts/ace/worker-html.js +2 -2
  216. data/vendor/assets/javascripts/ace/worker-javascript.js +2 -2
  217. data/vendor/assets/javascripts/ace/worker-json.js +2 -2
  218. data/vendor/assets/javascripts/ace/worker-lua.js +2 -2
  219. data/vendor/assets/javascripts/ace/worker-php.js +4 -4
  220. data/vendor/assets/javascripts/ace/worker-xml.js +2 -2
  221. data/vendor/assets/javascripts/ace/worker-xquery.js +2 -2
  222. metadata +34 -16
  223. data/vendor/assets/javascripts/ace/ext-chromevox.js +0 -540
  224. data/vendor/assets/javascripts/ace/ext-old_ie.js +0 -502
  225. data/vendor/assets/javascripts/ace/mode-bash.js +0 -247
  226. data/vendor/assets/javascripts/ace/mode-lean.js +0 -281
  227. data/vendor/assets/javascripts/ace/mode-live_script.js +0 -481
  228. data/vendor/assets/javascripts/ace/mode-mips_assembler.js +0 -235
  229. data/vendor/assets/javascripts/ace/mode-mipsassembler.js +0 -196
  230. data/vendor/assets/javascripts/ace/mode-swig.js +0 -1099
  231. data/vendor/assets/javascripts/ace/snippets/lean.js +0 -7
  232. data/vendor/assets/javascripts/ace/snippets/live_script.js +0 -7
  233. data/vendor/assets/javascripts/ace/snippets/mips_assembler.js +0 -7
  234. data/vendor/assets/javascripts/ace/snippets/mipsassembler.js +0 -7
  235. data/vendor/assets/javascripts/ace/snippets/swig.js +0 -7
@@ -0,0 +1,102 @@
1
+ define("ace/mode/aql_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
2
+ "use strict";
3
+
4
+ var oop = require("../lib/oop");
5
+ var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
6
+
7
+ var AqlHighlightRules = function() {
8
+
9
+ var keywords = (
10
+ "for|search|outbound|inbound|any|graph|prune|options|shortest_path|to|in|return|filter|sort|limit|let|collect|remove|update|replace|insers|upsert|with"
11
+ );
12
+
13
+ var builtinConstants = (
14
+ "true|false"
15
+ );
16
+
17
+ var builtinFunctions = (
18
+ "append|contains_array|count|count_distinct|count_unique|first|flatten|intersection|last|length|minus|nth|outersection|pop|position|push|remove_nth|remove_value|remove_values|reverse|shift|slice|sorted|sorted_unique|union|union_distinct|unique|unshift|" +
19
+ "date_now|date_iso8601|date_timestamp|is_datestring|date_dayofweek|date_year|date_month|date_day|date_hour|date_minute|date_second|date_millisecond|date_dayofyear|date_isoweek|date_leapyear|date_quarter|date_days_in_month|date_trunc|date_format|date_add|date_subtract|date_diff|date_compare|" +
20
+ "attributes|count|has|is_same_collection|keep|length|matches|merge|merge_recursive|parse_identifier|translate|unset|unset_recursive|values|zip|" +
21
+ "fulltext|" +
22
+ "distance|geo_contains|geo_distance|geo_equals|geo_intersects|is_in_polygon|" +
23
+ "not_null|first_list|first_document|check_document|collection_count|collections|count|current_user|document|length|hash|apply|assert|/ warn|call|fail|noopt|passthru|sleep|v8|version|" +
24
+ "abs|acos|asin|atan|atan2|average|avg|ceil|cos|degrees|exp|exp2|floor|log|log2|log10|max|median|min|percentile|pi|pow|radians|rand|range|round|sin|sqrt|stddev_population|stddev_sample|stddev|sum|tan|variance_population|variance_sample|variance|" +
25
+ "char_length|concat|concat_separator|contains|count|encode_uri_component|find_first|find_last|json_parse|json_stringify|left|length|levenshtein_distance|like|lower|ltrim|md5|random_token|regex_matches|regex_split|regex_test|regex_replace|reverse|right|rtrim|sha1|sha512|split|soundex|substitute|substring|tokens|to_base64|to_hex|trim|upper|uuid|" +
26
+ "to_bool|to_number|to_string|to_array|to_list|is_null|is_bool|is_number|is_string|is_array|is_list|is_object|is_document|is_datestring|is_key|typename|"
27
+ );
28
+
29
+ var keywordMapper = this.createKeywordMapper({
30
+ "support.function": builtinFunctions,
31
+ "keyword": keywords,
32
+ "constant.language": builtinConstants
33
+ }, "identifier", true);
34
+
35
+ this.$rules = {
36
+ "start" : [ {
37
+ token : "comment",
38
+ regex : "//.*$"
39
+ }, {
40
+ token : "string", // " string
41
+ regex : '".*?"'
42
+ }, {
43
+ token : "string", // ' string
44
+ regex : "'.*?'"
45
+ }, {
46
+ token : "constant.numeric", // float
47
+ regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"
48
+ }, {
49
+ token : keywordMapper,
50
+ regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
51
+ }, {
52
+ token : "keyword.operator",
53
+ regex : "\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="
54
+ }, {
55
+ token : "paren.lparen",
56
+ regex : "[\\(]"
57
+ }, {
58
+ token : "paren.rparen",
59
+ regex : "[\\)]"
60
+ }, {
61
+ token : "text",
62
+ regex : "\\s+"
63
+ } ]
64
+ };
65
+ this.normalizeRules();
66
+ };
67
+
68
+ oop.inherits(AqlHighlightRules, TextHighlightRules);
69
+
70
+ exports.AqlHighlightRules = AqlHighlightRules;
71
+ });
72
+
73
+ define("ace/mode/aql",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/aql_highlight_rules"], function(require, exports, module) {
74
+ "use strict";
75
+
76
+ var oop = require("../lib/oop");
77
+ var TextMode = require("./text").Mode;
78
+ var AqlHighlightRules = require("./aql_highlight_rules").AqlHighlightRules;
79
+
80
+ var Mode = function() {
81
+ this.HighlightRules = AqlHighlightRules;
82
+ this.$behaviour = this.$defaultBehaviour;
83
+ };
84
+ oop.inherits(Mode, TextMode);
85
+
86
+ (function() {
87
+
88
+ this.lineCommentStart = "//";
89
+
90
+ this.$id = "ace/mode/aql";
91
+ }).call(Mode.prototype);
92
+
93
+ exports.Mode = Mode;
94
+
95
+ }); (function() {
96
+ window.require(["ace/mode/aql"], function(m) {
97
+ if (typeof module == "object" && typeof exports == "object" && module) {
98
+ module.exports = m;
99
+ }
100
+ });
101
+ })();
102
+
@@ -46,7 +46,9 @@ var AutoHotKeyHighlightRules = function() {
46
46
  { token: 'keyword.operator.ahk',
47
47
  regex: '=|==|<>|:=|<|>|\\*|\\/|\\+|:|\\?|\\-' },
48
48
  { token: 'punctuation.ahk',
49
- regex: '#|`|::|,|\\{|\\}|\\(|\\)|\\%' },
49
+ regex: /#|`|::|,|%/ },
50
+ { token: 'paren',
51
+ regex: /[{}()]/ },
50
52
  { token:
51
53
  [ 'punctuation.quote.double',
52
54
  'string.quoted.ahk',
@@ -21,7 +21,7 @@ var CirruHighlightRules = function() {
21
21
  next: 'line'
22
22
  }, {
23
23
  token: 'support.function',
24
- regex: /[^\(\)"\s]+/,
24
+ regex: /[^\(\)"\s{}\[\]]+/,
25
25
  next: 'line'
26
26
  }, {
27
27
  token: 'string.quoted.double',
@@ -66,7 +66,7 @@ var CirruHighlightRules = function() {
66
66
  next: 'start'
67
67
  }, {
68
68
  token: 'variable.parameter',
69
- regex: /[^\(\)"\s]+/
69
+ regex: /[^\(\)"\s{}\[\]]+/
70
70
  }, {
71
71
  token: 'storage.modifier',
72
72
  regex: /\(/,
@@ -0,0 +1,642 @@
1
+ define("ace/mode/crystal_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function (require, exports, module) {
2
+ "use strict";
3
+
4
+ var oop = require("../lib/oop");
5
+ var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
6
+
7
+ var CrystalHighlightRules = function () {
8
+
9
+ var builtinFunctions = (
10
+ "puts|initialize|previous_def|typeof|as|pointerof|sizeof|instance_sizeof"
11
+ );
12
+
13
+ var keywords = (
14
+ "if|end|else|elsif|unless|case|when|break|while|next|until|def|return|class|new|getter|setter|property|lib"
15
+ + "|fun|do|struct|private|protected|public|module|super|abstract|include|extend|begin|enum|raise|yield|with"
16
+ + "|alias|rescue|ensure|macro|uninitialized|union|type|require"
17
+ );
18
+
19
+ var buildinConstants = (
20
+ "true|TRUE|false|FALSE|nil|NIL|__LINE__|__END_LINE__|__FILE__|__DIR__"
21
+ );
22
+
23
+ var builtinVariables = (
24
+ "$DEBUG|$defout|$FILENAME|$LOAD_PATH|$SAFE|$stdin|$stdout|$stderr|$VERBOSE|" +
25
+ "root_url|flash|session|cookies|params|request|response|logger|self"
26
+ );
27
+
28
+ var keywordMapper = this.$keywords = this.createKeywordMapper({
29
+ "keyword": keywords,
30
+ "constant.language": buildinConstants,
31
+ "variable.language": builtinVariables,
32
+ "support.function": builtinFunctions
33
+ }, "identifier");
34
+
35
+ var hexNumber = "(?:0[xX][\\dA-Fa-f]+)";
36
+ var decNumber = "(?:[0-9][\\d_]*)";
37
+ var octNumber = "(?:0o[0-7][0-7]*)";
38
+ var binNumber = "(?:0[bB][01]+)";
39
+ var intNumber = "(?:[+-]?)(?:" + hexNumber + "|" + decNumber + "|" + octNumber + "|" + binNumber + ")(?:_?[iIuU](?:8|16|32|64))?\\b";
40
+ var escapeExpression = /\\(?:[nsrtvfbae'"\\]|[0-7]{3}|x[\da-fA-F]{2}|u[\da-fA-F]{4}|u{[\da-fA-F]{1,6}})/;
41
+ var extEscapeExspresssion = /\\(?:[nsrtvfbae'"\\]|[0-7]{3}|x[\da-fA-F]{2}|u[\da-fA-F]{4}|u{[\da-fA-F]{1,6}}|u{(:?[\da-fA-F]{2}\s)*[\da-fA-F]{2}})/;
42
+
43
+ this.$rules = {
44
+ "start": [
45
+ {
46
+ token: "comment",
47
+ regex: "#.*$"
48
+ }, {
49
+ token: "string.regexp",
50
+ regex: "[/]",
51
+ push: [{
52
+ token: "constant.language.escape",
53
+ regex: extEscapeExspresssion
54
+ }, {
55
+ token: "string.regexp",
56
+ regex: "[/][imx]*(?=[).,;\\s]|$)",
57
+ next: "pop"
58
+ }, {
59
+ defaultToken: "string.regexp"
60
+ }]
61
+ },
62
+ [{
63
+ regex: "[{}]", onMatch: function (val, state, stack) {
64
+ this.next = val == "{" ? this.nextState : "";
65
+ if (val == "{" && stack.length) {
66
+ stack.unshift("start", state);
67
+ return "paren.lparen";
68
+ }
69
+ if (val == "}" && stack.length) {
70
+ stack.shift();
71
+ this.next = stack.shift();
72
+ if (this.next.indexOf("string") != -1)
73
+ return "paren.end";
74
+ }
75
+ return val == "{" ? "paren.lparen" : "paren.rparen";
76
+ },
77
+ nextState: "start"
78
+ }, {
79
+ token: "string.start",
80
+ regex: /"/,
81
+ push: [{
82
+ token: "constant.language.escape",
83
+ regex: extEscapeExspresssion
84
+ }, {
85
+ token: "string",
86
+ regex: /\\#{/
87
+ }, {
88
+ token: "paren.start",
89
+ regex: /#{/,
90
+ push: "start"
91
+ }, {
92
+ token: "string.end",
93
+ regex: /"/,
94
+ next: "pop"
95
+ }, {
96
+ defaultToken: "string"
97
+ }]
98
+ }, {
99
+ token: "string.start",
100
+ regex: /`/,
101
+ push: [{
102
+ token: "constant.language.escape",
103
+ regex: extEscapeExspresssion
104
+ }, {
105
+ token: "string",
106
+ regex: /\\#{/
107
+ }, {
108
+ token: "paren.start",
109
+ regex: /#{/,
110
+ push: "start"
111
+ }, {
112
+ token: "string.end",
113
+ regex: /`/,
114
+ next: "pop"
115
+ }, {
116
+ defaultToken: "string"
117
+ }]
118
+ }, {
119
+ stateName: "rpstring",
120
+ token: "string.start",
121
+ regex: /%[Qx]?\(/,
122
+ push: [{
123
+ token: "constant.language.escape",
124
+ regex: extEscapeExspresssion
125
+ }, {
126
+ token: "string.start",
127
+ regex: /\(/,
128
+ push: "rpstring"
129
+ }, {
130
+ token: "string.end",
131
+ regex: /\)/,
132
+ next: "pop"
133
+ }, {
134
+ token: "paren.start",
135
+ regex: /#{/,
136
+ push: "start"
137
+ }, {
138
+ defaultToken: "string"
139
+ }]
140
+ }, {
141
+ stateName: "spstring",
142
+ token: "string.start",
143
+ regex: /%[Qx]?\[/,
144
+ push: [{
145
+ token: "constant.language.escape",
146
+ regex: extEscapeExspresssion
147
+ }, {
148
+ token: "string.start",
149
+ regex: /\[/,
150
+ push: "spstring"
151
+ }, {
152
+ token: "string.end",
153
+ regex: /]/,
154
+ next: "pop"
155
+ }, {
156
+ token: "paren.start",
157
+ regex: /#{/,
158
+ push: "start"
159
+ }, {
160
+ defaultToken: "string"
161
+ }]
162
+ }, {
163
+ stateName: "fpstring",
164
+ token: "string.start",
165
+ regex: /%[Qx]?{/,
166
+ push: [{
167
+ token: "constant.language.escape",
168
+ regex: extEscapeExspresssion
169
+ }, {
170
+ token: "string.start",
171
+ regex: /{/,
172
+ push: "fpstring"
173
+ }, {
174
+ token: "string.end",
175
+ regex: /}/,
176
+ next: "pop"
177
+ }, {
178
+ token: "paren.start",
179
+ regex: /#{/,
180
+ push: "start"
181
+ }, {
182
+ defaultToken: "string"
183
+ }]
184
+ }, {
185
+ stateName: "tpstring",
186
+ token: "string.start",
187
+ regex: /%[Qx]?</,
188
+ push: [{
189
+ token: "constant.language.escape",
190
+ regex: extEscapeExspresssion
191
+ }, {
192
+ token: "string.start",
193
+ regex: /</,
194
+ push: "tpstring"
195
+ }, {
196
+ token: "string.end",
197
+ regex: />/,
198
+ next: "pop"
199
+ }, {
200
+ token: "paren.start",
201
+ regex: /#{/,
202
+ push: "start"
203
+ }, {
204
+ defaultToken: "string"
205
+ }]
206
+ }, {
207
+ stateName: "ppstring",
208
+ token: "string.start",
209
+ regex: /%[Qx]?\|/,
210
+ push: [{
211
+ token: "constant.language.escape",
212
+ regex: extEscapeExspresssion
213
+ }, {
214
+ token: "string.end",
215
+ regex: /\|/,
216
+ next: "pop"
217
+ }, {
218
+ token: "paren.start",
219
+ regex: /#{/,
220
+ push: "start"
221
+ }, {
222
+ defaultToken: "string"
223
+ }]
224
+ }, {
225
+ stateName: "rpqstring",
226
+ token: "string.start",
227
+ regex: /%[qwir]\(/,
228
+ push: [{
229
+ token: "string.start",
230
+ regex: /\(/,
231
+ push: "rpqstring"
232
+ }, {
233
+ token: "string.end",
234
+ regex: /\)/,
235
+ next: "pop"
236
+ }, {
237
+ defaultToken: "string"
238
+ }]
239
+ }, {
240
+ stateName: "spqstring",
241
+ token: "string.start",
242
+ regex: /%[qwir]\[/,
243
+ push: [{
244
+ token: "string.start",
245
+ regex: /\[/,
246
+ push: "spqstring"
247
+ }, {
248
+ token: "string.end",
249
+ regex: /]/,
250
+ next: "pop"
251
+ }, {
252
+ defaultToken: "string"
253
+ }]
254
+ }, {
255
+ stateName: "fpqstring",
256
+ token: "string.start",
257
+ regex: /%[qwir]{/,
258
+ push: [{
259
+ token: "string.start",
260
+ regex: /{/,
261
+ push: "fpqstring"
262
+ }, {
263
+ token: "string.end",
264
+ regex: /}/,
265
+ next: "pop"
266
+ }, {
267
+ defaultToken: "string"
268
+ }]
269
+ }, {
270
+ stateName: "tpqstring",
271
+ token: "string.start",
272
+ regex: /%[qwir]</,
273
+ push: [{
274
+ token: "string.start",
275
+ regex: /</,
276
+ push: "tpqstring"
277
+ }, {
278
+ token: "string.end",
279
+ regex: />/,
280
+ next: "pop"
281
+ }, {
282
+ defaultToken: "string"
283
+ }]
284
+ }, {
285
+ stateName: "ppqstring",
286
+ token: "string.start",
287
+ regex: /%[qwir]\|/,
288
+ push: [{
289
+ token: "string.end",
290
+ regex: /\|/,
291
+ next: "pop"
292
+ }, {
293
+ defaultToken: "string"
294
+ }]
295
+ }, {
296
+ token: "string.start",
297
+ regex: /'/,
298
+ push: [{
299
+ token: "constant.language.escape",
300
+ regex: escapeExpression
301
+ }, {
302
+ token: "string.end",
303
+ regex: /'|$/,
304
+ next: "pop"
305
+ }, {
306
+ defaultToken: "string"
307
+ }]
308
+ }], {
309
+ token: "text", // namespaces aren't symbols
310
+ regex: "::"
311
+ }, {
312
+ token: "variable.instance", // instance variable
313
+ regex: "@{1,2}[a-zA-Z_\\d]+"
314
+ }, {
315
+ token: "variable.fresh", // fresh variable
316
+ regex: "%[a-zA-Z_\\d]+"
317
+ }, {
318
+ token: "support.class", // class name
319
+ regex: "[A-Z][a-zA-Z_\\d]+"
320
+ }, {
321
+ token: "constant.other.symbol", // symbol
322
+ regex: "[:](?:(?:===|<=>|\\[]\\?|\\[]=|\\[]|>>|\\*\\*|<<|==|!=|>=|<=|!~|=~|<|\\+|-|\\*|\\/|%|&|\\||\\^|>|!|~)|(?:(?:[A-Za-z_]|[@$](?=[a-zA-Z0-9_]))[a-zA-Z0-9_]*[!=?]?))"
323
+ }, {
324
+ token: "constant.numeric", // float
325
+ regex: "[+-]?\\d(?:\\d|_(?=\\d))*(?:(?:\\.\\d(?:\\d|_(?=\\d))*)?(?:[eE][+-]?\\d+)?)?(?:_?[fF](?:32|64))?\\b"
326
+ }, {
327
+ token: "constant.numeric",
328
+ regex: intNumber
329
+ }, {
330
+ token: "constant.other.symbol",
331
+ regex: ':"',
332
+ push: [{
333
+ token: "constant.language.escape",
334
+ regex: extEscapeExspresssion
335
+ }, {
336
+ token: "constant.other.symbol",
337
+ regex: '"',
338
+ next: "pop"
339
+ }, {
340
+ defaultToken: "constant.other.symbol"
341
+ }]
342
+ }, {
343
+ token: "constant.language.boolean",
344
+ regex: "(?:true|false)\\b"
345
+ }, {
346
+ token: "support.function",
347
+ regex: "(?:is_a\\?|nil\\?|responds_to\\?|as\\?)"
348
+ }, {
349
+ token: keywordMapper,
350
+ regex: "[a-zA-Z_$][a-zA-Z0-9_$!?]*\\b"
351
+ }, {
352
+ token: "variable.system",
353
+ regex: "\\$\\!|\\$\\?"
354
+ }, {
355
+ token: "punctuation.separator.key-value",
356
+ regex: "=>"
357
+ }, {
358
+ stateName: "heredoc",
359
+ onMatch: function (value, currentState, stack) {
360
+ var next = "heredoc";
361
+ var tokens = value.split(this.splitRegex);
362
+ stack.push(next, tokens[3]);
363
+ return [
364
+ {type: "constant", value: tokens[1]},
365
+ {type: "string", value: tokens[2]},
366
+ {type: "support.class", value: tokens[3]},
367
+ {type: "string", value: tokens[4]}
368
+ ];
369
+ },
370
+ regex: "(<<-)([']?)([\\w]+)([']?)",
371
+ rules: {
372
+ heredoc: [{
373
+ token: "string",
374
+ regex: "^ +"
375
+ }, {
376
+ onMatch: function (value, currentState, stack) {
377
+ if (value === stack[1]) {
378
+ stack.shift();
379
+ stack.shift();
380
+ this.next = stack[0] || "start";
381
+ return "support.class";
382
+ }
383
+ this.next = "";
384
+ return "string";
385
+ },
386
+ regex: ".*$",
387
+ next: "start"
388
+ }]
389
+ }
390
+ }, {
391
+ regex: "$",
392
+ token: "empty",
393
+ next: function (currentState, stack) {
394
+ if (stack[0] === "heredoc")
395
+ return stack[0];
396
+ return currentState;
397
+ }
398
+ }, {
399
+ token: "punctuation.operator",
400
+ regex: /[.]\s*(?![.])/,
401
+ push: [{
402
+ token : "punctuation.operator",
403
+ regex : /[.]\s*(?![.])/
404
+ }, {
405
+ token : "support.function",
406
+ regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
407
+ }, {
408
+ regex: "",
409
+ token: "empty",
410
+ next: "pop"
411
+ }]
412
+ }, {
413
+ token: "keyword.operator",
414
+ regex: "!|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|\\?|\\:|&&|\\|\\||\\?\\:|\\*=|%=|\\+=|\\-=|&=|\\^=|\\^|\\|"
415
+ }, {
416
+ token: "punctuation.operator",
417
+ regex: /[?:,;.]/
418
+ }, {
419
+ token: "paren.lparen",
420
+ regex: "[[({]"
421
+ }, {
422
+ token: "paren.rparen",
423
+ regex: "[\\])}]"
424
+ }, {
425
+ token: "text",
426
+ regex: "\\s+"
427
+ }
428
+ ]
429
+ };
430
+
431
+ this.normalizeRules();
432
+ };
433
+
434
+ oop.inherits(CrystalHighlightRules, TextHighlightRules);
435
+
436
+ exports.CrystalHighlightRules = CrystalHighlightRules;
437
+ });
438
+
439
+ define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"], function(require, exports, module) {
440
+ "use strict";
441
+
442
+ var Range = require("../range").Range;
443
+
444
+ var MatchingBraceOutdent = function() {};
445
+
446
+ (function() {
447
+
448
+ this.checkOutdent = function(line, input) {
449
+ if (! /^\s+$/.test(line))
450
+ return false;
451
+
452
+ return /^\s*\}/.test(input);
453
+ };
454
+
455
+ this.autoOutdent = function(doc, row) {
456
+ var line = doc.getLine(row);
457
+ var match = line.match(/^(\s*\})/);
458
+
459
+ if (!match) return 0;
460
+
461
+ var column = match[1].length;
462
+ var openBracePos = doc.findMatchingBracket({row: row, column: column});
463
+
464
+ if (!openBracePos || openBracePos.row == row) return 0;
465
+
466
+ var indent = this.$getIndent(doc.getLine(openBracePos.row));
467
+ doc.replace(new Range(row, 0, row, column-1), indent);
468
+ };
469
+
470
+ this.$getIndent = function(line) {
471
+ return line.match(/^\s*/)[0];
472
+ };
473
+
474
+ }).call(MatchingBraceOutdent.prototype);
475
+
476
+ exports.MatchingBraceOutdent = MatchingBraceOutdent;
477
+ });
478
+
479
+ define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"], function(require, exports, module) {
480
+ "use strict";
481
+
482
+ var oop = require("../../lib/oop");
483
+ var BaseFoldMode = require("./fold_mode").FoldMode;
484
+ var Range = require("../../range").Range;
485
+
486
+ var FoldMode = exports.FoldMode = function() {};
487
+ oop.inherits(FoldMode, BaseFoldMode);
488
+
489
+ (function() {
490
+
491
+ this.getFoldWidgetRange = function(session, foldStyle, row) {
492
+ var range = this.indentationBlock(session, row);
493
+ if (range)
494
+ return range;
495
+
496
+ var re = /\S/;
497
+ var line = session.getLine(row);
498
+ var startLevel = line.search(re);
499
+ if (startLevel == -1 || line[startLevel] != "#")
500
+ return;
501
+
502
+ var startColumn = line.length;
503
+ var maxRow = session.getLength();
504
+ var startRow = row;
505
+ var endRow = row;
506
+
507
+ while (++row < maxRow) {
508
+ line = session.getLine(row);
509
+ var level = line.search(re);
510
+
511
+ if (level == -1)
512
+ continue;
513
+
514
+ if (line[level] != "#")
515
+ break;
516
+
517
+ endRow = row;
518
+ }
519
+
520
+ if (endRow > startRow) {
521
+ var endColumn = session.getLine(endRow).length;
522
+ return new Range(startRow, startColumn, endRow, endColumn);
523
+ }
524
+ };
525
+ this.getFoldWidget = function(session, foldStyle, row) {
526
+ var line = session.getLine(row);
527
+ var indent = line.search(/\S/);
528
+ var next = session.getLine(row + 1);
529
+ var prev = session.getLine(row - 1);
530
+ var prevIndent = prev.search(/\S/);
531
+ var nextIndent = next.search(/\S/);
532
+
533
+ if (indent == -1) {
534
+ session.foldWidgets[row - 1] = prevIndent!= -1 && prevIndent < nextIndent ? "start" : "";
535
+ return "";
536
+ }
537
+ if (prevIndent == -1) {
538
+ if (indent == nextIndent && line[indent] == "#" && next[indent] == "#") {
539
+ session.foldWidgets[row - 1] = "";
540
+ session.foldWidgets[row + 1] = "";
541
+ return "start";
542
+ }
543
+ } else if (prevIndent == indent && line[indent] == "#" && prev[indent] == "#") {
544
+ if (session.getLine(row - 2).search(/\S/) == -1) {
545
+ session.foldWidgets[row - 1] = "start";
546
+ session.foldWidgets[row + 1] = "";
547
+ return "";
548
+ }
549
+ }
550
+
551
+ if (prevIndent!= -1 && prevIndent < indent)
552
+ session.foldWidgets[row - 1] = "start";
553
+ else
554
+ session.foldWidgets[row - 1] = "";
555
+
556
+ if (indent < nextIndent)
557
+ return "start";
558
+ else
559
+ return "";
560
+ };
561
+
562
+ }).call(FoldMode.prototype);
563
+
564
+ });
565
+
566
+ define("ace/mode/crystal",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/crystal_highlight_rules","ace/mode/matching_brace_outdent","ace/range","ace/mode/behaviour/cstyle","ace/mode/folding/coffee"], function(require, exports, module) {
567
+ "use strict";
568
+
569
+ var oop = require("../lib/oop");
570
+ var TextMode = require("./text").Mode;
571
+ var CrystalHighlightRules = require("./crystal_highlight_rules").CrystalHighlightRules;
572
+ var MatchingBraceOutdent = require("./matching_brace_outdent").MatchingBraceOutdent;
573
+ var Range = require("../range").Range;
574
+ var CstyleBehaviour = require("./behaviour/cstyle").CstyleBehaviour;
575
+ var FoldMode = require("./folding/coffee").FoldMode;
576
+
577
+ var Mode = function() {
578
+ this.HighlightRules = CrystalHighlightRules;
579
+ this.$outdent = new MatchingBraceOutdent();
580
+ this.$behaviour = new CstyleBehaviour();
581
+ this.foldingRules = new FoldMode();
582
+ };
583
+ oop.inherits(Mode, TextMode);
584
+
585
+ (function() {
586
+
587
+
588
+ this.lineCommentStart = "#";
589
+
590
+ this.getNextLineIndent = function(state, line, tab) {
591
+ var indent = this.$getIndent(line);
592
+
593
+ var tokenizedLine = this.getTokenizer().getLineTokens(line, state);
594
+ var tokens = tokenizedLine.tokens;
595
+
596
+ if (tokens.length && tokens[tokens.length-1].type == "comment") {
597
+ return indent;
598
+ }
599
+
600
+ if (state == "start") {
601
+ var match = line.match(/^.*[\{\(\[]\s*$/);
602
+ var startingClassOrMethod = line.match(/^\s*(class|def|module)\s.*$/);
603
+ var startingDoBlock = line.match(/.*do(\s*|\s+\|.*\|\s*)$/);
604
+ var startingConditional = line.match(/^\s*(if|else|when)\s*/);
605
+ if (match || startingClassOrMethod || startingDoBlock || startingConditional) {
606
+ indent += tab;
607
+ }
608
+ }
609
+
610
+ return indent;
611
+ };
612
+
613
+ this.checkOutdent = function(state, line, input) {
614
+ return /^\s+(end|else)$/.test(line + input) || this.$outdent.checkOutdent(line, input);
615
+ };
616
+
617
+ this.autoOutdent = function(state, session, row) {
618
+ var line = session.getLine(row);
619
+ if (/}/.test(line))
620
+ return this.$outdent.autoOutdent(session, row);
621
+ var indent = this.$getIndent(line);
622
+ var prevLine = session.getLine(row - 1);
623
+ var prevIndent = this.$getIndent(prevLine);
624
+ var tab = session.getTabString();
625
+ if (prevIndent.length <= indent.length) {
626
+ if (indent.slice(-tab.length) == tab)
627
+ session.remove(new Range(row, indent.length-tab.length, row, indent.length));
628
+ }
629
+ };
630
+
631
+ this.$id = "ace/mode/crystal";
632
+ }).call(Mode.prototype);
633
+
634
+ exports.Mode = Mode;
635
+ }); (function() {
636
+ window.require(["ace/mode/crystal"], function(m) {
637
+ if (typeof module == "object" && typeof exports == "object" && module) {
638
+ module.exports = m;
639
+ }
640
+ });
641
+ })();
642
+