ver 2009.12.14 → 2010.02
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/.mailmap +1 -0
- data/.todo +102 -0
- data/.yardopts +1 -0
- data/AUTHORS +3 -3
- data/CHANGELOG +1597 -0
- data/MANIFEST +521 -329
- data/ROADMAP.textile +187 -0
- data/Rakefile +6 -4
- data/bin/ver +98 -35
- data/config/detect.rb +65 -37
- data/config/keymap/diakonos.rb +180 -178
- data/config/keymap/emacs.rb +44 -63
- data/config/keymap/nano.rb +174 -0
- data/config/keymap/vim.rb +459 -381
- data/config/plugin/animated_tiling.rb +90 -0
- data/config/plugin/autosave.rb +22 -0
- data/config/plugin/git.rb +46 -0
- data/config/plugin/smart_autoindent.rb +157 -0
- data/config/plugin/soma.rb +50 -0
- data/config/preferences/ANTLR.rb +6 -0
- data/config/preferences/ASP.rb +6 -0
- data/config/preferences/ActionScript.rb +747 -0
- data/config/preferences/Active4D.rb +35 -0
- data/config/preferences/Ada.rb +12 -0
- data/config/preferences/Ant.rb +348 -0
- data/config/preferences/Apache.rb +585 -0
- data/config/preferences/AppleScript.rb +35 -0
- data/config/preferences/Bulletin Board.rb +7 -0
- data/config/preferences/Bundle Development.rb +30 -0
- data/config/preferences/C++ Qt.rb +197 -0
- data/config/preferences/C.rb +60 -0
- data/config/preferences/CMake.rb +24 -0
- data/config/preferences/CSS.rb +396 -0
- data/config/preferences/ColdFusion.rb +13 -0
- data/config/preferences/Context Free.rb +16 -0
- data/config/preferences/D.rb +31 -0
- data/config/preferences/Diff.rb +36 -0
- data/config/preferences/DokuWiki.rb +13 -0
- data/config/preferences/Eiffel.rb +20 -0
- data/config/preferences/Erlang.rb +37 -0
- data/config/preferences/Experimental.rb +1352 -0
- data/config/preferences/F-Script.rb +29 -0
- data/config/preferences/FXScript.rb +23 -0
- data/config/preferences/Fortran.rb +70 -0
- data/config/preferences/GTD2.rb +6 -0
- data/config/preferences/GTDAlt.rb +12 -0
- data/config/preferences/Gettext.rb +14 -0
- data/config/preferences/Graphviz.rb +9 -0
- data/config/preferences/Gri.rb +9 -0
- data/config/preferences/HTML.rb +380 -0
- data/config/preferences/Haskell.rb +31 -0
- data/config/preferences/Hyperlink Helper.rb +78 -0
- data/config/preferences/Ini.rb +15 -0
- data/config/preferences/Io.rb +24 -0
- data/config/preferences/JSFL.rb +722 -0
- data/config/preferences/Java.rb +51 -0
- data/config/preferences/JavaScript Prototype & Script.aculo.us.rb +175 -0
- data/config/preferences/JavaScript YUI.rb +13 -0
- data/config/preferences/JavaScript.rb +41 -0
- data/config/preferences/LaTeX.rb +96 -0
- data/config/preferences/LilyPond.rb +22 -0
- data/config/preferences/Lisp.rb +17 -0
- data/config/preferences/Logo.rb +12 -0
- data/config/preferences/Logtalk.rb +193 -0
- data/config/preferences/Lua.rb +13 -0
- data/config/preferences/MEL.rb +13 -0
- data/config/preferences/MIPS Assembler.rb +9 -0
- data/config/preferences/Make.rb +8 -0
- data/config/preferences/Man Pages.rb +9 -0
- data/config/preferences/Matlab.rb +40 -0
- data/config/preferences/Maven.rb +220 -0
- data/config/preferences/Mediawiki.rb +27 -0
- data/config/preferences/Modula.rb +8 -0
- data/config/preferences/MoinMoin.rb +25 -0
- data/config/preferences/Movable Type.rb +47 -0
- data/config/preferences/OCaml Experimental Completions.rb +8 -0
- data/config/preferences/OCaml.rb +70 -0
- data/config/preferences/Objective-C.rb +54 -0
- data/config/preferences/OpenGL.rb +3327 -0
- data/config/preferences/Pascal.rb +15 -0
- data/config/preferences/Perl Template Toolkit.rb +19 -0
- data/config/preferences/Perl.rb +6 -0
- data/config/preferences/Postscript.rb +6 -0
- data/config/preferences/Processing.rb +13 -0
- data/config/preferences/Property List.rb +34 -0
- data/config/preferences/Python Django Templates.rb +13 -0
- data/config/preferences/Python.rb +24 -0
- data/config/preferences/Quake.rb +6 -0
- data/config/preferences/R Console (Rdaemon).rb +7 -0
- data/config/preferences/R.rb +17 -0
- data/config/preferences/Ragel.rb +6 -0
- data/config/preferences/Remind.rb +6 -0
- data/config/preferences/Rez.rb +10 -0
- data/config/preferences/Ruby Haml.rb +6 -0
- data/config/preferences/Ruby RSpec.rb +14 -0
- data/config/preferences/Ruby on Rails.rb +22 -0
- data/config/preferences/Ruby.rb +48 -0
- data/config/preferences/S5 Slide Show.rb +10 -0
- data/config/preferences/SQL.rb +17 -0
- data/config/preferences/SSH Config.rb +6 -0
- data/config/preferences/SWeave.rb +17 -0
- data/config/preferences/Scheme.rb +12 -0
- data/config/preferences/Scilab.rb +6 -0
- data/config/preferences/Shell Script.rb +13 -0
- data/config/preferences/Slate.rb +36 -0
- data/config/preferences/Source.rb +51 -0
- data/config/preferences/Standard ML.rb +18 -0
- data/config/preferences/Subversion.rb +6 -0
- data/config/preferences/Tcl.rb +19 -0
- data/config/preferences/TerminalMate.rb +46 -0
- data/config/preferences/Text.rb +31 -0
- data/config/preferences/TextMate.rb +18 -0
- data/config/preferences/Textile.rb +30 -0
- data/config/preferences/Thrift.rb +26 -0
- data/config/preferences/Twiki.rb +17 -0
- data/config/preferences/Txt2tags.rb +33 -0
- data/config/preferences/Vectorscript.rb +1240 -0
- data/config/preferences/XML.rb +26 -0
- data/config/preferences/YAML.rb +13 -0
- data/config/preferences/iCalendar.rb +6 -0
- data/config/preferences/iTerm.rb +16 -0
- data/config/preferences/newLisp.rb +10 -0
- data/config/preferences/reStructuredText.rb +17 -0
- data/config/rc.rb +13 -1
- data/config/snippets/ANTLR.rb +3 -0
- data/config/snippets/ASP vb.NET.rb +56 -0
- data/config/snippets/ASP.rb +38 -0
- data/config/snippets/ActionScript.rb +207 -0
- data/config/snippets/Active4D.rb +258 -0
- data/config/snippets/Ada.rb +62 -0
- data/config/snippets/Ant.rb +7 -0
- data/config/snippets/Apache.rb +22 -0
- data/config/snippets/AppleScript.rb +84 -0
- data/config/snippets/Bison.rb +3 -0
- data/config/snippets/Blogging.rb +20 -0
- data/config/snippets/Bulletin Board.rb +23 -0
- data/config/snippets/Bundle Development.rb +65 -0
- data/config/snippets/C++ Qt.rb +59 -0
- data/config/snippets/C.rb +102 -0
- data/config/snippets/CMake.rb +34 -0
- data/config/snippets/CSS.rb +117 -0
- data/config/snippets/CTags.rb +3 -0
- data/config/snippets/CVS.rb +3 -0
- data/config/snippets/ColdFusion.rb +1549 -0
- data/config/snippets/Context Free.rb +30 -0
- data/config/snippets/D.rb +113 -0
- data/config/snippets/Darcs.rb +3 -0
- data/config/snippets/Diff.rb +3 -0
- data/config/snippets/DokuWiki.rb +56 -0
- data/config/snippets/Doxygen.rb +42 -0
- data/config/snippets/Dylan.rb +3 -0
- data/config/snippets/Eiffel.rb +20 -0
- data/config/snippets/Erlang.rb +70 -0
- data/config/snippets/Experimental Wiki.rb +3 -0
- data/config/snippets/Experimental.rb +3 -0
- data/config/snippets/F-Script.rb +26 -0
- data/config/snippets/FXScript.rb +212 -0
- data/config/snippets/FileMerge.rb +3 -0
- data/config/snippets/Fortran.rb +282 -0
- data/config/snippets/GTD2.rb +3 -0
- data/config/snippets/GTDAlt.rb +6 -0
- data/config/snippets/GetBundle.rb +3 -0
- data/config/snippets/Gettext.rb +10 -0
- data/config/snippets/Graphviz.rb +3 -0
- data/config/snippets/Greasemonkey.rb +44 -0
- data/config/snippets/Gri.rb +12 -0
- data/config/snippets/HTML.rb +128 -0
- data/config/snippets/Haskell.rb +26 -0
- data/config/snippets/Hotkey.rb +3 -0
- data/config/snippets/Hyperlink Helper.rb +3 -0
- data/config/snippets/ImageBrowser.rb +3 -0
- data/config/snippets/Inform.rb +3 -0
- data/config/snippets/Ini.rb +3 -0
- data/config/snippets/Installer.rb +3 -0
- data/config/snippets/Io.rb +44 -0
- data/config/snippets/JSFL.rb +3 -0
- data/config/snippets/JSON.rb +3 -0
- data/config/snippets/Java.rb +94 -0
- data/config/snippets/JavaDoc.rb +58 -0
- data/config/snippets/JavaScript MooTools.rb +15 -0
- data/config/snippets/JavaScript Objective-J.rb +17 -0
- data/config/snippets/JavaScript Prototype & Script.aculo.us.rb +109 -0
- data/config/snippets/JavaScript YUI.rb +188 -0
- data/config/snippets/JavaScript jQuery.rb +377 -0
- data/config/snippets/JavaScript.rb +55 -0
- data/config/snippets/Lex-Flex.rb +3 -0
- data/config/snippets/Lighttpd.rb +3 -0
- data/config/snippets/LilyPond.rb +18 -0
- data/config/snippets/Lisp.rb +42 -0
- data/config/snippets/Logo.rb +8 -0
- data/config/snippets/Logtalk.rb +62 -0
- data/config/snippets/Lua.rb +35 -0
- data/config/snippets/MEL.rb +3 -0
- data/config/snippets/MIPS Assembler.rb +7 -0
- data/config/snippets/MacPorts.rb +3 -0
- data/config/snippets/Mail.rb +3 -0
- data/config/snippets/Make.rb +3 -0
- data/config/snippets/Man Pages.rb +3 -0
- data/config/snippets/Math.rb +3 -0
- data/config/snippets/Matlab.rb +180 -0
- data/config/snippets/Maven.rb +7 -0
- data/config/snippets/Mediawiki.rb +14 -0
- data/config/snippets/Mercurial.rb +3 -0
- data/config/snippets/Modula.rb +3 -0
- data/config/snippets/MoinMoin.rb +12 -0
- data/config/snippets/Movable Type.rb +55 -0
- data/config/snippets/Navigation.rb +3 -0
- data/config/snippets/Nemerle.rb +81 -0
- data/config/snippets/OCaml Code Completion Misc.rb +74 -0
- data/config/snippets/OCaml Code Completion Unix.rb +205 -0
- data/config/snippets/OCaml Experimental Completions.rb +3 -0
- data/config/snippets/OCaml.rb +75 -0
- data/config/snippets/ODCompletion.rb +120 -0
- data/config/snippets/Objective-C.rb +195 -0
- data/config/snippets/OpenGL.rb +3 -0
- data/config/snippets/Outlines.rb +3 -0
- data/config/snippets/PHP Smarty.rb +81 -0
- data/config/snippets/Pascal.rb +35 -0
- data/config/snippets/Perforce.rb +3 -0
- data/config/snippets/Perl HTML::Template.rb +27 -0
- data/config/snippets/Perl Mason.rb +32 -0
- data/config/snippets/Perl Template Toolkit.rb +22 -0
- data/config/snippets/Perl.rb +74 -0
- data/config/snippets/Postscript.rb +3 -0
- data/config/snippets/Processing.rb +35 -0
- data/config/snippets/Prolog.rb +3 -0
- data/config/snippets/Propel.rb +32 -0
- data/config/snippets/Property List.rb +26 -0
- data/config/snippets/Python Django Templates.rb +97 -0
- data/config/snippets/Python Django.rb +134 -0
- data/config/snippets/Quake.rb +3 -0
- data/config/snippets/R Console (R.app).rb +3 -0
- data/config/snippets/R Console (Rdaemon).rb +11 -0
- data/config/snippets/R.rb +79 -0
- data/config/snippets/Ragel.rb +3 -0
- data/config/snippets/Regular Expressions.rb +3 -0
- data/config/snippets/Remind.rb +17 -0
- data/config/snippets/Rez.rb +3 -0
- data/config/snippets/Ruby Haml.rb +3 -0
- data/config/snippets/Ruby RSpec.rb +240 -0
- data/config/snippets/Ruby on Rails.rb +767 -0
- data/config/snippets/Ruby.rb +547 -0
- data/config/snippets/S5 Slide Show.rb +26 -0
- data/config/snippets/SCons.rb +3 -0
- data/config/snippets/SQL.rb +3 -0
- data/config/snippets/SSH Config.rb +19 -0
- data/config/snippets/SVK.rb +3 -0
- data/config/snippets/SWIG.rb +20 -0
- data/config/snippets/SWeave.rb +3 -0
- data/config/snippets/Scheme.rb +3 -0
- data/config/snippets/Scilab.rb +81 -0
- data/config/snippets/Setext.rb +10 -0
- data/config/snippets/Shell Script.rb +44 -0
- data/config/snippets/Slate.rb +50 -0
- data/config/snippets/Source.rb +3 -0
- data/config/snippets/Standard ML.rb +29 -0
- data/config/snippets/Subversion.rb +3 -0
- data/config/snippets/TODO.rb +3 -0
- data/config/snippets/Tabular.rb +3 -0
- data/config/snippets/Tcl.rb +28 -0
- data/config/snippets/TerminalMate.rb +3 -0
- data/config/snippets/Text.rb +17 -0
- data/config/snippets/TextMate.rb +3 -0
- data/config/snippets/Textile.rb +47 -0
- data/config/snippets/Thrift.rb +20 -0
- data/config/snippets/Transmit.rb +3 -0
- data/config/snippets/Twiki.rb +107 -0
- data/config/snippets/Txt2tags.rb +81 -0
- data/config/snippets/Vectorscript.rb +40 -0
- data/config/snippets/Widget Creator.rb +7 -0
- data/config/snippets/XML.rb +20 -0
- data/config/snippets/Xcode.rb +3 -0
- data/config/snippets/YAML.rb +6 -0
- data/config/snippets/iCalendar.rb +3 -0
- data/config/snippets/iTerm.rb +3 -0
- data/config/snippets/newLisp.rb +33 -0
- data/config/snippets/reStructuredText.rb +22 -0
- data/config/syntax/ANTLR.rb +122 -0
- data/config/syntax/ASP vb.NET.rb +114 -0
- data/config/syntax/ASP.rb +72 -0
- data/config/syntax/ActionScript.rb +83 -0
- data/config/syntax/Active4D Config.rb +38 -0
- data/config/syntax/Active4D Library.rb +20 -0
- data/config/syntax/Active4D.rb +237 -0
- data/config/syntax/Ada.rb +50 -0
- data/config/syntax/Ant.rb +80 -0
- data/config/syntax/Apache.rb +148 -0
- data/config/syntax/AppleScript.rb +370 -0
- data/config/syntax/BibTeX.rb +98 -0
- data/config/syntax/Bison.rb +28 -0
- data/config/syntax/Blog - HTML.rb +38 -0
- data/config/syntax/Blog - Markdown.rb +36 -0
- data/config/syntax/Blog - Text.rb +24 -0
- data/config/syntax/Blog - Textile.rb +24 -0
- data/config/syntax/Bulletin Board.rb +202 -0
- data/config/syntax/C++ Qt.rb +27 -0
- data/config/syntax/C++.rb +159 -0
- data/config/syntax/C.rb +341 -0
- data/config/syntax/CMake Listfile.rb +87 -0
- data/config/syntax/CSS.rb +151 -0
- data/config/syntax/CSV.rb +52 -0
- data/config/syntax/ColdFusion.rb +92 -0
- data/config/syntax/Context Free.rb +133 -0
- data/config/syntax/D.rb +285 -0
- data/config/syntax/Diff.rb +59 -0
- data/config/syntax/DokuWiki.rb +158 -0
- data/config/syntax/Doxygen.rb +31 -0
- data/config/syntax/Dylan.rb +53 -0
- data/config/syntax/Eiffel.rb +52 -0
- data/config/syntax/Erlang.rb +632 -0
- data/config/syntax/F-Script.rb +56 -0
- data/config/syntax/FXScript.rb +140 -0
- data/config/syntax/Fortran - Modern.rb +147 -0
- data/config/syntax/Fortran - Punchcard.rb +257 -0
- data/config/syntax/GTD.rb +15 -0
- data/config/syntax/GTDalt.rb +95 -0
- data/config/syntax/Gettext.rb +54 -0
- data/config/syntax/Graphviz (DOT).rb +37 -0
- data/config/syntax/Greasemonkey.rb +31 -0
- data/config/syntax/Gri.rb +61 -0
- data/config/syntax/HTML (ASP).rb +23 -0
- data/config/syntax/HTML (ASP.net).rb +304 -0
- data/config/syntax/HTML (Active4D).rb +219 -0
- data/config/syntax/HTML (Django).rb +35 -0
- data/config/syntax/HTML (Erlang).rb +26 -0
- data/config/syntax/HTML (Mason).rb +74 -0
- data/config/syntax/HTML (Rails).rb +34 -0
- data/config/syntax/HTML (Tcl).rb +23 -0
- data/config/syntax/HTML (Template Toolkit).rb +88 -0
- data/config/syntax/HTML.rb +265 -0
- data/config/syntax/Haskell.rb +188 -0
- data/config/syntax/Inform.rb +37 -0
- data/config/syntax/Ini.rb +36 -0
- data/config/syntax/Installer Distribution Script.rb +78 -0
- data/config/syntax/Io.rb +59 -0
- data/config/syntax/JSFL.rb +24 -0
- data/config/syntax/JSON.rb +118 -0
- data/config/syntax/Java Properties.rb +21 -0
- data/config/syntax/Java Server Page (JSP).rb +71 -0
- data/config/syntax/Java.rb +288 -0
- data/config/syntax/JavaDoc.rb +178 -0
- data/config/syntax/JavaScript (Rails).rb +24 -0
- data/config/syntax/JavaScript.rb +193 -0
- data/config/syntax/Javascript YUI.rb +245 -0
- data/config/syntax/LaTeX Beamer.rb +30 -0
- data/config/syntax/LaTeX Log.rb +35 -0
- data/config/syntax/LaTeX Memoir.rb +46 -0
- data/config/syntax/LaTeX Rdaemon.rb +24 -0
- data/config/syntax/LaTeX.rb +424 -0
- data/config/syntax/Language Grammar.rb +585 -0
- data/config/syntax/Lex-Flex.rb +172 -0
- data/config/syntax/Lighttpd.rb +41 -0
- data/config/syntax/LilyPond.rb +383 -0
- data/config/syntax/Lisp.rb +43 -0
- data/config/syntax/Literate Haskell.rb +26 -0
- data/config/syntax/Logo.rb +25 -0
- data/config/syntax/Logtalk.rb +131 -0
- data/config/syntax/Lua.rb +65 -0
- data/config/syntax/MATLAB.rb +468 -0
- data/config/syntax/MEL.rb +65 -0
- data/config/syntax/MIPS Assembler.rb +47 -0
- data/config/syntax/MacPorts Portfile.rb +130 -0
- data/config/syntax/Mail.rb +97 -0
- data/config/syntax/Makefile.rb +30 -0
- data/config/syntax/Man.rb +16 -0
- data/config/syntax/Maven POM.rb +305 -0
- data/config/syntax/Mediawiki.rb +349 -0
- data/config/syntax/Modula-3.rb +40 -0
- data/config/syntax/MoinMoin.rb +132 -0
- data/config/syntax/MooTools.rb +375 -0
- data/config/syntax/Movable Type (MT only).rb +143 -0
- data/config/syntax/Movable Type.rb +156 -0
- data/config/syntax/Nemerle.rb +63 -0
- data/config/syntax/OCaml.rb +553 -0
- data/config/syntax/OCamllex.rb +133 -0
- data/config/syntax/OCamlyacc.rb +148 -0
- data/config/syntax/Objective-C++.rb +15 -0
- data/config/syntax/Objective-C.rb +423 -0
- data/config/syntax/Objective-J.rb +183 -0
- data/config/syntax/Octave.rb +215 -0
- data/config/syntax/OpenGL.rb +18 -0
- data/config/syntax/Pascal.rb +57 -0
- data/config/syntax/Perl HTML-Template.rb +61 -0
- data/config/syntax/Perl.rb +764 -0
- data/config/syntax/Plain Text.rb +27 -0
- data/config/syntax/Postscript.rb +88 -0
- data/config/syntax/Processing.rb +87 -0
- data/config/syntax/Prolog.rb +31 -0
- data/config/syntax/Property List.rb +463 -0
- data/config/syntax/Prototype & Script.aculo.us (JavaScript) Bracketed.rb +100 -0
- data/config/syntax/Prototype & Script.aculo.us (JavaScript).rb +56 -0
- data/config/syntax/Python Django.rb +25 -0
- data/config/syntax/Python.rb +836 -0
- data/config/syntax/Quake Style .cfg.rb +27 -0
- data/config/syntax/R Console (R.app).rb +13 -0
- data/config/syntax/R Console (Rdaemon) Plain.rb +30 -0
- data/config/syntax/R Console (Rdaemon).rb +33 -0
- data/config/syntax/R.rb +64 -0
- data/config/syntax/RJS.rb +8 -0
- data/config/syntax/RSpec.rb +64 -0
- data/config/syntax/Ragel.rb +159 -0
- data/config/syntax/Rd (R Documentation).rb +50 -0
- data/config/syntax/Regular Expressions (Oniguruma).rb +78 -0
- data/config/syntax/Regular Expressions (Python).rb +78 -0
- data/config/syntax/Release Notes.rb +38 -0
- data/config/syntax/Remind.rb +179 -0
- data/config/syntax/Rez.rb +61 -0
- data/config/syntax/Ruby Haml.rb +97 -0
- data/config/syntax/Ruby on Rails.rb +116 -0
- data/config/syntax/Ruby.rb +758 -0
- data/config/syntax/S5 Slide Show.rb +51 -0
- data/config/syntax/SQL (Rails).rb +17 -0
- data/config/syntax/SQL.rb +205 -0
- data/config/syntax/SSH Config.rb +25 -0
- data/config/syntax/SWIG.rb +47 -0
- data/config/syntax/SWeave.rb +57 -0
- data/config/syntax/Scheme.rb +280 -0
- data/config/syntax/Scilab.rb +30 -0
- data/config/syntax/Setext.rb +102 -0
- data/config/syntax/Shell Script (Bash).rb +454 -0
- data/config/syntax/Slate.rb +96 -0
- data/config/syntax/Smarty.rb +46 -0
- data/config/syntax/Standard ML - CM.rb +27 -0
- data/config/syntax/Standard ML.rb +119 -0
- data/config/syntax/Strings File.rb +33 -0
- data/config/syntax/TSV.rb +40 -0
- data/config/syntax/Tcl.rb +119 -0
- data/config/syntax/TeX Math.rb +37 -0
- data/config/syntax/TeX.rb +58 -0
- data/config/syntax/Textile.rb +174 -0
- data/config/syntax/Thrift.rb +285 -0
- data/config/syntax/Twiki.rb +163 -0
- data/config/syntax/Txt2tags.rb +70 -0
- data/config/syntax/Vectorscript.rb +48 -0
- data/config/syntax/XML strict.rb +60 -0
- data/config/syntax/XML.rb +117 -0
- data/config/syntax/XSL.rb +43 -0
- data/config/syntax/YAML.rb +109 -0
- data/config/syntax/camlp4.rb +27 -0
- data/config/syntax/iCalendar.rb +25 -0
- data/config/syntax/jQuery (JavaScript).rb +108 -0
- data/config/syntax/mod_perl.rb +41 -0
- data/config/syntax/newLisp.rb +82 -0
- data/config/syntax/qmake Project file.rb +87 -0
- data/config/syntax/reStructuredText.rb +180 -0
- data/config/syntax/svn-commit.tmp.rb +25 -0
- data/config/theme/Active4D.rb +105 -0
- data/config/theme/All Hallow's Eve.rb +70 -0
- data/config/theme/Amy.rb +141 -0
- data/config/theme/Blackboard.rb +90 -0
- data/config/theme/Brilliance Black.rb +693 -0
- data/config/theme/Brilliance Dull.rb +588 -0
- data/config/theme/Cobalt.rb +147 -0
- data/config/theme/Dawn.rb +113 -0
- data/config/theme/Eiffel.rb +113 -0
- data/config/theme/Embers.rb +125 -0
- data/config/theme/Espresso Libre.rb +104 -0
- data/config/theme/IDLE.rb +57 -0
- data/config/theme/LAZY.rb +74 -0
- data/config/theme/Mac Classic.rb +117 -0
- data/config/theme/MagicWB (Amiga).rb +97 -0
- data/config/theme/Pastels on Dark.rb +182 -0
- data/config/theme/Slush & Poppies.rb +83 -0
- data/config/theme/SpaceCadet.rb +44 -0
- data/config/theme/Sunburst.rb +172 -0
- data/config/theme/Twilight.rb +137 -0
- data/config/theme/Zenburnesque.rb +88 -0
- data/config/theme/iPlastic.rb +73 -0
- data/config/theme/newLISP dark.rb +183 -0
- data/config/theme/newLISP.rb +183 -0
- data/config/welcome +10 -14
- data/lib/ver.rb +272 -79
- data/lib/ver/action.rb +43 -0
- data/lib/ver/buffer.rb +229 -0
- data/lib/ver/buffer/console.rb +171 -0
- data/lib/ver/buffer/term.rb +255 -0
- data/lib/ver/entry.rb +120 -97
- data/lib/ver/exception_view.rb +11 -1
- data/lib/ver/executor.rb +83 -0
- data/lib/ver/executor/buffer.rb +31 -0
- data/lib/ver/executor/entry.rb +175 -0
- data/lib/ver/executor/fuzzy_file_finder.rb +100 -0
- data/lib/ver/executor/grep.rb +101 -0
- data/lib/ver/executor/label.rb +57 -0
- data/lib/ver/executor/locate.rb +20 -0
- data/lib/ver/executor/method.rb +80 -0
- data/lib/ver/executor/path.rb +45 -0
- data/lib/ver/executor/syntax.rb +22 -0
- data/lib/ver/executor/theme.rb +21 -0
- data/lib/ver/help.rb +0 -10
- data/lib/ver/help/describe_key.rb +8 -7
- data/lib/ver/help/help_for_help.rb +1 -1
- data/lib/ver/hover_completion.rb +39 -34
- data/lib/ver/keymap.rb +121 -158
- data/lib/ver/keymap/keymapped.rb +25 -0
- data/lib/ver/keysyms.rb +104 -0
- data/lib/ver/layout/notebook.rb +74 -0
- data/lib/ver/layout/paned.rb +184 -0
- data/lib/ver/layout/tiling.rb +135 -0
- data/lib/ver/layout/tiling/common.rb +34 -0
- data/lib/ver/layout/tiling/horizontal.rb +25 -0
- data/lib/ver/layout/tiling/vertical.rb +25 -0
- data/lib/ver/major_mode.rb +162 -0
- data/lib/ver/methods.rb +21 -22
- data/lib/ver/methods/autofill.rb +23 -0
- data/lib/ver/methods/basic.rb +53 -0
- data/lib/ver/methods/bookmark.rb +116 -104
- data/lib/ver/methods/clipboard.rb +59 -47
- data/lib/ver/methods/completion.rb +93 -77
- data/lib/ver/methods/control.rb +297 -240
- data/lib/ver/methods/ctags.rb +38 -29
- data/lib/ver/methods/delete.rb +47 -31
- data/lib/ver/methods/help.rb +9 -1
- data/lib/ver/methods/insert.rb +67 -203
- data/lib/ver/methods/layout.rb +122 -0
- data/lib/ver/methods/move.rb +229 -158
- data/lib/ver/methods/nano.rb +186 -0
- data/lib/ver/methods/open.rb +247 -53
- data/lib/ver/methods/preview.rb +66 -5
- data/lib/ver/methods/save.rb +127 -44
- data/lib/ver/methods/search.rb +103 -56
- data/lib/ver/methods/search_and_replace.rb +118 -0
- data/lib/ver/methods/selection.rb +443 -0
- data/lib/ver/methods/snippet.rb +244 -0
- data/lib/ver/methods/undo.rb +34 -13
- data/lib/ver/minibuffer.rb +293 -0
- data/lib/ver/minor_mode.rb +204 -0
- data/lib/ver/plist.rb +208 -20
- data/lib/ver/status.rb +76 -128
- data/lib/ver/status/battery.rb +147 -0
- data/lib/ver/status/buffer_position.rb +17 -0
- data/lib/ver/status/diakonos_position.rb +17 -0
- data/lib/ver/status/encoding.rb +13 -0
- data/lib/ver/status/filename.rb +13 -0
- data/lib/ver/status/label.rb +62 -0
- data/lib/ver/status/mode.rb +15 -0
- data/lib/ver/status/nano_help.rb +71 -0
- data/lib/ver/status/nano_position.rb +38 -0
- data/lib/ver/status/percent.rb +17 -0
- data/lib/ver/status/position.rb +16 -0
- data/lib/ver/status/separator.rb +20 -0
- data/lib/ver/status/short_filename.rb +13 -0
- data/lib/ver/status/syntax.rb +13 -0
- data/lib/ver/syntax.rb +15 -20
- data/lib/ver/syntax/detector.rb +7 -13
- data/lib/ver/syntax/processor.rb +4 -4
- data/lib/ver/text.rb +337 -170
- data/lib/ver/theme.rb +51 -28
- data/lib/ver/treeview.rb +54 -0
- data/lib/ver/undo.rb +37 -17
- data/lib/ver/vendor/better_pp_hash.rb +27 -0
- data/lib/ver/vendor/binary_search.rb +2 -2
- data/lib/ver/vendor/fuzzy_file_finder.rb +22 -8
- data/lib/ver/vendor/pathname.rb +26 -0
- data/lib/ver/vendor/textpow.rb +30 -32
- data/lib/ver/version.rb +1 -1
- data/lib/ver/widget_event.rb +49 -0
- data/lib/ver/widget_major_mode.rb +192 -0
- data/spec/helper.rb +49 -78
- data/spec/tm_snippet.rb +178 -0
- data/spec/ver/action.rb +65 -0
- data/spec/ver/keymap.rb +77 -0
- data/spec/ver/major_mode.rb +150 -0
- data/spec/ver/methods/move.rb +150 -0
- data/spec/ver/minor_mode.rb +90 -0
- data/spec/ver/plugin/smart_autoindent.rb +276 -0
- data/spec/ver/widget_major_mode.rb +69 -0
- data/tasks/rcov.rake +2 -3
- data/tasks/syntax_list.rake +28 -24
- data/ver.gemspec +6 -9
- metadata +524 -342
- data/TODO +0 -169
- data/config/preferences/ANTLR.json +0 -10
- data/config/preferences/ASP vb.NET.json +0 -3
- data/config/preferences/ASP.json +0 -15
- data/config/preferences/ActionScript.json +0 -755
- data/config/preferences/Active4D.json +0 -89
- data/config/preferences/Ada.json +0 -23
- data/config/preferences/Ant.json +0 -356
- data/config/preferences/Apache.json +0 -644
- data/config/preferences/AppleScript.json +0 -92
- data/config/preferences/Bison.json +0 -3
- data/config/preferences/Blogging.json +0 -3
- data/config/preferences/C.json +0 -127
- data/config/preferences/CMake.json +0 -41
- data/config/preferences/CSS.json +0 -461
- data/config/preferences/CTags.json +0 -3
- data/config/preferences/CVS.json +0 -3
- data/config/preferences/ColdFusion.json +0 -32
- data/config/preferences/D.json +0 -58
- data/config/preferences/Darcs.json +0 -3
- data/config/preferences/Diff.json +0 -67
- data/config/preferences/DokuWiki.json +0 -19
- data/config/preferences/Doxygen.json +0 -3
- data/config/preferences/Dylan.json +0 -3
- data/config/preferences/Eiffel.json +0 -59
- data/config/preferences/Erlang.json +0 -72
- data/config/preferences/Experimental.json +0 -1356
- data/config/preferences/F-Script.json +0 -87
- data/config/preferences/FXScript.json +0 -78
- data/config/preferences/FileMerge.json +0 -3
- data/config/preferences/Fortran.json +0 -158
- data/config/preferences/GTD2.json +0 -11
- data/config/preferences/GTDAlt.json +0 -20
- data/config/preferences/GetBundle.json +0 -3
- data/config/preferences/Gettext.json +0 -24
- data/config/preferences/Graphviz.json +0 -42
- data/config/preferences/Greasemonkey.json +0 -3
- data/config/preferences/Gri.json +0 -34
- data/config/preferences/HTML.json +0 -492
- data/config/preferences/Haskell.json +0 -72
- data/config/preferences/Hotkey.json +0 -3
- data/config/preferences/ImageBrowser.json +0 -3
- data/config/preferences/Inform.json +0 -3
- data/config/preferences/Ini.json +0 -60
- data/config/preferences/Installer.json +0 -3
- data/config/preferences/Io.json +0 -64
- data/config/preferences/JSON.json +0 -3
- data/config/preferences/Java.json +0 -86
- data/config/preferences/JavaDoc.json +0 -3
- data/config/preferences/JavaScript.json +0 -76
- data/config/preferences/LaTeX.json +0 -267
- data/config/preferences/Lex/Flex.json +0 -3
- data/config/preferences/Lighttpd.json +0 -3
- data/config/preferences/LilyPond.json +0 -77
- data/config/preferences/Lisp.json +0 -63
- data/config/preferences/Logo.json +0 -58
- data/config/preferences/Logtalk.json +0 -236
- data/config/preferences/Lua.json +0 -24
- data/config/preferences/MEL.json +0 -19
- data/config/preferences/MIPS Assembler.json +0 -26
- data/config/preferences/MacPorts.json +0 -3
- data/config/preferences/Mail.json +0 -3
- data/config/preferences/Make.json +0 -16
- data/config/preferences/Markdown.json +0 -102
- data/config/preferences/Math.json +0 -3
- data/config/preferences/Matlab.json +0 -128
- data/config/preferences/Maven.json +0 -308
- data/config/preferences/Mediawiki.json +0 -73
- data/config/preferences/Mercurial.json +0 -3
- data/config/preferences/Modula.json +0 -37
- data/config/preferences/MoinMoin.json +0 -52
- data/config/preferences/Navigation.json +0 -3
- data/config/preferences/Nemerle.json +0 -3
- data/config/preferences/OCaml Code Completion.json +0 -3
- data/config/preferences/OCaml.json +0 -163
- data/config/preferences/ODCompletion.json +0 -3
- data/config/preferences/Objective-C.json +0 -84
- data/config/preferences/OpenGL.json +0 -3331
- data/config/preferences/Outlines.json +0 -3
- data/config/preferences/Pascal.json +0 -60
- data/config/preferences/Perforce.json +0 -3
- data/config/preferences/Perl.json +0 -15
- data/config/preferences/PmWiki.json +0 -27
- data/config/preferences/Postscript.json +0 -15
- data/config/preferences/Processing.json +0 -32
- data/config/preferences/Prolog.json +0 -3
- data/config/preferences/Propel.json +0 -3
- data/config/preferences/Python.json +0 -38
- data/config/preferences/Quake.json +0 -15
- data/config/preferences/R.json +0 -33
- data/config/preferences/Ragel.json +0 -15
- data/config/preferences/Regular Expressions.json +0 -3
- data/config/preferences/Remind.json +0 -15
- data/config/preferences/Rez.json +0 -46
- data/config/preferences/Ruby.json +0 -98
- data/config/preferences/S5 Slide Show.json +0 -20
- data/config/preferences/SCons.json +0 -3
- data/config/preferences/SQL.json +0 -32
- data/config/preferences/SSH Config.json +0 -15
- data/config/preferences/SVK.json +0 -3
- data/config/preferences/SWIG.json +0 -3
- data/config/preferences/SWeave.json +0 -32
- data/config/preferences/Scheme.json +0 -35
- data/config/preferences/Scilab.json +0 -15
- data/config/preferences/Setext.json +0 -3
- data/config/preferences/Shell Script.json +0 -25
- data/config/preferences/Slate.json +0 -113
- data/config/preferences/Source.json +0 -132
- data/config/preferences/Subversion.json +0 -10
- data/config/preferences/TODO.json +0 -3
- data/config/preferences/Tabular.json +0 -3
- data/config/preferences/Tcl.json +0 -82
- data/config/preferences/TerminalMate.json +0 -112
- data/config/preferences/Text.json +0 -89
- data/config/preferences/TextMate.json +0 -38
- data/config/preferences/Textile.json +0 -76
- data/config/preferences/Thrift.json +0 -56
- data/config/preferences/Transmit.json +0 -3
- data/config/preferences/Twiki.json +0 -51
- data/config/preferences/Txt2tags.json +0 -81
- data/config/preferences/Vectorscript.json +0 -1280
- data/config/preferences/XML.json +0 -60
- data/config/preferences/Xcode.json +0 -3
- data/config/preferences/YAML.json +0 -24
- data/config/preferences/iCalendar.json +0 -10
- data/config/preferences/iTerm.json +0 -36
- data/config/preferences/reStructuredText.json +0 -48
- data/config/syntax/ANTLR.json +0 -275
- data/config/syntax/ASP vb.NET.json +0 -228
- data/config/syntax/ASP.json +0 -135
- data/config/syntax/ActionScript.json +0 -168
- data/config/syntax/Active4D Config.json +0 -86
- data/config/syntax/Active4D Library.json +0 -20
- data/config/syntax/Active4D.json +0 -418
- data/config/syntax/Ada.json +0 -108
- data/config/syntax/Ant.json +0 -196
- data/config/syntax/Apache.json +0 -342
- data/config/syntax/AppleScript.json +0 -721
- data/config/syntax/BibTeX.json +0 -253
- data/config/syntax/Bison.json +0 -59
- data/config/syntax/Blog - HTML.json +0 -47
- data/config/syntax/Blog - Markdown.json +0 -50
- data/config/syntax/Blog - Text.json +0 -45
- data/config/syntax/Blog - Textile.json +0 -45
- data/config/syntax/C++.json +0 -323
- data/config/syntax/C.json +0 -694
- data/config/syntax/CMake Listfile.json +0 -171
- data/config/syntax/CSS.json +0 -346
- data/config/syntax/CSV.json +0 -108
- data/config/syntax/ColdFusion.json +0 -204
- data/config/syntax/D.json +0 -560
- data/config/syntax/Diff.json +0 -136
- data/config/syntax/DokuWiki.json +0 -412
- data/config/syntax/Doxygen.json +0 -80
- data/config/syntax/Dylan.json +0 -104
- data/config/syntax/Eiffel.json +0 -128
- data/config/syntax/Erlang.json +0 -1636
- data/config/syntax/F-Script.json +0 -137
- data/config/syntax/FXScript.json +0 -260
- data/config/syntax/Fortran - Modern.json +0 -221
- data/config/syntax/Fortran - Punchcard.json +0 -468
- data/config/syntax/GTD.json +0 -39
- data/config/syntax/GTDalt.json +0 -233
- data/config/syntax/Gettext.json +0 -118
- data/config/syntax/Go.json +0 -555
- data/config/syntax/Graphviz (DOT).json +0 -79
- data/config/syntax/Greasemonkey.json +0 -56
- data/config/syntax/Gri.json +0 -141
- data/config/syntax/HTML (ASP).json +0 -45
- data/config/syntax/HTML (ASP.net).json +0 -736
- data/config/syntax/HTML (Active4D).json +0 -540
- data/config/syntax/HTML (Erlang).json +0 -31
- data/config/syntax/HTML (Tcl).json +0 -42
- data/config/syntax/HTML.json +0 -614
- data/config/syntax/Haskell.json +0 -407
- data/config/syntax/Inform.json +0 -80
- data/config/syntax/Ini.json +0 -91
- data/config/syntax/Installer Distribution Script.json +0 -135
- data/config/syntax/Io.json +0 -142
- data/config/syntax/JSON.json +0 -151
- data/config/syntax/Java Properties.json +0 -42
- data/config/syntax/Java Server Page (JSP).json +0 -163
- data/config/syntax/Java.json +0 -745
- data/config/syntax/JavaDoc.json +0 -435
- data/config/syntax/JavaScript.json +0 -446
- data/config/syntax/LaTeX Beamer.json +0 -65
- data/config/syntax/LaTeX Log.json +0 -88
- data/config/syntax/LaTeX Memoir.json +0 -101
- data/config/syntax/LaTeX.json +0 -962
- data/config/syntax/Lex-Flex.json +0 -396
- data/config/syntax/Lighttpd.json +0 -93
- data/config/syntax/LilyPond.json +0 -608
- data/config/syntax/Lisp.json +0 -101
- data/config/syntax/Literate Haskell.json +0 -55
- data/config/syntax/Logo.json +0 -48
- data/config/syntax/Logtalk.json +0 -289
- data/config/syntax/Lua.json +0 -146
- data/config/syntax/MATLAB.json +0 -744
- data/config/syntax/MEL.json +0 -161
- data/config/syntax/MIPS Assembler.json +0 -114
- data/config/syntax/MacPorts Portfile.json +0 -298
- data/config/syntax/Mail.json +0 -224
- data/config/syntax/Makefile.json +0 -66
- data/config/syntax/Markdown.json +0 -644
- data/config/syntax/Maven POM.json +0 -774
- data/config/syntax/Mediawiki.json +0 -736
- data/config/syntax/Modula-3.json +0 -80
- data/config/syntax/MoinMoin.json +0 -335
- data/config/syntax/MultiMarkdown.json +0 -41
- data/config/syntax/Nemerle.json +0 -128
- data/config/syntax/OCaml.json +0 -1391
- data/config/syntax/OCamllex.json +0 -307
- data/config/syntax/OCamlyacc.json +0 -346
- data/config/syntax/Objective-C++.json +0 -21
- data/config/syntax/Objective-C.json +0 -979
- data/config/syntax/Octave.json +0 -417
- data/config/syntax/OpenGL.json +0 -24
- data/config/syntax/PHP.json +0 -2184
- data/config/syntax/Pascal.json +0 -128
- data/config/syntax/Perl.json +0 -2091
- data/config/syntax/Plain Text.json +0 -49
- data/config/syntax/PmWiki.json +0 -241
- data/config/syntax/Postscript.json +0 -206
- data/config/syntax/Processing.json +0 -188
- data/config/syntax/Prolog.json +0 -70
- data/config/syntax/Python.json +0 -1934
- data/config/syntax/Quake Style .cfg.json +0 -54
- data/config/syntax/R.json +0 -157
- data/config/syntax/Ragel.json +0 -362
- data/config/syntax/Rd (R Documentation).json +0 -119
- data/config/syntax/Regular Expressions (Oniguruma).json +0 -186
- data/config/syntax/Regular Expressions (Python).json +0 -188
- data/config/syntax/Release Notes.json +0 -78
- data/config/syntax/Remind.json +0 -461
- data/config/syntax/Rez.json +0 -137
- data/config/syntax/Ruby Sass.json +0 -497
- data/config/syntax/Ruby.json +0 -1753
- data/config/syntax/S5 Slide Show.json +0 -85
- data/config/syntax/SQL.json +0 -435
- data/config/syntax/SSH Config.json +0 -55
- data/config/syntax/SWIG.json +0 -96
- data/config/syntax/SWeave.json +0 -139
- data/config/syntax/Scheme.json +0 -359
- data/config/syntax/Scilab.json +0 -69
- data/config/syntax/Setext.json +0 -247
- data/config/syntax/Shell Script (Bash).json +0 -1198
- data/config/syntax/Slate.json +0 -265
- data/config/syntax/Strings File.json +0 -53
- data/config/syntax/TSV.json +0 -83
- data/config/syntax/Tcl.json +0 -278
- data/config/syntax/TeX Math.json +0 -83
- data/config/syntax/TeX.json +0 -157
- data/config/syntax/Textile.json +0 -273
- data/config/syntax/Thrift.json +0 -641
- data/config/syntax/Twiki.json +0 -436
- data/config/syntax/Txt2tags.json +0 -154
- data/config/syntax/Vectorscript.json +0 -97
- data/config/syntax/XML strict.json +0 -148
- data/config/syntax/XML.json +0 -301
- data/config/syntax/XSL.json +0 -96
- data/config/syntax/YAML.json +0 -293
- data/config/syntax/camlp4.json +0 -63
- data/config/syntax/iCalendar.json +0 -51
- data/config/syntax/mod_perl.json +0 -72
- data/config/syntax/reStructuredText.json +0 -403
- data/config/syntax/svn-commit.tmp.json +0 -62
- data/config/theme/Active4D.json +0 -260
- data/config/theme/All Hallow's Eve.json +0 -171
- data/config/theme/Amy.json +0 -359
- data/config/theme/BBEdit.json +0 -269
- data/config/theme/Bespin.json +0 -322
- data/config/theme/Blackboard.json +0 -215
- data/config/theme/BoysAndGirls01.json +0 -156
- data/config/theme/Brilliance Black.json +0 -1695
- data/config/theme/Brilliance Dull.json +0 -1451
- data/config/theme/Classic Modified.json +0 -288
- data/config/theme/Cobalt.json +0 -345
- data/config/theme/Cool Glow.json +0 -215
- data/config/theme/Dawn.json +0 -258
- data/config/theme/Eiffel.json +0 -270
- data/config/theme/Espresso Libre.json +0 -247
- data/config/theme/Fluidvision.json +0 -272
- data/config/theme/IDLE.json +0 -159
- data/config/theme/LAZY.json +0 -178
- data/config/theme/Mac Classic.json +0 -277
- data/config/theme/MagicWB (Amiga).json +0 -231
- data/config/theme/Merbivore Soft.json +0 -181
- data/config/theme/Merbivore.json +0 -181
- data/config/theme/Monokai.json +0 -177
- data/config/theme/Notepad2.json +0 -166
- data/config/theme/Pastels on Dark.json +0 -437
- data/config/theme/RubyBlue.json +0 -226
- data/config/theme/Sin City 2.json +0 -361
- data/config/theme/Slate.json +0 -270
- data/config/theme/Slush & Poppies.json +0 -232
- data/config/theme/SpaceCadet.json +0 -143
- data/config/theme/Sunburst.json +0 -415
- data/config/theme/Twilight BG FG.json +0 -633
- data/config/theme/Twilight.json +0 -321
- data/config/theme/Whys Poignant.json +0 -119
- data/config/theme/Zenburnesque.json +0 -237
- data/config/theme/barf.json +0 -155
- data/config/theme/fake.json +0 -418
- data/config/theme/happydeluxe.json +0 -114
- data/config/theme/iLife 05.json +0 -393
- data/config/theme/iPlastic.json +0 -177
- data/config/theme/mintBlue Dark.json +0 -414
- data/config/theme/mintBlue.json +0 -415
- data/config/theme/monoindustrial.json +0 -276
- data/config/theme/starlight.json +0 -67
- data/lib/ver/layout.rb +0 -177
- data/lib/ver/methods/select.rb +0 -322
- data/lib/ver/methods/shortcuts.rb +0 -21
- data/lib/ver/methods/views.rb +0 -81
- data/lib/ver/mode.rb +0 -207
- data/lib/ver/status/context.rb +0 -166
- data/lib/ver/view.rb +0 -190
- data/lib/ver/view/console.rb +0 -171
- data/lib/ver/view/entry.rb +0 -32
- data/lib/ver/view/list.rb +0 -152
- data/lib/ver/view/list/buffer.rb +0 -27
- data/lib/ver/view/list/ex.rb +0 -71
- data/lib/ver/view/list/fuzzy_file_finder.rb +0 -44
- data/lib/ver/view/list/grep.rb +0 -53
- data/lib/ver/view/list/methods.rb +0 -159
- data/lib/ver/view/list/syntax.rb +0 -13
- data/lib/ver/view/list/theme.rb +0 -13
- data/lib/ver/view/term.rb +0 -255
- data/tasks/plist2json.rake +0 -35
@@ -0,0 +1,114 @@
|
|
1
|
+
# Encoding: UTF-8
|
2
|
+
|
3
|
+
{comment:
|
4
|
+
"Modified from the original ASP bundle. Originally modified by Thomas Aylott subtleGradient.com",
|
5
|
+
fileTypes: ["vb"],
|
6
|
+
foldingStartMarker:
|
7
|
+
/(<(?i:(head|table|div|style|script|ul|ol|form|dl))\b.*?>|\{|^\s*<?%?\s*'?\s*(?i:(sub|private\s+Sub|public\s+Sub|function|if|while|For))\s*.*$)/,
|
8
|
+
foldingStopMarker:
|
9
|
+
/(<\/(?i:(head|table|div|style|script|ul|ol|form|dl))>?|\}|^\s*<?%?\s*\s*'?\s*(?i:(end|Next))\s*.*$)/,
|
10
|
+
keyEquivalent: "^~A",
|
11
|
+
name: "ASP vb.NET",
|
12
|
+
patterns:
|
13
|
+
[{match: /\n/, name: "meta.ending-space"},
|
14
|
+
{include: "#round-brackets"},
|
15
|
+
{begin: /^(?=\t)/,
|
16
|
+
end: "(?=[^\\t])",
|
17
|
+
name: "meta.leading-space",
|
18
|
+
patterns:
|
19
|
+
[{captures:
|
20
|
+
{1 => {name: "meta.odd-tab.tabs"}, 2 => {name: "meta.even-tab.tabs"}},
|
21
|
+
match: /(\t)(\t)?/}]},
|
22
|
+
{begin: /^(?= )/,
|
23
|
+
end: "(?=[^ ])",
|
24
|
+
name: "meta.leading-space",
|
25
|
+
patterns:
|
26
|
+
[{captures:
|
27
|
+
{1 => {name: "meta.odd-tab.spaces"},
|
28
|
+
2 => {name: "meta.even-tab.spaces"}},
|
29
|
+
match: /( )( )?/}]},
|
30
|
+
{captures:
|
31
|
+
{1 => {name: "storage.type.function.asp"},
|
32
|
+
2 => {name: "entity.name.function.asp"},
|
33
|
+
3 => {name: "punctuation.definition.parameters.asp"},
|
34
|
+
4 => {name: "variable.parameter.function.asp"},
|
35
|
+
5 => {name: "punctuation.definition.parameters.asp"}},
|
36
|
+
match: /^\s*((?i:function|sub))\s*([a-zA-Z_]\w*)\s*(\()([^)]*)(\)).*\n?/,
|
37
|
+
name: "meta.function.asp"},
|
38
|
+
{begin: /'/,
|
39
|
+
beginCaptures: {0 => {name: "punctuation.definition.comment.asp"}},
|
40
|
+
end: "(?=(\\n|%>))",
|
41
|
+
name: "comment.line.apostrophe.asp"},
|
42
|
+
{match:
|
43
|
+
/(?i:\b(If|Then|Else|ElseIf|Else If|End If|While|Wend|For|To|Each|Case|Select|End Select|Return|Continue|Do|Until|Loop|Next|With|Exit Do|Exit For|Exit Function|Exit Property|Exit Sub|IIf)\b)/,
|
44
|
+
name: "keyword.control.asp"},
|
45
|
+
{match: /(?i:\b(Mod|And|Not|Or|Xor|as)\b)/, name: "keyword.operator.asp"},
|
46
|
+
{captures:
|
47
|
+
{1 => {name: "storage.type.asp"},
|
48
|
+
2 => {name: "variable.other.bfeac.asp"},
|
49
|
+
3 => {name: "meta.separator.comma.asp"}},
|
50
|
+
match:
|
51
|
+
/(?i:(dim)\s*(?:(\b[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\b)\s*(,?)))/,
|
52
|
+
name: "variable.other.dim.asp"},
|
53
|
+
{match:
|
54
|
+
/(?i:\s*\b(Call|Class|Const|Dim|Redim|Function|Sub|Private Sub|Public Sub|End sub|End Function|Set|Let|Get|New|Randomize|Option Explicit|On Error Resume Next|On Error GoTo)\b\s*)/,
|
55
|
+
name: "storage.type.asp"},
|
56
|
+
{match: /(?i:\b(Private|Public|Default)\b)/, name: "storage.modifier.asp"},
|
57
|
+
{match: /(?i:\s*\b(Empty|False|Nothing|Null|True)\b)/,
|
58
|
+
name: "constant.language.asp"},
|
59
|
+
{begin: /"/,
|
60
|
+
beginCaptures: {0 => {name: "punctuation.definition.string.begin.asp"}},
|
61
|
+
end: "\"",
|
62
|
+
endCaptures: {0 => {name: "punctuation.definition.string.end.asp"}},
|
63
|
+
name: "string.quoted.double.asp",
|
64
|
+
patterns:
|
65
|
+
[{match: /""/, name: "constant.character.escape.apostrophe.asp"}]},
|
66
|
+
{captures: {1 => {name: "punctuation.definition.variable.asp"}},
|
67
|
+
match: /(\$)[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\b\s*/,
|
68
|
+
name: "variable.other.asp"},
|
69
|
+
{match:
|
70
|
+
/(?i:\b(Application|ObjectContext|Request|Response|Server|Session)\b)/,
|
71
|
+
name: "support.class.asp"},
|
72
|
+
{match:
|
73
|
+
/(?i:\b(Contents|StaticObjects|ClientCertificate|Cookies|Form|QueryString|ServerVariables)\b)/,
|
74
|
+
name: "support.class.collection.asp"},
|
75
|
+
{match:
|
76
|
+
/(?i:\b(TotalBytes|Buffer|CacheControl|Charset|ContentType|Expires|ExpiresAbsolute|IsClientConnected|PICS|Status|ScriptTimeout|CodePage|LCID|SessionID|Timeout)\b)/,
|
77
|
+
name: "support.constant.asp"},
|
78
|
+
{match:
|
79
|
+
/(?i:\b(Lock|Unlock|SetAbort|SetComplete|BianryRead|AddHeader|AppendToLog|BinaryWrite|Clear|End|Flush|Redirect|Write|CreateObject|HTMLEncode|MapPath|URLEncode|Abandon|Convert|Regex)\b)/,
|
80
|
+
name: "support.function.asp"},
|
81
|
+
{match:
|
82
|
+
/(?i:\b(Application_OnEnd|Application_OnStart|OnTransactionAbort|OnTransactionCommit|Session_OnEnd|Session_OnStart)\b)/,
|
83
|
+
name: "support.function.event.asp"},
|
84
|
+
{match: /(?i:(?<=as )(\b[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\b))/,
|
85
|
+
name: "support.type.vb.asp"},
|
86
|
+
{match:
|
87
|
+
/(?i:\b(Array|Add|Asc|Atn|CBool|CByte|CCur|CDate|CDbl|Chr|CInt|CLng|Conversions|Cos|CreateObject|CSng|CStr|Date|DateAdd|DateDiff|DatePart|DateSerial|DateValue|Day|Derived|Math|Escape|Eval|Exists|Exp|Filter|FormatCurrency|FormatDateTime|FormatNumber|FormatPercent|GetLocale|GetObject|GetRef|Hex|Hour|InputBox|InStr|InStrRev|Int|Fix|IsArray|IsDate|IsEmpty|IsNull|IsNumeric|IsObject|Item|Items|Join|Keys|LBound|LCase|Left|Len|LoadPicture|Log|LTrim|RTrim|Trim|Maths|Mid|Minute|Month|MonthName|MsgBox|Now|Oct|Remove|RemoveAll|Replace|RGB|Right|Rnd|Round|ScriptEngine|ScriptEngineBuildVersion|ScriptEngineMajorVersion|ScriptEngineMinorVersion|Second|SetLocale|Sgn|Sin|Space|Split|Sqr|StrComp|String|StrReverse|Tan|Time|Timer|TimeSerial|TimeValue|TypeName|UBound|UCase|Unescape|VarType|Weekday|WeekdayName|Year)\b)/,
|
88
|
+
name: "support.function.vb.asp"},
|
89
|
+
{match:
|
90
|
+
/-?\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f)?\b/,
|
91
|
+
name: "constant.numeric.asp"},
|
92
|
+
{match:
|
93
|
+
/(?i:\b(vbtrue|fvbalse|vbcr|vbcrlf|vbformfeed|vblf|vbnewline|vbnullchar|vbnullstring|int32|vbtab|vbverticaltab|vbbinarycompare|vbtextcomparevbsunday|vbmonday|vbtuesday|vbwednesday|vbthursday|vbfriday|vbsaturday|vbusesystemdayofweek|vbfirstjan1|vbfirstfourdays|vbfirstfullweek|vbgeneraldate|vblongdate|vbshortdate|vblongtime|vbshorttime|vbobjecterror|vbEmpty|vbNull|vbInteger|vbLong|vbSingle|vbDouble|vbCurrency|vbDate|vbString|vbObject|vbError|vbBoolean|vbVariant|vbDataObject|vbDecimal|vbByte|vbArray)\b)/,
|
94
|
+
name: "support.type.vb.asp"},
|
95
|
+
{captures: {1 => {name: "entity.name.function.asp"}},
|
96
|
+
match: /(?i:(\b[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\b)(?=\(\)?))/,
|
97
|
+
name: "support.function.asp"},
|
98
|
+
{match:
|
99
|
+
/(?i:((?<=(\+|=|-|\&|\\|\/|<|>|\(|,))\s*\b([a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?)\b(?!(\(|\.))|\b([a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?)\b(?=\s*(\+|=|-|\&|\\|\/|<|>|\(|\)))))/,
|
100
|
+
name: "variable.other.asp"},
|
101
|
+
{match:
|
102
|
+
/!|\$|%|&|\*|\-\-|\-|\+\+|\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\|\||\?\:|\*=|\/=|%=|\+=|\-=|&=|\^=|\b(in|instanceof|new|delete|typeof|void)\b/,
|
103
|
+
name: "keyword.operator.js"}],
|
104
|
+
repository:
|
105
|
+
{:"round-brackets" =>
|
106
|
+
{begin: /\(/,
|
107
|
+
beginCaptures:
|
108
|
+
{0 => {name: "punctuation.section.round-brackets.begin.asp"}},
|
109
|
+
end: "\\)",
|
110
|
+
endCaptures: {0 => {name: "punctuation.section.round-brackets.end.asp"}},
|
111
|
+
name: "meta.round-brackets",
|
112
|
+
patterns: [{include: "source.asp.vb.net"}]}},
|
113
|
+
scopeName: "source.asp.vb.net",
|
114
|
+
uuid: "7F9C9343-D48E-4E7D-BFE8-F680714DCD3E"}
|
@@ -0,0 +1,72 @@
|
|
1
|
+
# Encoding: UTF-8
|
2
|
+
|
3
|
+
{comment:
|
4
|
+
"ASP SCRIPTING DICTIONARY – By Rich Barton: Version 1.0 (based on PHP Scripting Dictionary by Justin French, Sune Foldager and Allan Odgaard) Note: .asp is handled by asp/html",
|
5
|
+
fileTypes: ["asa"],
|
6
|
+
foldingStartMarker:
|
7
|
+
/(?i)^\s*(Public|Private)?\s*(Class|Function|Sub|Property)\s*([a-zA-Z_]\w*)\s*(\(.*\)\s*)?$/,
|
8
|
+
foldingStopMarker: /(?i)^\s*End (Class|Function|Sub|Property)\s*$/,
|
9
|
+
keyEquivalent: "^~A",
|
10
|
+
name: "ASP",
|
11
|
+
patterns:
|
12
|
+
[{captures:
|
13
|
+
{1 => {name: "storage.type.function.asp"},
|
14
|
+
2 => {name: "entity.name.function.asp"},
|
15
|
+
3 => {name: "punctuation.definition.parameters.asp"},
|
16
|
+
4 => {name: "variable.parameter.function.asp"},
|
17
|
+
5 => {name: "punctuation.definition.parameters.asp"}},
|
18
|
+
match: /^\s*((?i:function|sub))\s*([a-zA-Z_]\w*)\s*(\()([^)]*)(\)).*\n?/,
|
19
|
+
name: "meta.function.asp"},
|
20
|
+
{captures: {1 => {name: "punctuation.definition.comment.asp"}},
|
21
|
+
match: /(').*$\n?/,
|
22
|
+
name: "comment.line.apostrophe.asp"},
|
23
|
+
{captures: {1 => {name: "punctuation.definition.comment.asp"}},
|
24
|
+
match: /(REM ).*$\n?/,
|
25
|
+
name: "comment.line.rem.asp"},
|
26
|
+
{match:
|
27
|
+
/(?i:\b(If|Then|Else|ElseIf|End If|While|Wend|For|To|Each|In|Step|Case|Select|End Select|Return|Continue|Do|Until|Loop|Next|With|Exit Do|Exit For|Exit Function|Exit Property|Exit Sub)\b)/,
|
28
|
+
name: "keyword.control.asp"},
|
29
|
+
{match: /=|>=|<|>|<|<>|\+|-|\*|\^|&|\b(?i:(Mod|And|Not|Or|Xor|Is))\b/,
|
30
|
+
name: "keyword.operator.asp"},
|
31
|
+
{match:
|
32
|
+
/(?i:\b(Call|Class|Const|Dim|Redim|Function|Sub|Property|End Property|End sub|End Function|Set|Let|Get|New|Randomize|Option Explicit|On Error Resume Next|On Error GoTo)\b)/,
|
33
|
+
name: "storage.type.asp"},
|
34
|
+
{match: /(?i:\b(Private|Public|Default)\b)/, name: "storage.modifier.asp"},
|
35
|
+
{match: /(?i:\b(Empty|False|Nothing|Null|True)\b)/,
|
36
|
+
name: "constant.language.asp"},
|
37
|
+
{begin: /"/,
|
38
|
+
beginCaptures: {0 => {name: "punctuation.definition.string.begin.asp"}},
|
39
|
+
end: "\"(?!\")",
|
40
|
+
endCaptures: {0 => {name: "punctuation.definition.string.end.asp"}},
|
41
|
+
name: "string.quoted.double.asp",
|
42
|
+
patterns:
|
43
|
+
[{match: /""/, name: "constant.character.escape.apostrophe.asp"}]},
|
44
|
+
{captures: {1 => {name: "punctuation.definition.variable.asp"}},
|
45
|
+
match: /(\$)[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\b/,
|
46
|
+
name: "variable.other.asp"},
|
47
|
+
{match:
|
48
|
+
/(?i:\b(Application|ObjectContext|Request|Response|Server|Session)\b)/,
|
49
|
+
name: "support.class.asp"},
|
50
|
+
{match:
|
51
|
+
/(?i:\b(Contents|StaticObjects|ClientCertificate|Cookies|Form|QueryString|ServerVariables)\b)/,
|
52
|
+
name: "support.class.collection.asp"},
|
53
|
+
{match:
|
54
|
+
/(?i:\b(TotalBytes|Buffer|CacheControl|Charset|ContentType|Expires|ExpiresAbsolute|IsClientConnected|PICS|Status|ScriptTimeout|CodePage|LCID|SessionID|Timeout)\b)/,
|
55
|
+
name: "support.constant.asp"},
|
56
|
+
{match:
|
57
|
+
/(?i:\b(Lock|Unlock|SetAbort|SetComplete|BianryRead|AddHeader|AppendToLog|BinaryWrite|Clear|End|Flush|Redirect|Write|CreateObject|HTMLEncode|MapPath|URLEncode|Abandon)\b)/,
|
58
|
+
name: "support.function.asp"},
|
59
|
+
{match:
|
60
|
+
/(?i:\b(Application_OnEnd|Application_OnStart|OnTransactionAbort|OnTransactionCommit|Session_OnEnd|Session_OnStart|Class_Initialize|Class_Terminate)\b)/,
|
61
|
+
name: "support.function.event.asp"},
|
62
|
+
{match:
|
63
|
+
/(?i:\b(Array|Add|Asc|Atn|CBool|CByte|CCur|CDate|CDbl|Chr|CInt|CLng|Conversions|Cos|CreateObject|CSng|CStr|Date|DateAdd|DateDiff|DatePart|DateSerial|DateValue|Day|Derived|Math|Escape|Eval|Exists|Exp|Filter|FormatCurrency|FormatDateTime|FormatNumber|FormatPercent|GetLocale|GetObject|GetRef|Hex|Hour|InputBox|InStr|InStrRev|Int|Fix|IsArray|IsDate|IsEmpty|IsNull|IsNumeric|IsObject|Item|Items|Join|Keys|LBound|LCase|Left|Len|LoadPicture|Log|LTrim|RTrim|Trim|Maths|Mid|Minute|Month|MonthName|MsgBox|Now|Oct|Remove|RemoveAll|Replace|RGB|Right|Rnd|Round|ScriptEngine|ScriptEngineBuildVersion|ScriptEngineMajorVersion|ScriptEngineMinorVersion|Second|SetLocale|Sgn|Sin|Space|Split|Sqr|StrComp|String|StrReverse|Tan|Time|Timer|TimeSerial|TimeValue|TypeName|UBound|UCase|Unescape|VarType|Weekday|WeekdayName|Year)\b)/,
|
64
|
+
name: "support.function.vb.asp"},
|
65
|
+
{match:
|
66
|
+
/\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f)?\b/,
|
67
|
+
name: "constant.numeric.asp"},
|
68
|
+
{match:
|
69
|
+
/(?i:\b(vbtrue|fvbalse|vbcr|vbcrlf|vbformfeed|vblf|vbnewline|vbnullchar|vbnullstring|vbtab|vbverticaltab|vbbinarycompare|vbtextcomparevbsunday|vbmonday|vbtuesday|vbwednesday|vbthursday|vbfriday|vbsaturday|vbusesystemdayofweek|vbfirstjan1|vbfirstfourdays|vbfirstfullweek|vbgeneraldate|vblongdate|vbshortdate|vblongtime|vbshorttime|vbobjecterror|vbEmpty|vbNull|vbInteger|vbLong|vbSingle|vbDouble|vbCurrency|vbDate|vbString|vbObject|vbError|vbBoolean|vbVariant|vbDataObject|vbDecimal|vbByte|vbArray)\b)/,
|
70
|
+
name: "support.type.vb.asp"}],
|
71
|
+
scopeName: "source.asp",
|
72
|
+
uuid: "291022B4-6B1D-11D9-90EB-000D93589AF6"}
|
@@ -0,0 +1,83 @@
|
|
1
|
+
# Encoding: UTF-8
|
2
|
+
|
3
|
+
{fileTypes: ["as"],
|
4
|
+
foldingStartMarker: /(\/\*\*|\{\s*$)/,
|
5
|
+
foldingStopMarker: /(\*\*\/|^\s*\})/,
|
6
|
+
keyEquivalent: /^~A/,
|
7
|
+
name: "ActionScript",
|
8
|
+
patterns:
|
9
|
+
[{match:
|
10
|
+
/\b(R(ecordset|DBMSResolver|adioButton(Group)?)|X(ML(Socket|Node|Connector)?|UpdateResolverDataHolder)|M(M(Save|Execute)|icrophoneMicrophone|o(use|vieClip(Loader)?)|e(nu(Bar)?|dia(Controller|Display|Playback))|ath)|B(yName|inding|utton)|S(haredObject|ystem|crollPane|t(yleSheet|age|ream)|ound|e(ndEvent|rviceObject)|OAPCall|lide)|N(umericStepper|et(stream|S(tream|ervices)|Connection|Debug(Config)?))|C(heckBox|o(ntextMenu(Item)?|okie|lor|m(ponentMixins|boBox))|ustomActions|lient|amera)|T(ypedValue|ext(Snapshot|Input|F(ield|ormat)|Area)|ree|AB)|Object|D(ownload|elta(Item|Packet)?|at(e(Chooser|Field)?|a(G(lue|rid)|Set|Type)))|U(RL|TC|IScrollBar)|P(opUpManager|endingCall|r(intJob|o(duct|gressBar)))|E(ndPoint|rror)|Video|Key|F(RadioButton|GridColumn|MessageBox|BarChart|S(croll(Bar|Pane)|tyleFormat|plitView)|orm|C(heckbox|omboBox|alendar)|unction|T(icker|ooltip(Lite)?|ree(Node)?)|IconButton|D(ataGrid|raggablePane)|P(ieChart|ushButton|ro(gressBar|mptBox))|L(i(stBox|neChart)|oadingBox)|AdvancedMessageBox)|W(indow|SDLURL|ebService(Connector)?)|L(ist|o(calConnection|ad(er|Vars)|g)|a(unch|bel))|A(sBroadcaster|cc(ordion|essibility)|S(Set(Native|PropFlags)|N(ew|ative)|C(onstructor|lamp(2)?)|InstanceOf)|pplication|lert|rray))\b/,
|
11
|
+
name: "support.class.actionscript.2"},
|
12
|
+
{match:
|
13
|
+
/\b(s(h(ift|ow(GridLines|Menu|Border|Settings|Headers|ColumnHeaders|Today|Preferences)?|ad(ow|ePane))|c(hema|ale(X|Mode|Y|Content)|r(oll(Track|Drag)?|een(Resolution|Color|DPI)))|t(yleSheet|op(Drag|A(nimation|llSounds|gent))?|epSize|a(tus|rt(Drag|A(nimation|gent))?))|i(n|ze|lence(TimeOut|Level))|o(ngname|urce|rt(Items(By)?|On(HeaderRelease)?|able(Columns)?)?)|u(ppressInvalidCalls|bstr(ing)?)|p(li(ce|t)|aceCol(umnsEqually|lumnsEqually))|e(nd(DefaultPushButtonEvent|AndLoad)?|curity|t(R(GB|o(otNode|w(Height|Count))|esizable(Columns)?|a(nge|te))|G(ain|roupName)|X(AxisTitle)?|M(i(n(imum|utes)|lliseconds)|o(nth(Names)?|tionLevel|de)|ultilineMode|e(ssage|nu(ItemEnabled(At)?|EnabledAt)|dia)|a(sk|ximum))|B(u(tton(s|Width)|fferTime)|a(seTabIndex|ndwidthLimit|ckground))|S(howAsDisabled|croll(ing|Speed|Content|Target|P(osition|roperties)|barState|Location)|t(yle(Property)?|opOnFocus|at(us|e))|i(ze|lenceLevel)|ort(able(Columns)?|Function)|p(litterBarPosition|acing)|e(conds|lect(Multiple|ion(Required|Type)?|Style|Color|ed(Node(s)?|Cell|I(nd(ices|ex)|tem(s)?))?|able))|kin|m(oothness|allScroll))|H(ighlight(s|Color)|Scroll|o(urs|rizontal)|eader(Symbol|Height|Text|Property|Format|Width|Location)?|as(Shader|CloseBox))|Y(ear|AxisTitle)?|N(ode(Properties|ExpansionHandler)|ewTextFormat)|C(h(ildNodes|a(ngeHandler|rt(Title|EventHandler)))|o(ntent(Size)?|okie|lumns)|ell(Symbol|Data)|l(i(ckHandler|pboard)|oseHandler)|redentials)|T(ype(dVaule)?|i(tle(barHeight)?|p(Target|Offset)?|me(out(Handler)?)?)|oggle|extFormat|ransform)|I(s(Branch|Open)|n(terval|putProperty)|con(SymbolName)?|te(rator|m(ByKey|Symbol)))|Orientation|D(i(splay(Range|Graphics|Mode|Clip|Text|edMonth)|rection)|uration|e(pth(Below|To|Above)|fault(GatewayURL|Mappings|NodeIconSymbolName)|l(iveryMode|ay)|bug(ID)?)|a(yOfWeekNames|t(e(Filter)?|a(Mapping(s)?|Item(Text|Property|Format)|Provider|All(Height|Property|Format|Width))?))|ra(wConnectors|gContent))|U(se(Shadow|HandCursor|EchoSuppression|rInput|Fade)|TC(M(i(nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear))|P(osition|ercentComplete|an(e(M(inimumSize|aximumSize)|Size|Title))?|ro(pert(y(Data)?|iesAt)|gress))|E(nabled|dit(Handler|able)|xpand(NodeTrigger|erSymbolName))|V(Scroll|olume|alue(Source)?)|KeyFrameInterval|Quality|F(i(eld|rst(DayOfWeek|VisibleNode))|ocus|ullYear|ps|ade(InLength|OutLength)|rame(Color|Width))|Width|L(ine(Color|Weight)|o(opback|adTarget)|a(rgeScroll|bel(Source|Placement)?))|A(s(Boolean|String|Number)|n(yTypedValue|imation)|ctiv(e(State(Handler)?|Handler)|ateHandler)|utoH(ideScrollBar|eight)))?|paratorBefore|ek|lect(ion(Disabled|Unfocused)?|ed(Node(s)?|Child|I(nd(ices|ex)|tem(s)?)|Dat(e|a))?|able(Ranges)?)|rver(String)?)|kip|qrt|wapDepths|lice|aveToSharedObj|moothing)|h(scroll(Policy)?|tml(Text)?|i(t(Test(TextNearPos)?|Area)|de(BuiltInItems|Child)?|ghlight(2D|3D)?)|orizontal|e(ight|ader(Re(nderer|lease)|Height|Text))|P(osition|ageScrollSize)|a(s(childNodes|MP3|S(creen(Broadcast|Playback)|treaming(Video|Audio)|ort)|Next|OwnProperty|Pr(inting|evious)|EmbeddedVideo|VideoEncoder|A(ccesibility|udio(Encoder)?))|ndlerName)|LineScrollSize)|ye(sLabel|ar)|n(o(t|de(Name|Close|Type|Open|Value)|Label)|u(llValue|mChild(S(creens|lides)|ren|Forms))|e(w(Item|line|Value|LocationDialog)|xt(S(cene|ibling|lide)|TabIndex|Value|Frame)?)?|ame(s)?)|c(h(ildNodes|eck|a(nge(sPending)?|r(CodeAt|At))|r)|o(s|n(st(ant|ructor)|nect|c(urrency|at)|t(ent(Type|Path)?|ains|rol(Placement|lerPolicy))|denseWhite|version)|py|l(or|umn(Stretch|Name(s)?|Count))|m(p(onent|lete)|ment))|u(stomItems|ePoint(s)?|r(veTo|Value|rent(Slide|ChildSlide|Item|F(ocused(S(creen|lide)|Form)|ps))))|e(il|ll(Renderer|Press|Edit|Focus(In|Out)))|l(i(ck|ents)|o(se(Button|Pane)?|ne(Node)?)|ear(S(haredObjects|treams)|Timeout|Interval)?)|a(ncelLabel|tch|p(tion|abilities)|l(cFields|l(e(e|r))?))|reate(GatewayConnection|Menu|Se(rver|gment)|C(hild(AtDepth)?|l(ient|ass(ChildAtDepth|Object(AtDepth)?))|all)|Text(Node|Field)|Item|Object(AtDepth)?|PopUp|E(lement|mptyMovieClip)))|t(h(is|row)|ype(of|Name)?|i(tle(StyleDeclaration)?|me(out)?)|o(talTime|String|olTipText|p|UpperCase|ggle(HighQuality)?|Lo(caleString|werCase))|e(st|llTarget|xt(RightMargin|Bold|S(ize|elected)|Height|Color|I(ndent|talic)|Disabled|Underline|F(ield|ont)|Width|LeftMargin|Align)?)|a(n|rget(Path)?|b(Stops|Children|Index|Enabled|leName))|r(y|igger|ac(e|k(AsMenu)?)))|i(s(Running|Branch|NaN|Con(soleOpen|nected)|Toggled|Installed|Open|D(own|ebugger)|P(urchased|ro(totypeOf|pertyEnumerable))|Empty|F(inite|ullyPopulated)|Local|Active)|n(s(tall|ertBefore)|cludeDeltaPacketInfo|t|it(ialize|Component|Pod|A(pplication|gent))?|de(nt|terminate|x(InParent(Slide|Form)?|Of)?)|put|validate|finity|LocalInternetCache)?|con(F(ield|unction))?|t(e(ratorScrolled|m(s|RollO(ut|ver)|ClassName))|alic)|d3|p|fFrameLoaded|gnore(Case|White))|o(s|n(R(ollO(ut|ver)|e(s(ize|ult)|l(ease(Outside)?|aseOutside)))|XML|Mouse(Move|Down|Up|Wheel)|S(ync|croller|tatus|oundComplete|e(tFocus|lect(edItem)?))|N(oticeEvent|etworkChange)|C(hanged|onnect|l(ipEvent|ose))|ID3|D(isconnect|eactivate|ata|ragO(ut|ver))|Un(install|load)|P(aymentResult|ress)|EnterFrame|K(illFocus|ey(Down|Up))|Fault|Lo(ad|g)|A(ctiv(ity|ate)|ppSt(op|art)))?|pe(n|ration)|verLayChildren|kLabel|ldValue|r(d)?)|d(i(s(connect|play(Normal|ed(Month|Year)|Full)|able(Shader|d(Ranges|Days)|CloseBox|Events))|rection)|o(cTypeDecl|tall|Decoding|main|LazyDecoding)|u(plicateMovieClip|ration)|e(stroy(ChildAt|Object)|code|fault(PushButton(Enabled)?|KeydownHandler)?|l(ta(Packet(Changed)?)?|ete(PopUp|All)?)|blocking)|a(shBoardSave|yNames|ta(Provider)?|rkshadow)|r(opdown(Width)?|a(w|gO(ut|ver))))|u(se(Sort|HandCursor|Codepage|EchoSuppression)|n(shift|install|derline|escape|format|watch|lo(ck|ad(Movie(Num)?)?))|pdate(Results|Mode|I(nputProperties|tem(ByIndex)?)|P(acket|roperties)|View|AfterEvent)|rl)|join|p(ixelAspectRatio|o(sition|p|w)|u(sh|rge|blish)|ercen(tComplete|Loaded)|lay(head(Change|Time)|ing|Hidden|erType)?|a(ssword|use|r(se(XML|CSS|Int|Float)|ent(Node|Is(S(creen|lide)|Form))|ams))|r(int(Num|AsBitmap(Num)?)?|o(to(type)?|pert(y|ies)|gress)|e(ss|v(ious(S(ibling|lide)|Value)?|Scene|Frame)|ferred(Height|Width))))|e(scape|n(code(r)?|ter(Frame)?|dFill|able(Shader|d|CloseBox|Events))|dit(able|Field|LocationDialog)|v(ent|al(uate)?)|q|x(tended|p|ec(ute)?|actSettings)|m(phasized(StyleDeclaration)?|bedFonts))|v(i(sible|ewPod)|ScrollPolicy|o(id|lume)|ersion|P(osition|ageScrollSize)|a(l(idat(ionError|e(Property|ActivationKey)?)|ue(Of)?)|riable)|LineScrollSize)|k(ind|ey(Down|Up|Press|FrameInterval))|q(sort|uality)|f(scommand|i(n(d(Text|First|Last)?|ally)|eldInfo|lter(ed|Func)?|rst(Slide|Child|DayOfWeek|VisibleNode)?)|o(nt|cus(In|edCell|Out|Enabled)|r(egroundDisabled|mat(ter)?))|unctionName|ps|l(oor|ush)|ace|romCharCode)|w(i(th|dth)|ordWrap|atch|riteAccess)|l(t|i(st(Owner)?|ne(Style|To))|o(c(k|a(t(ion|eByld)|l(ToGlobal|FileReadDisable)))|opback|ad(Movie(Num)?|S(crollContent|ound)|ed|Variables(Num)?|Application)?|g(Changes)?)|e(ngth|ft(Margin)?|ading)?|a(st(Slide|Child|Index(Of)?)?|nguage|b(el(Placement|F(ield|unction))?|leField)))|a(s(scociate(Controller|Display)|in|pectRatio|function)|nd|c(ceptConnection|tiv(ityLevel|ePlayControl)|os)|t(t(ach(Movie|Sound|Video|Audio)|ributes)|an(2)?)|dd(header|RequestHeader|Menu(Item(At)?|At)?|Sort|Header|No(tice|de(At)?)|C(olumn(At)?|uePoint)|T(oLocalInternetCache|reeNode(At)?)|I(con|tem(s(At)?|At)?)|DeltaItem|P(od|age|roperty)|EventListener|View|FieldInfo|Listener|Animation)?|uto(Size|Play|KeyNav|Load)|pp(endChild|ly(Changes|Updates)?)|vHardwareDisable|fterLoaded|l(ternateRowColors|ign|l(ow(InsecureDomain|Domain)|Transitions(InDone|OutDone))|bum)|r(tist|row|g(uments|List))|gent|bs)|r(ight(Margin)?|o(ot(S(creen|lide)|Form)|und|w(Height|Count)|llO(ut|ver))|e(s(yncDepth|t(orePane|artAnimation|rict)|iz(e|able(Columns)?)|olveDelta|ult(s)?|ponse)|c(o(ncile(Results|Updates)|rd)|eive(Video|Audio))|draw|jectConnection|place(Sel|ItemAt|AllItems)?|ve(al(Child)?|rse)|quest(SizeChange|Payment)?|f(errer|resh(ScrollContent|Destinations|Pane|FromSources)?)|lease(Outside)?|ad(Only|Access)|gister(SkinElement|C(olor(Style|Name)|lass)|InheritingStyle|Proxy)|move(Range|M(ovieClip|enu(Item(At)?|At))|Background|Sort|No(tice|de(sAt|At)?)|C(olum(nAt|At)|uePoints)|T(extField|reeNode(At)?)|Item(At)?|Pod|EventListener|FromLocalInternetCache|Listener|All(C(olumns|uePoints)|Items)?))|a(ndom|te|dioDot))|g(t|oto(Slide|NextSlide|PreviousSlide|FirstSlide|LastSlide|And(Stop|Play))|e(nre|t(R(GB|o(otNode|wCount)|e(sizable|mote))|X(AxisTitle)?|M(i(n(imum(Size)?|utes)|lliseconds)|onth(Names)?|ultilineMode|e(ssage|nu(ItemAt|EnabledAt|At))|aximum(Size)?)|B(ytes(Total|Loaded)|ounds|utton(s|Width)|eginIndex|a(ndwidthLimit|ckground))|S(howAsDisabled|croll(ing|Speed|Content|Position|barState|Location)|t(yle(Names)?|opOnFocus|ate)|ize|o(urce|rtState)|p(litterBarPosition|acing)|e(conds|lect(Multiple|ion(Required|Type)|Style|ed(Node(s)?|Cell|Text|I(nd(ices|ex)|tem(s)?))?)|rvice)|moothness|WFVersion)|H(ighlight(s|Color)|ours|e(ight|ader(Height|Text|Property|Format|Width|Location)?)|as(Shader|CloseBox))|Y(ear|AxisTitle)?|N(o(tices|de(DisplayedAt|At))|um(Children|berAvailable)|e(wTextFormat|xtHighestDepth))|C(h(ild(S(creen|lide)|Nodes|Form|At)|artTitle)|o(n(tent|figInfo)|okie|de|unt|lumn(Names|Count|Index|At))|uePoint|ellIndex|loseHandler|a(ll|retIndex))|T(ypedValue|i(tle(barHeight)?|p(Target|Offset)?|me(stamp|zoneOffset|out(State|Handler)|r)?)|oggle|ext(Extent|Format)?|r(ee(NodeAt|Length)|ans(form|actionId)))|I(s(Branch|Open)|n(stanceAtDepth|d(icesByKey|exByKey))|con(SymbolName)?|te(rator|m(sByKey|By(Name|Key)|id|ID|At))|d)|O(utput(Parameter(s|ByName)?|Value(s)?)|peration|ri(entation|ginalCellData))|D(i(s(play(Range|Mode|Clip|Index|edMonth)|kUsage)|rection)|uration|e(pth|faultNodeIconSymbolName|l(taPacket|ay)|bug(Config|ID)?)|a(y(OfWeekNames)?|t(e|a(Mapping(s)?|Item(Text|Property|Format)|Label|All(Height|Property|Format|Width))?))|rawConnectors)|U(se(Shadow|HandCursor|rInput|Fade)|RL|TC(M(i(nutes|lliseconds)|onth)|Seconds|Hours|Da(y|te)|FullYear))|P(o(sition|ds)|ercentComplete|a(n(e(M(inimums|aximums)|Height|Title|Width))?|rentNode)|r(operty(Name|Data)?|efer(ences|red(Height|Width))))|E(n(dIndex|abled)|ditingData|x(panderSymbolName|andNodeTrigger))|V(iewed(Pods|Applications)|olume|ersion|alue(Source)?)|F(i(eld|rst(DayOfWeek|VisibleNode))|o(ntList|cus)|ullYear|ade(InLength|OutLength)|rame(Color|Width))|Width|L(ine(Color|Weight)|o(cal|adTarget)|ength|a(stTabIndex|bel(Source)?))|A(s(cii|Boolean|String|Number)|n(yTypedValue|imation)|ctiv(eState(Handler)?|ateHandler)|utoH(ideScrollBar|eight)|llItems|gent))?)?|lobal(StyleFormat|ToLocal)?|ain|roupName)|x(updatePackety|mlDecl)?|m(y(MethodName|Call)|in(imum)?|o(nthNames|tion(TimeOut|Level)|de(lChanged)?|use(Move|O(ut|ver)|Down(Somewhere|Outside)?|Up(Somewhere)?|WheelEnabled)|ve(To)?)|u(ted|lti(pleS(imultaneousAllowed|elections)|line))|e(ssage|nu(Show|Hide)?|th(od)?|diaType)|a(nufacturer|tch|x(scroll|hscroll|imum|HPosition|Chars|VPosition)?)|b(substring|chr|ord|length))|b(ytes(Total|Loaded)|indFormat(Strings|Function)|o(ttom(Scroll)?|ld|rder(Color)?)|u(tton(Height|Width)|iltInItems|ffer(Time|Length)|llet)|e(foreApplyUpdates|gin(GradientFill|Fill))|lockIndent|a(ndwidth|ckground(Style|Color|Disabled)?)|roadcastMessage)|onHTTPStatus)\b/,
|
14
|
+
name: "support.function.actionscript.2"},
|
15
|
+
{match:
|
16
|
+
/\b(__proto__|__resolve|_accProps|_alpha|_changed|_currentframe|_droptarget|_flash|_focusrect|_framesloaded|_global|_height|_highquality|_level|_listeners|_lockroot|_name|_parent|_quality|_root|_rotation|_soundbuftime|_target|_totalframes|_url|_visible|_width|_x|_xmouse|_xscale|_y|_ymouse|_yscale)\b/,
|
17
|
+
name: "support.constant.actionscript.2"},
|
18
|
+
{match:
|
19
|
+
/\b(dynamic|extends|import|implements|interface|public|private|new|static|super|var|for|in|break|continue|while|do|return|if|else|case|switch)\b/,
|
20
|
+
name: "keyword.control.actionscript.2"},
|
21
|
+
{match: /\b(Boolean|Number|String|Void)\b/,
|
22
|
+
name: "storage.type.actionscript.2"},
|
23
|
+
{match: /\b(null|undefined|true|false)\b/,
|
24
|
+
name: "constant.language.actionscript.2"},
|
25
|
+
{match:
|
26
|
+
/\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f)?\b/,
|
27
|
+
name: "constant.numeric.actionscript.2"},
|
28
|
+
{begin: /"/,
|
29
|
+
beginCaptures:
|
30
|
+
{0 => {name: "punctuation.definition.string.begin.actionscript.2"}},
|
31
|
+
end: "\"",
|
32
|
+
endCaptures:
|
33
|
+
{0 => {name: "punctuation.definition.string.end.actionscript.2"}},
|
34
|
+
name: "string.quoted.double.actionscript.2",
|
35
|
+
patterns:
|
36
|
+
[{match: /\\./, name: "constant.character.escape.actionscript.2"}]},
|
37
|
+
{begin: /'/,
|
38
|
+
beginCaptures:
|
39
|
+
{0 => {name: "punctuation.definition.string.begin.actionscript.2"}},
|
40
|
+
end: "'",
|
41
|
+
endCaptures:
|
42
|
+
{0 => {name: "punctuation.definition.string.end.actionscript.2"}},
|
43
|
+
name: "string.quoted.single.actionscript.2",
|
44
|
+
patterns:
|
45
|
+
[{match: /\\./, name: "constant.character.escape.actionscript.2"}]},
|
46
|
+
{match:
|
47
|
+
/\b(BACKSPACE|CAPSLOCK|CONTROL|DELETEKEY|DOWN|END|ENTER|HOME|INSERT|LEFT|LN10|LN2|LOG10E|LOG2E|MAX_VALUE|MIN_VALUE|NEGATIVE_INFINITY|NaN|PGDN|PGUP|PI|POSITIVE_INFINITY|RIGHT|SPACE|SQRT1_2|SQRT2|UP)\b/,
|
48
|
+
name: "support.constant.actionscript.2"},
|
49
|
+
{begin: /\/\*/,
|
50
|
+
captures: {0 => {name: "punctuation.definition.comment.actionscript.2"}},
|
51
|
+
end: "\\*/",
|
52
|
+
name: "comment.block.actionscript.2"},
|
53
|
+
{captures: {1 => {name: "punctuation.definition.comment.actionscript.2"}},
|
54
|
+
match: /(\/\/).*$\n?/,
|
55
|
+
name: "comment.line.double-slash.actionscript.2"},
|
56
|
+
{match: /\b(instanceof)\b/, name: "keyword.operator.actionscript.2"},
|
57
|
+
{match: /[-!%&*+=\/?:]/, name: "keyword.operator.symbolic.actionscript.2"},
|
58
|
+
{captures:
|
59
|
+
{1 => {name: "punctuation.definition.preprocessor.actionscript.2"}},
|
60
|
+
match: /^[ \t]*(#)[a-zA-Z]+/,
|
61
|
+
name: "meta.preprocessor.actionscript.2"},
|
62
|
+
{begin: /\b(function)\s+([a-zA-Z_]\w*)\s*(\()/,
|
63
|
+
captures:
|
64
|
+
{1 => {name: "storage.type.function.actionscript.2"},
|
65
|
+
2 => {name: "entity.name.function.actionscript.2"},
|
66
|
+
3 => {name: "punctuation.definition.parameters.begin.actionscript.2"}},
|
67
|
+
end: "\\)",
|
68
|
+
endCaptures:
|
69
|
+
{0 => {name: "punctuation.definition.parameters.end.actionscript.2"}},
|
70
|
+
name: "meta.function.actionscript.2",
|
71
|
+
patterns:
|
72
|
+
[{match: /[^,)\n]+/,
|
73
|
+
name: "variable.parameter.function.actionscript.2"}]},
|
74
|
+
{captures:
|
75
|
+
{1 => {name: "storage.type.class.actionscript.2"},
|
76
|
+
2 => {name: "entity.name.type.class.actionscript.2"},
|
77
|
+
3 => {name: "storage.modifier.extends.actionscript.2"},
|
78
|
+
4 => {name: "entity.other.inherited-class.actionscript.2"}},
|
79
|
+
match:
|
80
|
+
/\b(class)\s+([a-zA-Z_](?:\w|\.)*)(?:\s+(extends)\s+([a-zA-Z_](?:\w|\.)*))?/,
|
81
|
+
name: "meta.class.actionscript.2"}],
|
82
|
+
scopeName: "source.actionscript.2",
|
83
|
+
uuid: "E5A6EC91-6EE4-11D9-BAB4-000D93589AF6"}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# Encoding: UTF-8
|
2
|
+
|
3
|
+
{fileTypes: ["ini"],
|
4
|
+
keyEquivalent: "^~A",
|
5
|
+
name: "Active4D Config",
|
6
|
+
patterns:
|
7
|
+
[{captures: {1 => {name: "punctuation.definition.comment.active4d-ini"}},
|
8
|
+
match: /(\/\/).*$\n?/,
|
9
|
+
name: "comment.line.double-slash.active4d-ini"},
|
10
|
+
{captures: {1 => {name: "punctuation.definition.comment.active4d-ini"}},
|
11
|
+
match: /(`).*$\n?/,
|
12
|
+
name: "comment.line.backtick.active4d-ini"},
|
13
|
+
{captures: {1 => {name: "punctuation.definition.comment.active4d-ini"}},
|
14
|
+
match: /(\\\\).*$\n?/,
|
15
|
+
name: "comment.line.double-backslash.continuation.active4d-ini"},
|
16
|
+
{begin: /\/\*/,
|
17
|
+
captures: {0 => {name: "punctuation.definition.comment.active4d-ini"}},
|
18
|
+
end: "\\*/",
|
19
|
+
name: "comment.block.active4d-ini"},
|
20
|
+
{begin: /"(?!"")/,
|
21
|
+
beginCaptures:
|
22
|
+
{0 => {name: "punctuation.definition.string.begin.active4d-ini"}},
|
23
|
+
end: "\"",
|
24
|
+
endCaptures:
|
25
|
+
{0 => {name: "punctuation.definition.string.end.active4d-ini"}},
|
26
|
+
name: "string.quoted.double.active4d-ini",
|
27
|
+
patterns: [{include: "#escaped_char"}]},
|
28
|
+
{match: /\b(?i)(true|false|yes|no)\b/,
|
29
|
+
name: "constant.language.boolean.active4d-ini"},
|
30
|
+
{match: /=/, name: "keyword.operator.active4d-ini"},
|
31
|
+
{match:
|
32
|
+
/(?i)((\b(use sessions|use session cookies|session var name|session timeout|session purge interval|session cookie path|session cookie name|session cookie domain|serve nonexecutables|script timeout|safe script dirs|safe doc dirs|root|refresh interval|receive timeout|platform charset|parameter mode|output encoding|output charset|max request size|log level|locale|lib extension|lib dirs|http error page|fusebox page|expires|executable extensions|error page|encrypted source|default page|content charset|client is web server|cache control|auto relate one|auto relate many|auto refresh libs|auto create vars|auto create sessions)\b)|(\<default\>|\<web\>|\<4d volume\>|\<boot volume\>))/,
|
33
|
+
name: "support.constant.active4d-ini"}],
|
34
|
+
repository:
|
35
|
+
{escaped_char:
|
36
|
+
{match: /\\./, name: "constant.character.escape.active4d-ini"}},
|
37
|
+
scopeName: "text.active4d-ini",
|
38
|
+
uuid: "BECA5580-F845-4715-889C-134DF4BF67C2"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Encoding: UTF-8
|
2
|
+
|
3
|
+
{fileTypes: ["a4l"],
|
4
|
+
foldingStartMarker:
|
5
|
+
/(?x)
|
6
|
+
(^\s*(?i:if|while|for\ each|for|case\ of|repeat|method)\b
|
7
|
+
|^\s*<fusedoc\ fuse
|
8
|
+
)/,
|
9
|
+
foldingStopMarker:
|
10
|
+
/(?x)
|
11
|
+
(^\s*(?i:end\ (if|while|for\ each|for|case|method)|until)\b
|
12
|
+
|^\s*<\/fusedoc>
|
13
|
+
)/,
|
14
|
+
keyEquivalent: "^~A",
|
15
|
+
name: "Active4D Library",
|
16
|
+
patterns:
|
17
|
+
[{match: /(?i:end library|library)/, name: "keyword.other.active4d"},
|
18
|
+
{include: "source.active4d"}],
|
19
|
+
scopeName: "source.active4d.library",
|
20
|
+
uuid: "A595B09A-3829-48CB-958B-7D6C4646409D"}
|
@@ -0,0 +1,237 @@
|
|
1
|
+
# Encoding: UTF-8
|
2
|
+
|
3
|
+
{fileTypes: [],
|
4
|
+
foldingStartMarker:
|
5
|
+
/(?x)
|
6
|
+
(^\s*(?i:if|while|for\ each|for|case\ of|repeat|method|save output)\b
|
7
|
+
)/,
|
8
|
+
foldingStopMarker:
|
9
|
+
/(?x)
|
10
|
+
(^\s*(?i:end\ (if|while|for\ each|for|case|method|save output)|until)\b
|
11
|
+
)/,
|
12
|
+
keyEquivalent: "^~A",
|
13
|
+
name: "Active4D",
|
14
|
+
patterns:
|
15
|
+
[{captures: {1 => {name: "punctuation.definition.comment.active4d"}},
|
16
|
+
match: /(?:(`).*(?=%>)|(`).*$\n)/,
|
17
|
+
name: "comment.line.backtick.active4d"},
|
18
|
+
{captures: {1 => {name: "punctuation.definition.comment.active4d"}},
|
19
|
+
match: /(?:(\/\/).*(?=%>)|(\/\/).*$\n)/,
|
20
|
+
name: "comment.line.double-slash.active4d"},
|
21
|
+
{captures: {1 => {name: "punctuation.definition.comment.active4d"}},
|
22
|
+
match: /(\\\\).*$\n?/,
|
23
|
+
name: "comment.line.double-backslash.continuation.active4d"},
|
24
|
+
{begin: /\/\*/,
|
25
|
+
captures: {0 => {name: "punctuation.definition.comment.active4d"}},
|
26
|
+
end: "\\*/",
|
27
|
+
name: "comment.block.active4d",
|
28
|
+
patterns: [{include: "#fusedoc"}]},
|
29
|
+
{begin: /"(?!"")/,
|
30
|
+
beginCaptures:
|
31
|
+
{0 => {name: "punctuation.definition.string.begin.active4d"}},
|
32
|
+
end: "\"",
|
33
|
+
endCaptures: {0 => {name: "punctuation.definition.string.end.active4d"}},
|
34
|
+
name: "string.quoted.double.active4d",
|
35
|
+
patterns: [{include: "#escaped_char"}]},
|
36
|
+
{begin: /"""/,
|
37
|
+
beginCaptures:
|
38
|
+
{0 => {name: "punctuation.definition.string.begin.active4d"}},
|
39
|
+
end: "\"\"\"",
|
40
|
+
endCaptures: {0 => {name: "punctuation.definition.string.end.active4d"}},
|
41
|
+
name: "string.quoted.triple.heredoc.active4d",
|
42
|
+
patterns: [{include: "#escaped_char"}]},
|
43
|
+
{begin: /'(?!'')/,
|
44
|
+
beginCaptures:
|
45
|
+
{0 => {name: "punctuation.definition.string.begin.active4d"}},
|
46
|
+
end: "'",
|
47
|
+
endCaptures: {0 => {name: "punctuation.definition.string.end.active4d"}},
|
48
|
+
name: "string.interpolated.quoted.single.active4d",
|
49
|
+
patterns: [{include: "#interpolated_string"}]},
|
50
|
+
{begin: /'''/,
|
51
|
+
beginCaptures:
|
52
|
+
{0 => {name: "punctuation.definition.string.begin.active4d"}},
|
53
|
+
end: "'''",
|
54
|
+
endCaptures: {0 => {name: "punctuation.definition.string.end.active4d"}},
|
55
|
+
name: "string.interpolated.quoted.triple.heredoc.active4d",
|
56
|
+
patterns: [{include: "#interpolated_string"}]},
|
57
|
+
{match:
|
58
|
+
/(?<![[:alpha:]])[\-]?(?:0x[[:xdigit:]]{1,4}|\d+(\.\d+)?)(?![[:alpha:]])/,
|
59
|
+
name: "constant.numeric.active4d"},
|
60
|
+
{match: /\b(?i)(true|false)\b/, name: "constant.language.boolean.active4d"},
|
61
|
+
{captures: {1 => {name: "punctuation.definition.variable.active4d"}},
|
62
|
+
match: /(\$)[\w_]+/,
|
63
|
+
name: "variable.other.local.active4d"},
|
64
|
+
{captures: {1 => {name: "punctuation.definition.variable.active4d"}},
|
65
|
+
match: /(\<\>)[\w_]+/,
|
66
|
+
name: "variable.other.interprocess.active4d"},
|
67
|
+
{captures:
|
68
|
+
{1 => {name: "punctuation.definition.variable.active4d"},
|
69
|
+
2 => {name: "punctuation.definition.variable.active4d"}},
|
70
|
+
match: /(\[)[^\[].*?(\])([\w_ ]+)?/,
|
71
|
+
name: "variable.other.table-field.active4d"},
|
72
|
+
{captures:
|
73
|
+
{1 => {name: "punctuation.definition.constant.active4d"},
|
74
|
+
2 => {name: "punctuation.definition.constant.active4d"}},
|
75
|
+
match: /(!)\d{1,2}[\/ \-]\d{1,2}[\/ \-]\d{1,4}(!)/,
|
76
|
+
name: "constant.other.date.active4d"},
|
77
|
+
{captures:
|
78
|
+
{1 => {name: "punctuation.definition.constant.active4d"},
|
79
|
+
2 => {name: "punctuation.definition.constant.active4d"}},
|
80
|
+
match: /(\?)\d{1,2}[: ]\d{1,2}[: ]\d{1,2}(\?)/,
|
81
|
+
name: "constant.other.time.active4d"},
|
82
|
+
{match:
|
83
|
+
/(?i)\b(Write Mode|UTF8 Text without length|UTF8 Text with length|UTF8 C string|Text without length|Text array|System date short|System date long|System date abbreviated|String array|Short|Real array|Read Mode|Read and Write|position from start|position from end|position from current|Pointer array|Picture array|No current record|New record|native byte ordering|Month Day Year|MM DD YYYY Forced|MM DD YYYY|MAXTEXTLEN|MAXLONG|Mac text without length|Mac text with length|Longint array|Long|little endian byte ordering|Line feed|Is Undefined|Is Time|Is Text|Is String Var|Is Real|Is Pointer|Is Picture|Is Longint|Is Integer|Is Date|Is Boolean|Is BLOB|Is Alpha Field|is a document|is a directory|Into variable|Into set|Into named selection|Into current selection|Integer array|Hour Min Sec|Hour Min|HH MM SS|HH MM AM PM|HH MM|Get Pathname|Date array|Carriage return|Boolean array|big endian byte ordering|Array 2D|Abbreviated|Abbr Month Day|A4D Parameter Mode Separate|A4D Parameter Mode Query|A4D Parameter Mode Form|A4D License Type OEM|A4D License Type Deployment|A4D Encoding Tags|A4D Encoding Quotes|A4D Encoding None|A4D Encoding HTML|A4D Encoding Extended|A4D Encoding Ampersand|A4D Encoding All|A4D Charset Win|A4D Charset UTF8|A4D Charset Shift_JIS|A4D Charset None|A4D Charset Mac|A4D Charset ISO Latin1|A4D Charset GB2312)\b/,
|
84
|
+
name: "support.constant.active4d"},
|
85
|
+
{comment: "4D and Active4D commands",
|
86
|
+
match:
|
87
|
+
/(?i)\b(_request|_query|_form|Year of|writep|writeln|writebr|write to console|write raw|write png|WRITE PICTURE FILE|write jpg|write jpeg|write gif|write blob|write|Win to Mac|week of year|variable name|VALIDATE TRANSACTION|utf to mac|utc to local time|utc to local datetime|USE SET|USE NAMED SELECTION|url to native path|url encode query|url encode path|url encode|url decode query|url decode path|url decode|Uppercase|unlock globals|UNLOAD RECORD|UNION|Undefined|type descriptor|Type|Trunc|True|trim|timestamp year|timestamp time|timestamp string|timestamp second|timestamp month|timestamp minute|timestamp millisecond|timestamp hour|timestamp difference|timestamp day|timestamp date|timestamp|time to longint|Time string|Time|Tickcount|throw|TEXT TO BLOB|Test semaphore|Test path name|Table name|Table|Substring|Structure file|STRING LIST TO ARRAY|String|START TRANSACTION|split string|SORT ARRAY|slice string|Size of array|set session timeout|set session array|set session|set script timeout|set response status|set response header|set response cookie path|set response cookie expires|set response cookie domain|set response cookie|set response buffer|SET QUERY LIMIT|SET QUERY DESTINATION|set platform charset|set output encoding|set output charset|set log level|set local|set global array|set global|set expires date|set expires|set error page|SET DOCUMENT POSITION|SET DEFAULT CENTURY|set current script timeout|set content type|set content charset|set collection array|set collection|set cache control|SET BLOB SIZE|SET AUTOMATIC RELATIONS|set array|session to blob|session query|session local|session internal id|session id|session has|session|Sequence number|SEND PACKET|Semaphore|SELECTION TO ARRAY|SELECTION RANGE TO ARRAY|Selected record number|SCAN INDEX|save upload to field|SAVE RECORD|save output|save collection|Round|right trim|response headers|response cookies|response buffer size|RESOLVE POINTER|resize array|require|requested url|request query|request info|request cookies|Replace string|REMOVE FROM SET|RELATE ONE SELECTION|RELATE ONE|RELATE MANY SELECTION|RELATE MANY|regex split|regex replace|regex quote pattern|regex match all|regex match|regex find in array|regex find all in array|regex callback replace|REDUCE SELECTION|redirect|Records in table|Records in set|Records in selection|Record number|RECEIVE PACKET|READ WRITE|READ PICTURE FILE|Read only state|READ ONLY|random between|Random|QUERY WITH ARRAY|QUERY SELECTION BY FORMULA|QUERY SELECTION|query params has|query params|QUERY BY FORMULA|QUERY|PREVIOUS RECORD|Position|Picture size|PICTURE PROPERTIES|parameter mode|param text|ORDER BY FORMULA|ORDER BY|Open document|ONE RECORD SELECT|Num|Not|nil pointer|Nil|NEXT RECORD|next item|new local collection|new global collection|new collection|native to url path|multisort named arrays|multisort arrays|MOVE DOCUMENT|more items|Month of|min of|Milliseconds|method exists|merge collections|md5 sum|max of|Mac to Win|mac to utf8|Mac to ISO|mac to html|Lowercase|longint to time|longint to blob|log message|Locked|lock globals|local variables|local time to utc|local datetime to utc|LOAD RECORD|load collection|LIST TO ARRAY|library list|Length|left trim|LAST RECORD|last of|last not of|join paths|join array|ISO to Mac|is table number valid|Is in set|is field number valid|is array|is an iterator|is a collection|INTERSECTION|interpolate string|Int|insert string|insert into array|INSERT ELEMENT|include into|include|in error|import|identical strings|html encode|hide session field|GOTO SELECTED RECORD|GOTO RECORD|globals has|globals|global|get version|get utc delta|get upload size|get upload remote filename|get upload extension|get upload encoding|get upload content type|get timestamp datetime|get time remaining|get session timeout|get session stats|get session names|get session item|get session array size|get session array|get session|get script timeout|get root|get response headers|get response header|get response cookies|get response cookie path|get response cookie expires|get response cookie domain|get response cookie|get response buffer|get request value|get request infos|get request info|get request cookies|get request cookie|get query params|get query param count|get query param choices|get query param|Get pointer|get platform charset|GET PICTURE FROM LIBRARY|get output encoding|get output charset|get log level|get local|get license info|get library list|get last table number|get last field number|get item value|get item type|get item key|get item array|Get indexed string|get global keys|get global item|get global array size|get global array|get global|get form variables|get form variable count|get form variable choices|get form variable|GET FIELD PROPERTIES|get field pointer|get field numbers|get expires date|get expires|get error page|Get document position|get current script timeout|get content type|get content charset|get collection keys|get collection item count|get collection item|get collection array size|get collection array|get collection|get call chain|get cache control|get auto relations|full requested url|form variables has|form variables|FOLDER LIST|FIRST RECORD|first of|first not of|Find index key|Find in array|fill array|filename of|file exists|Field name|Field|False|extension of|execute in 4d|EXECUTE|End selection|end save output|enclose|DOCUMENT TO BLOB|DOCUMENT LIST|DISTINCT VALUES|directory separator|directory of|directory exists|DIFFERENCE|Delete string|delete session item|DELETE SELECTION|delete response header|delete response cookie|DELETE RECORD|delete global|DELETE FOLDER|DELETE ELEMENT|DELETE DOCUMENT|delete collection item|DELAY PROCESS|defined|define|default directory|deep copy collection|deep clear collection|Dec|day of year|Day of|Day number|Date|C_TIME|C_TEXT|C_STRING|C_REAL|C_POINTER|C_PICTURE|C_LONGINT|C_DATE|C_BOOLEAN|C_BLOB|CUT NAMED SELECTION|Current time|current realm|Current process|current platform|current path|Current method name|current line number|current library name|current file|Current date|CREATE SET FROM ARRAY|CREATE SET|CREATE SELECTION FROM ARRAY|CREATE RECORD|CREATE FOLDER|CREATE EMPTY SET|Create document|count uploads|Count tables|count session items|count response headers|count response cookies|count request infos|count request cookies|count query params|Count in array|count globals|count form variables|Count fields|count collection items|copy upload|COPY SET|COPY NAMED SELECTION|COPY DOCUMENT|copy collection|COPY ARRAY|concat|compare strings|collection to blob|collection has|collection|CLOSE DOCUMENT|CLEAR VARIABLE|CLEAR SET|CLEAR SEMAPHORE|clear response buffer|CLEAR NAMED SELECTION|clear collection|clear buffer (deprecated)|clear array|choose|Character code|Char|cell|capitalize|CANCEL TRANSACTION|call method|call 4d method|build query string|blowfish encrypt|blowfish decrypt|BLOB to text|blob to session|blob to longint|BLOB TO DOCUMENT|blob to collection|BLOB size|Before selection|base64 encode|base64 decode|AUTOMATIC RELATIONS|auto relate|authenticate|auth user|auth type|auth password|Ascii|ARRAY TEXT|ARRAY STRING|ARRAY REAL|ARRAY POINTER|ARRAY PICTURE|ARRAY LONGINT|ARRAY INTEGER|ARRAY DATE|ARRAY BOOLEAN|append to array|Append document|ALL RECORDS|add to timestamp|ADD TO SET|Add to date|add element|Abs|abandon session|abandon response cookie)\b/,
|
88
|
+
name: "support.function.active4d"},
|
89
|
+
{comment: "library methods",
|
90
|
+
match:
|
91
|
+
/(?i)\b((yearMonthDay|writeDumpStyles|writeBold|write|warnInvalidField|valueList|valueCountNoCase|valueCount|validPrice|validEmailAddress|validateTextFields|unlockAndLoad|truncateText|toJSON|timedOut|startObject|startArray|sourceRowCount|sort|setTitle|setTimeout|setSMTPHost|setSMTPAuthorization|setSeparator|setRelateOne|setMailMethod|setDivId|setDefaults|setColumnData|setColumnArray|setAt|sendMail|sendFuseaction|saveFormToSession|rowCount|reverseArray|rest|qualify|previous|prepend|postHandleError|persistent|ordinalOf|nextID|next|newFromSelection|newFromRowSet|newFromFile|newFromData|newFromCachedSelection|newFromArrays|newFromArray|new|move|maxRows|makeURL|makeSafeMailto|makeLinks|makeFuseboxLinks|listToArray|len|last|isLast|isFuseboxRequest|isFirst|isBeforeFirst|isAfterLast|insertAt|hideUniqueField|hideField|handleError|gotoRow|getVariablesIterator|getUniqueID|getTitle|getTimeout|getStarts|getStart|getSMTPHost|getSMTPAuthUser|getSMTPAuthPassword|getSMTPAuthorization|getRow|getPointerReferent|getPictureDescriptor|getPersistentList|getMonthName|getMailMethod|getEnd|getEmptyFields|getDefaults|getDayName|getData|getColumnSource|getColumn|getAt|fuseboxNew|formVariableListToQuery|formatUSPhone|first|findRow|findNoCase|findColumn|find|filterCollection|endObject|endArray|encodeString|encodeDate|encodeCollection|encodeBoolean|encodeArray|encode|embedVariables|embedQueryParams|embedFormVariables|embedFormVariableList|embedCollectionItems|embedCollection|dumpPersistent|dumpLib|dumpDefaults|dump session stats|dump session|dump selection|dump RowSet|dump request info|dump request|dump query params|dump locals|dump license info|dump form variables|dump collection|dump array|dump|deleteSelection|deleteAt|currentRow|core|containsNoCase|contains|columnCount|collectionToQuery|collectionItemsToQuery|clearPersistent|chopText|checkSession|checkboxState|changeDelims|camelCaseText|buildSelectValueMenu|buildSelectMenu|buildRecordList|buildOptionsFromSelection|buildOptionsFromRowSet|buildOptionsFromOptionList|buildOptionsFromOptionArray|buildOptionsFromLists|buildOptionsFromArrays|buildArrayValueList|buildArrayList|beforeFirst|articleFor|arrayToList|append|afterLast|addSelection|addRowSet|addMetaTag|addJS|addJavascript|addDumpStyles|addCSS|addArray|add))\b/,
|
92
|
+
name: "support.function.active4d"},
|
93
|
+
{match: /(?i)\b(OK|Document|fusebox\.conf\.fuseaction|Error)\b/,
|
94
|
+
name: "support.variable.active4d"},
|
95
|
+
{captures:
|
96
|
+
{1 => {name: "support.class.active4d"},
|
97
|
+
2 => {name: "support.function.active4d"}},
|
98
|
+
match:
|
99
|
+
/(?<!\$)\b((?:a4d\.(?:console|debug|lists|utils|web|json)|Batch|Breadcrumbs|fusebox\.conf|fusebox\.head|fusebox|RowSet))\.([[:alpha:]][[[:alnum:]]_ ]+[[:alnum:]])/},
|
100
|
+
{captures:
|
101
|
+
{1 => {name: "keyword.other.active4d"},
|
102
|
+
2 => {name: "entity.name.function.active4d"}},
|
103
|
+
comment: "method definition without parameters",
|
104
|
+
match: /^\s*(method)\s*("[^"]+")(?!\s*\()/,
|
105
|
+
name: "meta.function.active4d"},
|
106
|
+
{begin: /^\s*(method)\s*((")[^"]+("))\s*(\()/,
|
107
|
+
beginCaptures:
|
108
|
+
{1 => {name: "keyword.other.active4d"},
|
109
|
+
2 => {name: "entity.name.function.active4d"},
|
110
|
+
3 => {name: "punctuation.definition.entity.active4d"},
|
111
|
+
4 => {name: "punctuation.definition.entity.active4d"},
|
112
|
+
5 => {name: "punctuation.definition.parameters.active4d"}},
|
113
|
+
comment: "method definition with parameters",
|
114
|
+
end: "(\\))\\s*(?:(?:\\\\\\\\|//|`).*)?$",
|
115
|
+
endCaptures: {1 => {name: "punctuation.definition.parameters.active4d"}},
|
116
|
+
name: "meta.function.active4d",
|
117
|
+
patterns:
|
118
|
+
[{captures:
|
119
|
+
{1 => {name: "keyword.operator.active4d"},
|
120
|
+
2 => {name: "punctuation.definition.variable.active4d"},
|
121
|
+
3 => {name: "punctuation.separator.parameters.active4d"}},
|
122
|
+
match: /(&)?(\$)[\w_]+(;)?/,
|
123
|
+
name: "variable.parameter.function.active4d"},
|
124
|
+
{begin: /(=)/,
|
125
|
+
beginCaptures:
|
126
|
+
{1 => {name: "punctuation.separator.key-value.active4d"}},
|
127
|
+
end: "(;)|(?=\\))",
|
128
|
+
endCaptures: {1 => {name: "punctuation.separator.parameters.active4d"}},
|
129
|
+
patterns: [{include: "$self"}]}]},
|
130
|
+
{match:
|
131
|
+
/(?x) (
|
132
|
+
:=
|
133
|
+
| \+=
|
134
|
+
| \-=
|
135
|
+
| \/=
|
136
|
+
| \\=
|
137
|
+
| \*=
|
138
|
+
| \%=
|
139
|
+
| \^=
|
140
|
+
| &=
|
141
|
+
| \|=
|
142
|
+
| <<=
|
143
|
+
| >>=
|
144
|
+
| >
|
145
|
+
| <
|
146
|
+
| >=
|
147
|
+
| <=
|
148
|
+
| =
|
149
|
+
| =~
|
150
|
+
| \#
|
151
|
+
| \#~
|
152
|
+
| ~
|
153
|
+
| !~
|
154
|
+
| \+
|
155
|
+
| \+\+
|
156
|
+
| \-
|
157
|
+
| \-\-
|
158
|
+
| \/
|
159
|
+
| \\
|
160
|
+
| \*
|
161
|
+
| \*\+
|
162
|
+
| \*\/
|
163
|
+
| %
|
164
|
+
| &
|
165
|
+
| \|
|
166
|
+
| \^
|
167
|
+
| \^\|
|
168
|
+
| <<
|
169
|
+
| >>
|
170
|
+
| \?\+
|
171
|
+
| \?\-
|
172
|
+
| \?\?
|
173
|
+
| \}
|
174
|
+
| \{
|
175
|
+
| ;
|
176
|
+
| \:
|
177
|
+
| \]\]
|
178
|
+
| \[\[
|
179
|
+
| \->)/,
|
180
|
+
name: "keyword.operator.active4d"},
|
181
|
+
{match:
|
182
|
+
/\b(?i)(end (if|for each|for|while|case)|if|else|while|for each|for|case of|repeat|until|break|continue)\b/,
|
183
|
+
name: "keyword.control.active4d"},
|
184
|
+
{match:
|
185
|
+
/\b(?i)(end method|method|define|return|exit|self|import|require|global|throw)\b/,
|
186
|
+
name: "keyword.other.active4d"}],
|
187
|
+
repository:
|
188
|
+
{escaped_char: {match: /\\./, name: "constant.character.escape.active4d"},
|
189
|
+
escaped_interpolated_code:
|
190
|
+
{begin: /\\`/, end: "`", name: "string.interpolated.escaped.active4d"},
|
191
|
+
escaped_interpolated_collection_ref:
|
192
|
+
{match:
|
193
|
+
/\\(_form|_query|_request|globals|session)({(".+?"|\d+|\$[\w_]+)})+(\[\[\d+\]\])*/,
|
194
|
+
name: "string.interpolated.escaped.active4d"},
|
195
|
+
escaped_interpolated_table_field:
|
196
|
+
{match: /\\\[\w[\w_ ]*\][\w_]+(\[\[\d+\]\])*/,
|
197
|
+
name: "string.interpolated.escaped.active4d"},
|
198
|
+
escaped_interpolated_variable:
|
199
|
+
{captures: {1 => {name: "punctuation.definition.variable.active4d"}},
|
200
|
+
match: /\\\$[\w_]+({(".+?"|\d+|\$[\w_]+)})*(\[\[\d+\]\])*/,
|
201
|
+
name: "string.interpolated.escaped.active4d"},
|
202
|
+
fusedoc:
|
203
|
+
{begin: /(?=^\s*<fusedoc )/,
|
204
|
+
end: "(?<=</fusedoc>)",
|
205
|
+
name: "text.xml",
|
206
|
+
patterns: [{include: "text.xml"}]},
|
207
|
+
interpolated_code:
|
208
|
+
{begin: /`/,
|
209
|
+
beginCaptures:
|
210
|
+
{0 => {name: "punctuation.definition.string.begin.active4d"}},
|
211
|
+
end: "`",
|
212
|
+
endCaptures: {0 => {name: "punctuation.definition.string.end.active4d"}},
|
213
|
+
name: "source.interpolated.active4d",
|
214
|
+
patterns: [{include: "$self"}]},
|
215
|
+
interpolated_collection_ref:
|
216
|
+
{match:
|
217
|
+
/(_form|_query|_request|globals|session)({(".+?"|\d+|\$[\w_]+)})+(\[\[\d+\]\])*/,
|
218
|
+
name: "variable.other.interpolated.collection-ref.active4d"},
|
219
|
+
interpolated_string:
|
220
|
+
{patterns:
|
221
|
+
[{include: "#escaped_interpolated_code"},
|
222
|
+
{include: "#interpolated_code"},
|
223
|
+
{include: "#escaped_interpolated_table_field"},
|
224
|
+
{include: "#interpolated_table_field"},
|
225
|
+
{include: "#escaped_interpolated_variable"},
|
226
|
+
{include: "#interpolated_variable"},
|
227
|
+
{include: "#escaped_interpolated_collection_ref"},
|
228
|
+
{include: "#interpolated_collection_ref"}]},
|
229
|
+
interpolated_table_field:
|
230
|
+
{match: /\[\w[\w_ ]*\][\w_]+(\[\[\d+\]\])*/,
|
231
|
+
name: "variable.other.interpolated.table-field.active4d"},
|
232
|
+
interpolated_variable:
|
233
|
+
{captures: {1 => {name: "punctuation.definition.variable.active4d"}},
|
234
|
+
match: /(\$)[\w_]+({(".+?"|\d+|\$[\w_]+)})*(\[\[\d+\]\])*/,
|
235
|
+
name: "variable.other.interpolated.local.active4d"}},
|
236
|
+
scopeName: "source.active4d",
|
237
|
+
uuid: "8C2BF09D-AE95-479B-B516-F8DB62C86A0C"}
|