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,279 +0,0 @@
|
|
1
|
-
/* ***** BEGIN LICENSE BLOCK *****
|
2
|
-
* Distributed under the BSD license:
|
3
|
-
*
|
4
|
-
* Copyright (c) 2012, 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
|
-
*
|
30
|
-
* Contributor(s):
|
31
|
-
*
|
32
|
-
*
|
33
|
-
*
|
34
|
-
* ***** END LICENSE BLOCK ***** */
|
35
|
-
|
36
|
-
define('ace/mode/dart', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/dart_highlight_rules', 'ace/mode/folding/cstyle'], function(require, exports, module) {
|
37
|
-
|
38
|
-
|
39
|
-
var oop = require("../lib/oop");
|
40
|
-
var TextMode = require("./text").Mode;
|
41
|
-
var Tokenizer = require("../tokenizer").Tokenizer;
|
42
|
-
var DartHighlightRules = require("./dart_highlight_rules").DartHighlightRules;
|
43
|
-
var CStyleFoldMode = require("./folding/cstyle").FoldMode;
|
44
|
-
|
45
|
-
var Mode = function() {
|
46
|
-
var highlighter = new DartHighlightRules();
|
47
|
-
this.foldingRules = new CStyleFoldMode();
|
48
|
-
|
49
|
-
this.$tokenizer = new Tokenizer(highlighter.getRules());
|
50
|
-
};
|
51
|
-
oop.inherits(Mode, TextMode);
|
52
|
-
|
53
|
-
(function() {
|
54
|
-
}).call(Mode.prototype);
|
55
|
-
|
56
|
-
exports.Mode = Mode;
|
57
|
-
});
|
58
|
-
|
59
|
-
|
60
|
-
define('ace/mode/dart_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text_highlight_rules'], function(require, exports, module) {
|
61
|
-
|
62
|
-
|
63
|
-
var oop = require("../lib/oop");
|
64
|
-
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
65
|
-
|
66
|
-
var DartHighlightRules = function() {
|
67
|
-
|
68
|
-
var constantLanguage = "true|false|null";
|
69
|
-
var variableLanguage = "this|super";
|
70
|
-
var keywordControl = "try|catch|finally|throw|break|case|continue|default|do|else|for|if|in|return|switch|while|new";
|
71
|
-
var keywordDeclaration = "abstract|class|extends|external|factory|implements|interface|get|native|operator|set|typedef";
|
72
|
-
var storageModifier = "static|final|const";
|
73
|
-
var storageType = "void|bool|num|int|double|Dynamic|var|String";
|
74
|
-
|
75
|
-
var keywordMapper = this.createKeywordMapper({
|
76
|
-
"constant.language.dart": constantLanguage,
|
77
|
-
"variable.language.dart": variableLanguage,
|
78
|
-
"keyword.control.dart": keywordControl,
|
79
|
-
"keyword.declaration.dart": keywordDeclaration,
|
80
|
-
"storage.modifier.dart": storageModifier,
|
81
|
-
"storage.type.primitive.dart": storageType
|
82
|
-
}, "identifier");
|
83
|
-
|
84
|
-
var stringfill = {
|
85
|
-
token : "string",
|
86
|
-
regex : ".+"
|
87
|
-
};
|
88
|
-
|
89
|
-
this.$rules =
|
90
|
-
{
|
91
|
-
"start": [
|
92
|
-
{
|
93
|
-
"token" : "comment",
|
94
|
-
"regex" : /\/\/.*$/
|
95
|
-
},
|
96
|
-
{
|
97
|
-
"token" : "comment", // multi line comment
|
98
|
-
"regex" : /\/\*/,
|
99
|
-
"next" : "comment"
|
100
|
-
},
|
101
|
-
{
|
102
|
-
"token": ["meta.preprocessor.script.dart"],
|
103
|
-
"regex": "^(#!.*)$"
|
104
|
-
},
|
105
|
-
{
|
106
|
-
"token": [ "keyword.other.import.dart", "meta.declaration.dart"],
|
107
|
-
"regex": "#(?:\\b)(?:library|import|source|resource)(?:\\b)"
|
108
|
-
},
|
109
|
-
{
|
110
|
-
"token" : ["keyword.other.import.dart", "text"],
|
111
|
-
"regex" : "(?:\\b)(prefix)(\\s*:)"
|
112
|
-
},
|
113
|
-
{
|
114
|
-
"regex": "\\bas\\b",
|
115
|
-
"token": "keyword.cast.dart"
|
116
|
-
},
|
117
|
-
{
|
118
|
-
"regex": "\\?|:",
|
119
|
-
"token": "keyword.control.ternary.dart"
|
120
|
-
},
|
121
|
-
{
|
122
|
-
"regex": "(?:\\b)(is\\!?)(?:\\b)",
|
123
|
-
"token": ["keyword.operator.dart"]
|
124
|
-
},
|
125
|
-
{
|
126
|
-
"regex": "(<<|>>>?|~|\\^|\\||&)",
|
127
|
-
"token": ["keyword.operator.bitwise.dart"]
|
128
|
-
},
|
129
|
-
{
|
130
|
-
"regex": "((?:&|\\^|\\||<<|>>>?)=)",
|
131
|
-
"token": ["keyword.operator.assignment.bitwise.dart"]
|
132
|
-
},
|
133
|
-
{
|
134
|
-
"regex": "(===?|!==?|<=?|>=?)",
|
135
|
-
"token": ["keyword.operator.comparison.dart"]
|
136
|
-
},
|
137
|
-
{
|
138
|
-
"regex": "((?:[+*/%-]|\\~)=)",
|
139
|
-
"token": ["keyword.operator.assignment.arithmetic.dart"]
|
140
|
-
},
|
141
|
-
{
|
142
|
-
"regex": "=",
|
143
|
-
"token": "keyword.operator.assignment.dart"
|
144
|
-
},
|
145
|
-
{
|
146
|
-
"token" : "string",
|
147
|
-
"regex" : "'''",
|
148
|
-
"next" : "qdoc"
|
149
|
-
},
|
150
|
-
{
|
151
|
-
"token" : "string",
|
152
|
-
"regex" : '"""',
|
153
|
-
"next" : "qqdoc"
|
154
|
-
},
|
155
|
-
{
|
156
|
-
"token" : "string",
|
157
|
-
"regex" : "'",
|
158
|
-
"next" : "qstring"
|
159
|
-
},
|
160
|
-
{
|
161
|
-
"token" : "string",
|
162
|
-
"regex" : '"',
|
163
|
-
"next" : "qqstring"
|
164
|
-
},
|
165
|
-
{
|
166
|
-
"regex": "(\\-\\-|\\+\\+)",
|
167
|
-
"token": ["keyword.operator.increment-decrement.dart"]
|
168
|
-
},
|
169
|
-
{
|
170
|
-
"regex": "(\\-|\\+|\\*|\\/|\\~\\/|%)",
|
171
|
-
"token": ["keyword.operator.arithmetic.dart"]
|
172
|
-
},
|
173
|
-
{
|
174
|
-
"regex": "(!|&&|\\|\\|)",
|
175
|
-
"token": ["keyword.operator.logical.dart"]
|
176
|
-
},
|
177
|
-
{
|
178
|
-
"token" : "constant.numeric", // hex
|
179
|
-
"regex" : "0[xX][0-9a-fA-F]+\\b"
|
180
|
-
},
|
181
|
-
{
|
182
|
-
"token" : "constant.numeric", // float
|
183
|
-
"regex" : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"
|
184
|
-
},
|
185
|
-
{
|
186
|
-
"token" : keywordMapper,
|
187
|
-
"regex" : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
|
188
|
-
}
|
189
|
-
],
|
190
|
-
"comment" : [
|
191
|
-
{
|
192
|
-
token : "comment", // closing comment
|
193
|
-
regex : ".*?\\*\\/",
|
194
|
-
next : "start"
|
195
|
-
}, {
|
196
|
-
token : "comment", // comment spanning whole line
|
197
|
-
regex : ".+"
|
198
|
-
}
|
199
|
-
],
|
200
|
-
"qdoc" : [
|
201
|
-
{
|
202
|
-
"token" : "string",
|
203
|
-
"regex" : ".*?'''",
|
204
|
-
"next" : "start"
|
205
|
-
}, stringfill],
|
206
|
-
|
207
|
-
"qqdoc" : [
|
208
|
-
{
|
209
|
-
"token" : "string",
|
210
|
-
"regex" : '.*?"""',
|
211
|
-
"next" : "start"
|
212
|
-
}, stringfill],
|
213
|
-
|
214
|
-
"qstring" : [
|
215
|
-
{
|
216
|
-
"token" : "string",
|
217
|
-
"regex" : "[^\\\\']*(?:\\\\.[^\\\\']*)*'",
|
218
|
-
"next" : "start"
|
219
|
-
}, stringfill],
|
220
|
-
|
221
|
-
"qqstring" : [
|
222
|
-
{
|
223
|
-
"token" : "string",
|
224
|
-
"regex" : '[^\\\\"]*(?:\\\\.[^\\\\"]*)*"',
|
225
|
-
"next" : "start"
|
226
|
-
}, stringfill]
|
227
|
-
}
|
228
|
-
|
229
|
-
};
|
230
|
-
|
231
|
-
oop.inherits(DartHighlightRules, TextHighlightRules);
|
232
|
-
|
233
|
-
exports.DartHighlightRules = DartHighlightRules;
|
234
|
-
});
|
235
|
-
|
236
|
-
define('ace/mode/folding/cstyle', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/range', 'ace/mode/folding/fold_mode'], function(require, exports, module) {
|
237
|
-
|
238
|
-
|
239
|
-
var oop = require("../../lib/oop");
|
240
|
-
var Range = require("../../range").Range;
|
241
|
-
var BaseFoldMode = require("./fold_mode").FoldMode;
|
242
|
-
|
243
|
-
var FoldMode = exports.FoldMode = function() {};
|
244
|
-
oop.inherits(FoldMode, BaseFoldMode);
|
245
|
-
|
246
|
-
(function() {
|
247
|
-
|
248
|
-
this.foldingStartMarker = /(\{|\[)[^\}\]]*$|^\s*(\/\*)/;
|
249
|
-
this.foldingStopMarker = /^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/;
|
250
|
-
|
251
|
-
this.getFoldWidgetRange = function(session, foldStyle, row) {
|
252
|
-
var line = session.getLine(row);
|
253
|
-
var match = line.match(this.foldingStartMarker);
|
254
|
-
if (match) {
|
255
|
-
var i = match.index;
|
256
|
-
|
257
|
-
if (match[1])
|
258
|
-
return this.openingBracketBlock(session, match[1], row, i);
|
259
|
-
|
260
|
-
return session.getCommentFoldRange(row, i + match[0].length, 1);
|
261
|
-
}
|
262
|
-
|
263
|
-
if (foldStyle !== "markbeginend")
|
264
|
-
return;
|
265
|
-
|
266
|
-
var match = line.match(this.foldingStopMarker);
|
267
|
-
if (match) {
|
268
|
-
var i = match.index + match[0].length;
|
269
|
-
|
270
|
-
if (match[1])
|
271
|
-
return this.closingBracketBlock(session, match[1], row, i);
|
272
|
-
|
273
|
-
return session.getCommentFoldRange(row, i, -1);
|
274
|
-
}
|
275
|
-
};
|
276
|
-
|
277
|
-
}).call(FoldMode.prototype);
|
278
|
-
|
279
|
-
});
|
@@ -1,163 +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/mode/diff', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/diff_highlight_rules', 'ace/mode/folding/diff'], function(require, exports, module) {
|
32
|
-
|
33
|
-
|
34
|
-
var oop = require("../lib/oop");
|
35
|
-
var TextMode = require("./text").Mode;
|
36
|
-
var Tokenizer = require("../tokenizer").Tokenizer;
|
37
|
-
var HighlightRules = require("./diff_highlight_rules").DiffHighlightRules;
|
38
|
-
var FoldMode = require("./folding/diff").FoldMode;
|
39
|
-
|
40
|
-
var Mode = function() {
|
41
|
-
this.$tokenizer = new Tokenizer(new HighlightRules().getRules(), "i");
|
42
|
-
this.foldingRules = new FoldMode(["diff", "index", "\\+{3}", "@@|\\*{5}"], "i");
|
43
|
-
};
|
44
|
-
oop.inherits(Mode, TextMode);
|
45
|
-
|
46
|
-
(function() {
|
47
|
-
|
48
|
-
}).call(Mode.prototype);
|
49
|
-
|
50
|
-
exports.Mode = Mode;
|
51
|
-
|
52
|
-
});
|
53
|
-
|
54
|
-
define('ace/mode/diff_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text_highlight_rules'], function(require, exports, module) {
|
55
|
-
|
56
|
-
|
57
|
-
var oop = require("../lib/oop");
|
58
|
-
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
59
|
-
|
60
|
-
var DiffHighlightRules = function() {
|
61
|
-
|
62
|
-
this.$rules = {
|
63
|
-
"start" : [{
|
64
|
-
"regex": "^(?:\\*{15}|={67}|-{3}|\\+{3})$",
|
65
|
-
"token": "punctuation.definition.separator.diff",
|
66
|
-
"name": "keyword"
|
67
|
-
}, { //diff.range.unified
|
68
|
-
"regex": "^(@@)(\\s*.+?\\s*)(@@)(.*)$",
|
69
|
-
"token": [
|
70
|
-
"constant",
|
71
|
-
"constant.numeric",
|
72
|
-
"constant",
|
73
|
-
"comment.doc.tag"
|
74
|
-
]
|
75
|
-
}, { //diff.range.normal
|
76
|
-
"regex": "^(\\d+)([,\\d]+)(a|d|c)(\\d+)([,\\d]+)(.*)$",
|
77
|
-
"token": [
|
78
|
-
"constant.numeric",
|
79
|
-
"punctuation.definition.range.diff",
|
80
|
-
"constant.function",
|
81
|
-
"constant.numeric",
|
82
|
-
"punctuation.definition.range.diff",
|
83
|
-
"invalid"
|
84
|
-
],
|
85
|
-
"name": "meta."
|
86
|
-
}, {
|
87
|
-
"regex": "^(?:(\\-{3}|\\+{3}|\\*{3})( .+))$",
|
88
|
-
"token": [
|
89
|
-
"constant.numeric",
|
90
|
-
"meta.tag"
|
91
|
-
]
|
92
|
-
}, { // added
|
93
|
-
"regex": "^([!+>])(.*?)(\\s*)$",
|
94
|
-
"token": [
|
95
|
-
"support.constant",
|
96
|
-
"text",
|
97
|
-
"invalid"
|
98
|
-
]
|
99
|
-
}, { // removed
|
100
|
-
"regex": "^([<\\-])(.*?)(\\s*)$",
|
101
|
-
"token": [
|
102
|
-
"support.function",
|
103
|
-
"string",
|
104
|
-
"invalid"
|
105
|
-
]
|
106
|
-
}, {
|
107
|
-
"regex": "^(diff)(\\s+--\\w+)?(.+?)( .+)?$",
|
108
|
-
"token": ["variable", "variable", "keyword", "variable"]
|
109
|
-
}, {
|
110
|
-
"regex": "^Index.+$",
|
111
|
-
"token": "variable"
|
112
|
-
}, {
|
113
|
-
"regex": "^(.*?)(\\s*)$",
|
114
|
-
"token": ["invisible", "invalid"]
|
115
|
-
}
|
116
|
-
]
|
117
|
-
};
|
118
|
-
};
|
119
|
-
|
120
|
-
oop.inherits(DiffHighlightRules, TextHighlightRules);
|
121
|
-
|
122
|
-
exports.DiffHighlightRules = DiffHighlightRules;
|
123
|
-
});
|
124
|
-
|
125
|
-
define('ace/mode/folding/diff', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/folding/fold_mode', 'ace/range'], function(require, exports, module) {
|
126
|
-
|
127
|
-
|
128
|
-
var oop = require("../../lib/oop");
|
129
|
-
var BaseFoldMode = require("./fold_mode").FoldMode;
|
130
|
-
var Range = require("../../range").Range;
|
131
|
-
|
132
|
-
var FoldMode = exports.FoldMode = function(levels, flag) {
|
133
|
-
this.regExpList = levels;
|
134
|
-
this.flag = flag;
|
135
|
-
this.foldingStartMarker = RegExp("^(" + levels.join("|") + ")", this.flag);
|
136
|
-
};
|
137
|
-
oop.inherits(FoldMode, BaseFoldMode);
|
138
|
-
|
139
|
-
(function() {
|
140
|
-
this.getFoldWidgetRange = function(session, foldStyle, row) {
|
141
|
-
var line = session.getLine(row);
|
142
|
-
var start = {row: row, column: line.length};
|
143
|
-
|
144
|
-
var regList = this.regExpList;
|
145
|
-
for (var i = 1; i <= regList.length; i++) {
|
146
|
-
var re = RegExp("^(" + regList.slice(0, i).join("|") + ")", this.flag);
|
147
|
-
if (re.test(line))
|
148
|
-
break;
|
149
|
-
}
|
150
|
-
|
151
|
-
for (var l = session.getLength(); ++row < l; ) {
|
152
|
-
line = session.getLine(row);
|
153
|
-
if (re.test(line))
|
154
|
-
break;
|
155
|
-
}
|
156
|
-
if (row == start.row + 1)
|
157
|
-
return;
|
158
|
-
return Range.fromPoints(start, {row: row - 1, column: line.length});
|
159
|
-
};
|
160
|
-
|
161
|
-
}).call(FoldMode.prototype);
|
162
|
-
|
163
|
-
});
|
@@ -1,348 +0,0 @@
|
|
1
|
-
define('ace/mode/dot', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/matching_brace_outdent', 'ace/mode/dot_highlight_rules', 'ace/mode/folding/cstyle'], function(require, exports, module) {
|
2
|
-
|
3
|
-
|
4
|
-
var oop = require("../lib/oop");
|
5
|
-
var TextMode = require("./text").Mode;
|
6
|
-
var Tokenizer = require("../tokenizer").Tokenizer;
|
7
|
-
var MatchingBraceOutdent = require("./matching_brace_outdent").MatchingBraceOutdent;
|
8
|
-
var DotHighlightRules = require("./dot_highlight_rules").DotHighlightRules;
|
9
|
-
var DotFoldMode = require("./folding/cstyle").FoldMode;
|
10
|
-
|
11
|
-
var Mode = function() {
|
12
|
-
var highlighter = new DotHighlightRules();
|
13
|
-
this.$outdent = new MatchingBraceOutdent();
|
14
|
-
this.foldingRules = new DotFoldMode();
|
15
|
-
this.$tokenizer = new Tokenizer(highlighter.getRules());
|
16
|
-
};
|
17
|
-
oop.inherits(Mode, TextMode);
|
18
|
-
|
19
|
-
(function() {
|
20
|
-
|
21
|
-
this.toggleCommentLines = function(state, doc, startRow, endRow) {
|
22
|
-
var outdent = true;
|
23
|
-
var re = /^(\s*)\/\//;
|
24
|
-
|
25
|
-
for (var i=startRow; i<= endRow; i++) {
|
26
|
-
if (!re.test(doc.getLine(i))) {
|
27
|
-
outdent = false;
|
28
|
-
break;
|
29
|
-
}
|
30
|
-
}
|
31
|
-
|
32
|
-
if (outdent) {
|
33
|
-
var deleteRange = new Range(0, 0, 0, 0);
|
34
|
-
for (var i=startRow; i<= endRow; i++)
|
35
|
-
{
|
36
|
-
var line = doc.getLine(i);
|
37
|
-
var m = line.match(re);
|
38
|
-
deleteRange.start.row = i;
|
39
|
-
deleteRange.end.row = i;
|
40
|
-
deleteRange.end.column = m[0].length;
|
41
|
-
doc.replace(deleteRange, m[1]);
|
42
|
-
}
|
43
|
-
}
|
44
|
-
else {
|
45
|
-
doc.indentRows(startRow, endRow, "//");
|
46
|
-
}
|
47
|
-
};
|
48
|
-
|
49
|
-
this.getNextLineIndent = function(state, line, tab) {
|
50
|
-
var indent = this.$getIndent(line);
|
51
|
-
|
52
|
-
var tokenizedLine = this.$tokenizer.getLineTokens(line, state);
|
53
|
-
var tokens = tokenizedLine.tokens;
|
54
|
-
var endState = tokenizedLine.state;
|
55
|
-
|
56
|
-
if (tokens.length && tokens[tokens.length-1].type == "comment") {
|
57
|
-
return indent;
|
58
|
-
}
|
59
|
-
|
60
|
-
if (state == "start") {
|
61
|
-
var match = line.match(/^.*(?:\bcase\b.*\:|[\{\(\[])\s*$/);
|
62
|
-
if (match) {
|
63
|
-
indent += tab;
|
64
|
-
}
|
65
|
-
}
|
66
|
-
|
67
|
-
return indent;
|
68
|
-
};
|
69
|
-
|
70
|
-
this.checkOutdent = function(state, line, input) {
|
71
|
-
return this.$outdent.checkOutdent(line, input);
|
72
|
-
};
|
73
|
-
|
74
|
-
this.autoOutdent = function(state, doc, row) {
|
75
|
-
this.$outdent.autoOutdent(doc, row);
|
76
|
-
};
|
77
|
-
|
78
|
-
}).call(Mode.prototype);
|
79
|
-
|
80
|
-
exports.Mode = Mode;
|
81
|
-
});
|
82
|
-
|
83
|
-
define('ace/mode/matching_brace_outdent', ['require', 'exports', 'module' , 'ace/range'], function(require, exports, module) {
|
84
|
-
|
85
|
-
|
86
|
-
var Range = require("../range").Range;
|
87
|
-
|
88
|
-
var MatchingBraceOutdent = function() {};
|
89
|
-
|
90
|
-
(function() {
|
91
|
-
|
92
|
-
this.checkOutdent = function(line, input) {
|
93
|
-
if (! /^\s+$/.test(line))
|
94
|
-
return false;
|
95
|
-
|
96
|
-
return /^\s*\}/.test(input);
|
97
|
-
};
|
98
|
-
|
99
|
-
this.autoOutdent = function(doc, row) {
|
100
|
-
var line = doc.getLine(row);
|
101
|
-
var match = line.match(/^(\s*\})/);
|
102
|
-
|
103
|
-
if (!match) return 0;
|
104
|
-
|
105
|
-
var column = match[1].length;
|
106
|
-
var openBracePos = doc.findMatchingBracket({row: row, column: column});
|
107
|
-
|
108
|
-
if (!openBracePos || openBracePos.row == row) return 0;
|
109
|
-
|
110
|
-
var indent = this.$getIndent(doc.getLine(openBracePos.row));
|
111
|
-
doc.replace(new Range(row, 0, row, column-1), indent);
|
112
|
-
};
|
113
|
-
|
114
|
-
this.$getIndent = function(line) {
|
115
|
-
var match = line.match(/^(\s+)/);
|
116
|
-
if (match) {
|
117
|
-
return match[1];
|
118
|
-
}
|
119
|
-
|
120
|
-
return "";
|
121
|
-
};
|
122
|
-
|
123
|
-
}).call(MatchingBraceOutdent.prototype);
|
124
|
-
|
125
|
-
exports.MatchingBraceOutdent = MatchingBraceOutdent;
|
126
|
-
});
|
127
|
-
define('ace/mode/dot_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/lib/lang', 'ace/mode/text_highlight_rules', 'ace/mode/doc_comment_highlight_rules'], function(require, exports, module) {
|
128
|
-
|
129
|
-
|
130
|
-
var oop = require("../lib/oop");
|
131
|
-
var lang = require("../lib/lang");
|
132
|
-
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
133
|
-
var DocCommentHighlightRules = require("./doc_comment_highlight_rules").DocCommentHighlightRules;
|
134
|
-
|
135
|
-
var DotHighlightRules = function() {
|
136
|
-
|
137
|
-
var keywords = lang.arrayToMap(
|
138
|
-
("strict|node|edge|graph|digraph|subgraph").split("|")
|
139
|
-
);
|
140
|
-
|
141
|
-
var attributes = lang.arrayToMap(
|
142
|
-
("damping|k|url|area|arrowhead|arrowsize|arrowtail|aspect|bb|bgcolor|center|charset|clusterrank|color|colorscheme|comment|compound|concentrate|constraint|decorate|defaultdist|dim|dimen|dir|diredgeconstraints|distortion|dpi|edgeurl|edgehref|edgetarget|edgetooltip|epsilon|esep|fillcolor|fixedsize|fontcolor|fontname|fontnames|fontpath|fontsize|forcelabels|gradientangle|group|headurl|head_lp|headclip|headhref|headlabel|headport|headtarget|headtooltip|height|href|id|image|imagepath|imagescale|label|labelurl|label_scheme|labelangle|labeldistance|labelfloat|labelfontcolor|labelfontname|labelfontsize|labelhref|labeljust|labelloc|labeltarget|labeltooltip|landscape|layer|layerlistsep|layers|layerselect|layersep|layout|len|levels|levelsgap|lhead|lheight|lp|ltail|lwidth|margin|maxiter|mclimit|mindist|minlen|mode|model|mosek|nodesep|nojustify|normalize|nslimit|nslimit1|ordering|orientation|outputorder|overlap|overlap_scaling|pack|packmode|pad|page|pagedir|pencolor|penwidth|peripheries|pin|pos|quadtree|quantum|rank|rankdir|ranksep|ratio|rects|regular|remincross|repulsiveforce|resolution|root|rotate|rotation|samehead|sametail|samplepoints|scale|searchsize|sep|shape|shapefile|showboxes|sides|size|skew|smoothing|sortv|splines|start|style|stylesheet|tailurl|tail_lp|tailclip|tailhref|taillabel|tailport|tailtarget|tailtooltip|target|tooltip|truecolor|vertices|viewport|voro_margin|weight|width|xlabel|xlp|z").split("|")
|
143
|
-
);
|
144
|
-
|
145
|
-
this.$rules = {
|
146
|
-
"start" : [
|
147
|
-
{
|
148
|
-
token : "comment",
|
149
|
-
regex : /\/\/.*$/
|
150
|
-
}, {
|
151
|
-
token : "comment",
|
152
|
-
regex : /#.*$/
|
153
|
-
}, {
|
154
|
-
token : "comment", // multi line comment
|
155
|
-
merge : true,
|
156
|
-
regex : /\/\*/,
|
157
|
-
next : "comment"
|
158
|
-
}, {
|
159
|
-
token : "string",
|
160
|
-
regex : "'(?=.)",
|
161
|
-
next : "qstring"
|
162
|
-
}, {
|
163
|
-
token : "string",
|
164
|
-
regex : '"(?=.)',
|
165
|
-
next : "qqstring"
|
166
|
-
}, {
|
167
|
-
token : "constant.numeric",
|
168
|
-
regex : /[+\-]?\d+(?:(?:\.\d*)?(?:[eE][+\-]?\d+)?)?\b/
|
169
|
-
}, {
|
170
|
-
token : "keyword.operator",
|
171
|
-
regex : /\+|=|\->/
|
172
|
-
}, {
|
173
|
-
token : "punctuation.operator",
|
174
|
-
regex : /,|;/
|
175
|
-
}, {
|
176
|
-
token : "paren.lparen",
|
177
|
-
regex : /[\[{]/
|
178
|
-
}, {
|
179
|
-
token : "paren.rparen",
|
180
|
-
regex : /[\]}]/
|
181
|
-
}, {
|
182
|
-
token: "comment",
|
183
|
-
regex: /^#!.*$/
|
184
|
-
}, {
|
185
|
-
token: function(value) {
|
186
|
-
if (keywords.hasOwnProperty(value.toLowerCase())) {
|
187
|
-
return "keyword";
|
188
|
-
}
|
189
|
-
else if (attributes.hasOwnProperty(value.toLowerCase())) {
|
190
|
-
return "variable";
|
191
|
-
}
|
192
|
-
else {
|
193
|
-
return "text";
|
194
|
-
}
|
195
|
-
},
|
196
|
-
regex: "\\-?[a-zA-Z_][a-zA-Z0-9_\\-]*"
|
197
|
-
}
|
198
|
-
],
|
199
|
-
"comment" : [
|
200
|
-
{
|
201
|
-
token : "comment", // closing comment
|
202
|
-
regex : ".*?\\*\\/",
|
203
|
-
merge : true,
|
204
|
-
next : "start"
|
205
|
-
}, {
|
206
|
-
token : "comment", // comment spanning whole line
|
207
|
-
merge : true,
|
208
|
-
regex : ".+"
|
209
|
-
}
|
210
|
-
],
|
211
|
-
"qqstring" : [
|
212
|
-
{
|
213
|
-
token : "string",
|
214
|
-
regex : '[^"\\\\]+',
|
215
|
-
merge : true
|
216
|
-
}, {
|
217
|
-
token : "string",
|
218
|
-
regex : "\\\\$",
|
219
|
-
next : "qqstring",
|
220
|
-
merge : true
|
221
|
-
}, {
|
222
|
-
token : "string",
|
223
|
-
regex : '"|$',
|
224
|
-
next : "start",
|
225
|
-
merge : true
|
226
|
-
}
|
227
|
-
],
|
228
|
-
"qstring" : [
|
229
|
-
{
|
230
|
-
token : "string",
|
231
|
-
regex : "[^'\\\\]+",
|
232
|
-
merge : true
|
233
|
-
}, {
|
234
|
-
token : "string",
|
235
|
-
regex : "\\\\$",
|
236
|
-
next : "qstring",
|
237
|
-
merge : true
|
238
|
-
}, {
|
239
|
-
token : "string",
|
240
|
-
regex : "'|$",
|
241
|
-
next : "start",
|
242
|
-
merge : true
|
243
|
-
}
|
244
|
-
]
|
245
|
-
};
|
246
|
-
};
|
247
|
-
|
248
|
-
oop.inherits(DotHighlightRules, TextHighlightRules);
|
249
|
-
|
250
|
-
exports.DotHighlightRules = DotHighlightRules;
|
251
|
-
|
252
|
-
});
|
253
|
-
|
254
|
-
define('ace/mode/doc_comment_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text_highlight_rules'], function(require, exports, module) {
|
255
|
-
|
256
|
-
|
257
|
-
var oop = require("../lib/oop");
|
258
|
-
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
259
|
-
|
260
|
-
var DocCommentHighlightRules = function() {
|
261
|
-
|
262
|
-
this.$rules = {
|
263
|
-
"start" : [ {
|
264
|
-
token : "comment.doc.tag",
|
265
|
-
regex : "@[\\w\\d_]+" // TODO: fix email addresses
|
266
|
-
}, {
|
267
|
-
token : "comment.doc",
|
268
|
-
regex : "\\s+"
|
269
|
-
}, {
|
270
|
-
token : "comment.doc",
|
271
|
-
regex : "TODO"
|
272
|
-
}, {
|
273
|
-
token : "comment.doc",
|
274
|
-
regex : "[^@\\*]+"
|
275
|
-
}, {
|
276
|
-
token : "comment.doc",
|
277
|
-
regex : "."
|
278
|
-
}]
|
279
|
-
};
|
280
|
-
};
|
281
|
-
|
282
|
-
oop.inherits(DocCommentHighlightRules, TextHighlightRules);
|
283
|
-
|
284
|
-
DocCommentHighlightRules.getStartRule = function(start) {
|
285
|
-
return {
|
286
|
-
token : "comment.doc", // doc comment
|
287
|
-
regex : "\\/\\*(?=\\*)",
|
288
|
-
next : start
|
289
|
-
};
|
290
|
-
};
|
291
|
-
|
292
|
-
DocCommentHighlightRules.getEndRule = function (start) {
|
293
|
-
return {
|
294
|
-
token : "comment.doc", // closing comment
|
295
|
-
regex : "\\*\\/",
|
296
|
-
next : start
|
297
|
-
};
|
298
|
-
};
|
299
|
-
|
300
|
-
|
301
|
-
exports.DocCommentHighlightRules = DocCommentHighlightRules;
|
302
|
-
|
303
|
-
});
|
304
|
-
|
305
|
-
define('ace/mode/folding/cstyle', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/range', 'ace/mode/folding/fold_mode'], function(require, exports, module) {
|
306
|
-
|
307
|
-
|
308
|
-
var oop = require("../../lib/oop");
|
309
|
-
var Range = require("../../range").Range;
|
310
|
-
var BaseFoldMode = require("./fold_mode").FoldMode;
|
311
|
-
|
312
|
-
var FoldMode = exports.FoldMode = function() {};
|
313
|
-
oop.inherits(FoldMode, BaseFoldMode);
|
314
|
-
|
315
|
-
(function() {
|
316
|
-
|
317
|
-
this.foldingStartMarker = /(\{|\[)[^\}\]]*$|^\s*(\/\*)/;
|
318
|
-
this.foldingStopMarker = /^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/;
|
319
|
-
|
320
|
-
this.getFoldWidgetRange = function(session, foldStyle, row) {
|
321
|
-
var line = session.getLine(row);
|
322
|
-
var match = line.match(this.foldingStartMarker);
|
323
|
-
if (match) {
|
324
|
-
var i = match.index;
|
325
|
-
|
326
|
-
if (match[1])
|
327
|
-
return this.openingBracketBlock(session, match[1], row, i);
|
328
|
-
|
329
|
-
return session.getCommentFoldRange(row, i + match[0].length, 1);
|
330
|
-
}
|
331
|
-
|
332
|
-
if (foldStyle !== "markbeginend")
|
333
|
-
return;
|
334
|
-
|
335
|
-
var match = line.match(this.foldingStopMarker);
|
336
|
-
if (match) {
|
337
|
-
var i = match.index + match[0].length;
|
338
|
-
|
339
|
-
if (match[1])
|
340
|
-
return this.closingBracketBlock(session, match[1], row, i);
|
341
|
-
|
342
|
-
return session.getCommentFoldRange(row, i, -1);
|
343
|
-
}
|
344
|
-
};
|
345
|
-
|
346
|
-
}).call(FoldMode.prototype);
|
347
|
-
|
348
|
-
});
|