ver 2010.02 → 2010.08
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/.yardopts +1 -1
- data/AUTHORS +2 -2
- data/CHANGELOG +1160 -0
- data/MANIFEST +212 -62
- data/README.textile +68 -9
- data/Rakefile +2 -2
- data/bin/ver +33 -8
- data/config/commands/ANTLR.rb +11 -0
- data/config/commands/ActionScript.rb +102 -0
- data/config/commands/Active4D.rb +30 -0
- data/config/commands/Ada.rb +11 -0
- data/config/commands/Ant.rb +90 -0
- data/config/commands/Apache.rb +98 -0
- data/config/commands/AppleScript.rb +169 -0
- data/config/commands/Blogging.rb +72 -0
- data/config/commands/Bulletin Board.rb +10 -0
- data/config/commands/Bundle Development.rb +83 -0
- data/config/commands/C++ Qt.rb +158 -0
- data/config/commands/C.rb +82 -0
- data/config/commands/CMake.rb +32 -0
- data/config/commands/CSS.rb +76 -0
- data/config/commands/CTags.rb +29 -0
- data/config/commands/CVS.rb +114 -0
- data/config/commands/CoffeeScript.rb +58 -0
- data/config/commands/Context Free.rb +20 -0
- data/config/commands/Cucumber.rb +94 -0
- data/config/commands/D.rb +47 -0
- data/config/commands/Darcs.rb +72 -0
- data/config/commands/Diff.rb +76 -0
- data/config/commands/Doxygen.rb +9 -0
- data/config/commands/Experimental Wiki.rb +9 -0
- data/config/commands/Experimental.rb +172 -0
- data/config/commands/F-Script.rb +13 -0
- data/config/commands/FXScript.rb +11 -0
- data/config/commands/FileMerge.rb +42 -0
- data/config/commands/Fortran.rb +58 -0
- data/config/commands/GTD2.rb +134 -0
- data/config/commands/GTDAlt.rb +225 -0
- data/config/commands/GetBundle.rb +41 -0
- data/config/commands/Go.rb +29 -0
- data/config/commands/Graphviz.rb +11 -0
- data/config/commands/Greasemonkey.rb +158 -0
- data/config/commands/Gri.rb +11 -0
- data/config/commands/Groovy Grails.rb +174 -0
- data/config/commands/Groovy.rb +66 -0
- data/config/commands/HTML.rb +206 -0
- data/config/commands/Haskell.rb +48 -0
- data/config/commands/Hotkey.rb +50 -0
- data/config/commands/Hyperlink Helper.rb +81 -0
- data/config/commands/ImageBrowser.rb +10 -0
- data/config/commands/Io.rb +11 -0
- data/config/commands/JSFL.rb +29 -0
- data/config/commands/JSON.rb +11 -0
- data/config/commands/Java.rb +45 -0
- data/config/commands/JavaDoc.rb +12 -0
- data/config/commands/JavaScript Prototype & Script.aculo.us.rb +51 -0
- data/config/commands/JavaScript YUI.rb +12 -0
- data/config/commands/JavaScript jQuery.rb +12 -0
- data/config/commands/JavaScript.rb +50 -0
- data/config/commands/LaTeX.rb +423 -0
- data/config/commands/Lisp.rb +20 -0
- data/config/commands/Logo.rb +10 -0
- data/config/commands/Logtalk.rb +34 -0
- data/config/commands/Lua.rb +29 -0
- data/config/commands/MEL.rb +20 -0
- data/config/commands/Mail.rb +73 -0
- data/config/commands/Make.rb +20 -0
- data/config/commands/Man Pages.rb +20 -0
- data/config/commands/Markdown.rb +194 -0
- data/config/commands/Math.rb +79 -0
- data/config/commands/Matlab.rb +188 -0
- data/config/commands/Maven.rb +162 -0
- data/config/commands/Mediawiki.rb +12 -0
- data/config/commands/Mercurial.rb +185 -0
- data/config/commands/MoinMoin.rb +74 -0
- data/config/commands/Movable Type.rb +68 -0
- data/config/commands/Nemerle.rb +29 -0
- data/config/commands/OCaml Experimental Completions.rb +22 -0
- data/config/commands/OCaml.rb +99 -0
- data/config/commands/Objective-C.rb +181 -0
- data/config/commands/Outlines.rb +54 -0
- data/config/commands/PHP Smarty.rb +10 -0
- data/config/commands/Pascal.rb +11 -0
- data/config/commands/Perforce.rb +102 -0
- data/config/commands/Perl.rb +78 -0
- data/config/commands/Processing.rb +11 -0
- data/config/commands/Prolog.rb +11 -0
- data/config/commands/Property List.rb +38 -0
- data/config/commands/Python Django.rb +11 -0
- data/config/commands/Python.rb +131 -0
- data/config/commands/R Console (R.app).rb +80 -0
- data/config/commands/R Console (Rdaemon).rb +414 -0
- data/config/commands/R.rb +337 -0
- data/config/commands/Ragel.rb +10 -0
- data/config/commands/Regular Expressions.rb +18 -0
- data/config/commands/Remind.rb +44 -0
- data/config/commands/Ruby RSpec.rb +40 -0
- data/config/commands/Ruby on Rails.rb +331 -0
- data/config/commands/Ruby.rb +220 -0
- data/config/commands/S5 Slide Show.rb +37 -0
- data/config/commands/SCons.rb +24 -0
- data/config/commands/SQL.rb +60 -0
- data/config/commands/SVK.rb +83 -0
- data/config/commands/SWeave.rb +63 -0
- data/config/commands/Scheme.rb +30 -0
- data/config/commands/Scilab.rb +28 -0
- data/config/commands/Setext.rb +20 -0
- data/config/commands/Shell Script.rb +59 -0
- data/config/commands/Slate.rb +9 -0
- data/config/commands/Source.rb +84 -0
- data/config/commands/Standard ML.rb +38 -0
- data/config/commands/Subversion.rb +181 -0
- data/config/commands/TODO.rb +32 -0
- data/config/commands/Tcl.rb +21 -0
- data/config/commands/TerminalMate.rb +30 -0
- data/config/commands/Text.rb +137 -0
- data/config/commands/TextMate.rb +100 -0
- data/config/commands/Textile.rb +58 -0
- data/config/commands/Thrift.rb +20 -0
- data/config/commands/Transmit.rb +34 -0
- data/config/commands/Txt2tags.rb +213 -0
- data/config/commands/Vectorscript.rb +19 -0
- data/config/commands/Widget Creator.rb +23 -0
- data/config/commands/XML.rb +29 -0
- data/config/commands/Xcode.rb +106 -0
- data/config/commands/YAML.rb +39 -0
- data/config/commands/YARD.rb +12 -0
- data/config/commands/iTerm.rb +26 -0
- data/config/commands/reStructuredText.rb +126 -0
- data/config/detect.rb +13 -1
- data/config/keymap/diakonos.rb +113 -115
- data/config/keymap/emacs.rb +6 -2
- data/config/keymap/nano.rb +104 -112
- data/config/keymap/vim.rb +329 -258
- data/config/plugin/autosave.rb +3 -6
- data/config/plugin/git.rb +18 -12
- data/config/plugin/soma.rb +1 -1
- data/config/preferences/Apache.rb +17 -17
- data/config/preferences/AppleScript.rb +5 -5
- data/config/preferences/Bundle Development.rb +10 -10
- data/config/preferences/C.rb +38 -30
- data/config/preferences/CoffeeScript.rb +28 -0
- data/config/preferences/ColdFusion.rb +6 -6
- data/config/preferences/Cucumber.rb +40 -0
- data/config/preferences/Diff.rb +4 -4
- data/config/preferences/Eiffel.rb +6 -6
- data/config/preferences/Erlang.rb +16 -16
- data/config/preferences/F-Script.rb +12 -12
- data/config/preferences/FXScript.rb +5 -5
- data/config/preferences/Fortran.rb +17 -17
- data/config/preferences/Go.rb +23 -0
- data/config/preferences/Groovy.rb +29 -0
- data/config/preferences/HTML.rb +44 -44
- data/config/preferences/Haskell.rb +14 -14
- data/config/preferences/Io.rb +11 -11
- data/config/preferences/Java.rb +8 -8
- data/config/preferences/LaTeX.rb +24 -24
- data/config/preferences/Logo.rb +6 -6
- data/config/preferences/Logtalk.rb +5 -5
- data/config/preferences/Markdown.rb +43 -0
- data/config/preferences/Maven.rb +42 -42
- data/config/preferences/Mediawiki.rb +8 -8
- data/config/preferences/Movable Type.rb +14 -14
- data/config/preferences/OCaml.rb +15 -15
- data/config/preferences/Objective-C.rb +5 -5
- data/config/preferences/PHP.rb +2564 -0
- data/config/preferences/Property List.rb +8 -8
- data/config/preferences/R.rb +5 -5
- data/config/preferences/Ruby.rb +24 -24
- data/config/preferences/Source.rb +13 -13
- data/config/preferences/Standard ML.rb +9 -9
- data/config/preferences/Tcl.rb +5 -5
- data/config/preferences/Text.rb +14 -14
- data/config/preferences/TextMate.rb +5 -5
- data/config/preferences/Textile.rb +8 -8
- data/config/preferences/YARD.rb +9 -0
- data/config/preferences/iTerm.rb +9 -9
- data/config/rc.rb +5 -2
- data/config/snippets/ASP vb.NET.rb +203 -54
- data/config/snippets/ASP.rb +51 -36
- data/config/snippets/ActionScript.rb +332 -205
- data/config/snippets/Active4D.rb +325 -256
- data/config/snippets/Ada.rb +106 -60
- data/config/snippets/Ant.rb +7 -5
- data/config/snippets/Apache.rb +24 -20
- data/config/snippets/AppleScript.rb +213 -82
- data/config/snippets/Blogging.rb +41 -18
- data/config/snippets/Bulletin Board.rb +56 -21
- data/config/snippets/Bundle Development.rb +108 -63
- data/config/snippets/C++ Qt.rb +72 -57
- data/config/snippets/C.rb +128 -100
- data/config/snippets/CMake.rb +42 -32
- data/config/snippets/CSS.rb +515 -115
- data/config/snippets/CoffeeScript.rb +85 -0
- data/config/snippets/ColdFusion.rb +2228 -1547
- data/config/snippets/Context Free.rb +35 -28
- data/config/snippets/Cucumber.rb +55 -0
- data/config/snippets/D.rb +164 -111
- data/config/snippets/DokuWiki.rb +103 -54
- data/config/snippets/Doxygen.rb +87 -40
- data/config/snippets/Eiffel.rb +121 -18
- data/config/snippets/Erlang.rb +109 -68
- data/config/snippets/F-Script.rb +30 -24
- data/config/snippets/FXScript.rb +364 -210
- data/config/snippets/Fortran.rb +462 -280
- data/config/snippets/GTDAlt.rb +10 -4
- data/config/snippets/Gettext.rb +10 -8
- data/config/snippets/Go.rb +52 -0
- data/config/snippets/Greasemonkey.rb +52 -42
- data/config/snippets/Gri.rb +12 -10
- data/config/snippets/Groovy Grails.rb +313 -0
- data/config/snippets/Groovy.rb +685 -0
- data/config/snippets/HTML.rb +325 -126
- data/config/snippets/Haskell.rb +32 -24
- data/config/snippets/Io.rb +53 -42
- data/config/snippets/Java.rb +204 -92
- data/config/snippets/JavaDoc.rb +105 -56
- data/config/snippets/JavaScript MooTools.rb +208 -13
- data/config/snippets/JavaScript Objective-J.rb +18 -15
- data/config/snippets/JavaScript Prototype & Script.aculo.us.rb +362 -107
- data/config/snippets/JavaScript YUI.rb +1245 -186
- data/config/snippets/JavaScript jQuery.rb +693 -375
- data/config/snippets/JavaScript.rb +71 -53
- data/config/snippets/LaTeX.rb +188 -0
- data/config/snippets/Lisp.rb +59 -40
- data/config/snippets/Logo.rb +12 -6
- data/config/snippets/Logtalk.rb +131 -60
- data/config/snippets/Lua.rb +43 -33
- data/config/snippets/MIPS Assembler.rb +7 -5
- data/config/snippets/Mail.rb +10 -1
- data/config/snippets/Markdown.rb +7 -0
- data/config/snippets/Matlab.rb +232 -178
- data/config/snippets/Maven.rb +6 -5
- data/config/snippets/Mediawiki.rb +43 -12
- data/config/snippets/MoinMoin.rb +50 -10
- data/config/snippets/Movable Type.rb +368 -53
- data/config/snippets/Nemerle.rb +127 -79
- data/config/snippets/OCaml Code Completion Misc.rb +1716 -72
- data/config/snippets/OCaml Code Completion Unix.rb +2128 -203
- data/config/snippets/OCaml.rb +107 -73
- data/config/snippets/ODCompletion.rb +169 -118
- data/config/snippets/Objective-C.rb +281 -193
- data/config/snippets/PHP Smarty.rb +149 -79
- data/config/snippets/PHP.rb +186 -0
- data/config/snippets/Pascal.rb +47 -33
- data/config/snippets/Perl HTML-Template.rb +33 -0
- data/config/snippets/Perl Mason.rb +50 -30
- data/config/snippets/Perl Template Toolkit.rb +25 -20
- data/config/snippets/Perl.rb +91 -72
- data/config/snippets/Processing.rb +55 -33
- data/config/snippets/Propel.rb +36 -30
- data/config/snippets/Property List.rb +57 -24
- data/config/snippets/Python Django Templates.rb +381 -95
- data/config/snippets/Python Django.rb +159 -132
- data/config/snippets/Python.rb +88 -0
- data/config/snippets/R Console (Rdaemon).rb +11 -9
- data/config/snippets/R.rb +96 -77
- data/config/snippets/Remind.rb +18 -15
- data/config/snippets/Ruby RSpec.rb +343 -238
- data/config/snippets/Ruby on Rails.rb +1116 -765
- data/config/snippets/Ruby.rb +770 -545
- data/config/snippets/S5 Slide Show.rb +32 -24
- data/config/snippets/SSH Config.rb +21 -17
- data/config/snippets/SWIG.rb +30 -18
- data/config/snippets/Scilab.rb +98 -79
- data/config/snippets/Setext.rb +10 -8
- data/config/snippets/Shell Script.rb +52 -42
- data/config/snippets/Slate.rb +62 -48
- data/config/snippets/Source.rb +24 -1
- data/config/snippets/Standard ML.rb +37 -27
- data/config/snippets/Tcl.rb +32 -26
- data/config/snippets/Text.rb +28 -15
- data/config/snippets/Textile.rb +130 -45
- data/config/snippets/Thrift.rb +22 -18
- data/config/snippets/Twiki.rb +158 -105
- data/config/snippets/Txt2tags.rb +166 -79
- data/config/snippets/Vectorscript.rb +47 -38
- data/config/snippets/Widget Creator.rb +5 -5
- data/config/snippets/XML.rb +30 -18
- data/config/snippets/YAML.rb +5 -4
- data/config/snippets/YARD.rb +93 -0
- data/config/snippets/reStructuredText.rb +25 -20
- data/config/syntax/ANTLR.rb +17 -15
- data/config/syntax/ASP vb.NET.rb +27 -24
- data/config/syntax/ASP.rb +21 -19
- data/config/syntax/ActionScript.rb +16 -16
- data/config/syntax/Active4D Config.rb +5 -5
- data/config/syntax/Active4D Library.rb +2 -2
- data/config/syntax/Active4D.rb +32 -30
- data/config/syntax/Ada.rb +13 -10
- data/config/syntax/Ant.rb +9 -7
- data/config/syntax/Apache.rb +22 -18
- data/config/syntax/AppleScript.rb +486 -192
- data/config/syntax/AsciiDoc.rb +21 -0
- data/config/syntax/BibTeX.rb +7 -7
- data/config/syntax/Blog - HTML.rb +7 -7
- data/config/syntax/Blog - Markdown.rb +6 -6
- data/config/syntax/Blog - Text.rb +2 -2
- data/config/syntax/Blog - Textile.rb +2 -2
- data/config/syntax/Bulletin Board.rb +33 -32
- data/config/syntax/C++ Qt.rb +7 -6
- data/config/syntax/C++.rb +31 -28
- data/config/syntax/C.rb +55 -51
- data/config/syntax/CMake Listfile.rb +12 -11
- data/config/syntax/CSS.rb +24 -23
- data/config/syntax/CSV.rb +3 -3
- data/config/syntax/CoffeeScript.rb +161 -0
- data/config/syntax/ColdFusion.rb +8 -8
- data/config/syntax/Context Free.rb +18 -16
- data/config/syntax/Cucumber Steps.rb +108 -0
- data/config/syntax/D.rb +70 -69
- data/config/syntax/Diff.rb +13 -10
- data/config/syntax/DokuWiki.rb +22 -18
- data/config/syntax/Doxygen.rb +1 -1
- data/config/syntax/Dylan.rb +8 -8
- data/config/syntax/Eiffel.rb +12 -12
- data/config/syntax/Erlang.rb +96 -89
- data/config/syntax/F-Script.rb +11 -9
- data/config/syntax/FXScript.rb +16 -14
- data/config/syntax/Fortran - Modern.rb +25 -24
- data/config/syntax/Fortran - Punchcard.rb +43 -40
- data/config/syntax/GTD.rb +1 -1
- data/config/syntax/GTDalt.rb +14 -11
- data/config/syntax/Gettext.rb +10 -9
- data/config/syntax/Gherkin.rb +65 -0
- data/config/syntax/Go.rb +256 -0
- data/config/syntax/Grails Server Page.rb +108 -0
- data/config/syntax/Graphviz (DOT).rb +6 -6
- data/config/syntax/Greasemonkey.rb +3 -3
- data/config/syntax/Gri.rb +12 -12
- data/config/syntax/Groovy.rb +502 -0
- data/config/syntax/HTML (ASP).rb +3 -3
- data/config/syntax/HTML (ASP.net).rb +31 -31
- data/config/syntax/HTML (Active4D).rb +19 -19
- data/config/syntax/HTML (Django).rb +6 -6
- data/config/syntax/HTML (Erlang).rb +4 -4
- data/config/syntax/HTML (Mason).rb +13 -13
- data/config/syntax/HTML (Rails).rb +5 -5
- data/config/syntax/HTML (Tcl).rb +3 -3
- data/config/syntax/HTML (Template Toolkit).rb +9 -9
- data/config/syntax/HTML.rb +27 -27
- data/config/syntax/Haskell.rb +31 -28
- data/config/syntax/Inform.rb +5 -5
- data/config/syntax/Ini.rb +4 -4
- data/config/syntax/Installer Distribution Script.rb +19 -18
- data/config/syntax/Io.rb +17 -15
- data/config/syntax/JSFL.rb +7 -6
- data/config/syntax/Java Properties.rb +3 -3
- data/config/syntax/Java Server Page (JSP).rb +5 -4
- data/config/syntax/Java.rb +40 -33
- data/config/syntax/JavaDoc.rb +24 -22
- data/config/syntax/JavaScript (Rails).rb +1 -1
- data/config/syntax/JavaScript.rb +41 -34
- data/config/syntax/Javascript YUI.rb +109 -101
- data/config/syntax/LaTeX Beamer.rb +3 -3
- data/config/syntax/LaTeX Log.rb +3 -3
- data/config/syntax/LaTeX Memoir.rb +7 -5
- data/config/syntax/LaTeX Rdaemon.rb +1 -1
- data/config/syntax/LaTeX.rb +52 -47
- data/config/syntax/Language Grammar.rb +58 -55
- data/config/syntax/Lex-Flex.rb +13 -13
- data/config/syntax/Lighttpd.rb +7 -7
- data/config/syntax/Lisp.rb +6 -5
- data/config/syntax/Literate Haskell.rb +2 -2
- data/config/syntax/Logo.rb +4 -4
- data/config/syntax/Logtalk.rb +64 -49
- data/config/syntax/Lua.rb +12 -12
- data/config/syntax/MATLAB.rb +71 -70
- data/config/syntax/MEL.rb +16 -15
- data/config/syntax/MIPS Assembler.rb +11 -11
- data/config/syntax/MacPorts Portfile.rb +16 -15
- data/config/syntax/Mail.rb +5 -4
- data/config/syntax/Makefile.rb +3 -3
- data/config/syntax/Man.rb +2 -2
- data/config/syntax/Markdown.rb +440 -0
- data/config/syntax/Maven POM.rb +17 -16
- data/config/syntax/Mediawiki.rb +46 -46
- data/config/syntax/Modula-3.rb +7 -6
- data/config/syntax/MoinMoin.rb +16 -16
- data/config/syntax/MooTools.rb +75 -65
- data/config/syntax/Movable Type (MT only).rb +18 -18
- data/config/syntax/Movable Type.rb +20 -20
- data/config/syntax/MultiMarkdown.rb +35 -0
- data/config/syntax/Nemerle.rb +12 -12
- data/config/syntax/OCaml.rb +79 -71
- data/config/syntax/OCamllex.rb +14 -14
- data/config/syntax/OCamlyacc.rb +14 -12
- data/config/syntax/Objective-C++.rb +2 -2
- data/config/syntax/Objective-C.rb +76 -70
- data/config/syntax/Objective-J.rb +30 -29
- data/config/syntax/Octave.rb +27 -27
- data/config/syntax/OpenGL.rb +4 -4
- data/config/syntax/PHP.rb +1154 -0
- data/config/syntax/Pascal.rb +8 -8
- data/config/syntax/Perl HTML-Template.rb +5 -5
- data/config/syntax/Perl.rb +80 -76
- data/config/syntax/Plain Text.rb +5 -5
- data/config/syntax/Postscript.rb +6 -6
- data/config/syntax/Processing.rb +20 -20
- data/config/syntax/Prolog.rb +2 -2
- data/config/syntax/Property List.rb +50 -47
- data/config/syntax/Prototype & Script.aculo.us (JavaScript) Bracketed.rb +15 -13
- data/config/syntax/Prototype & Script.aculo.us (JavaScript).rb +9 -8
- data/config/syntax/Python Django.rb +6 -6
- data/config/syntax/Python.rb +94 -87
- data/config/syntax/Quake Style .cfg.rb +4 -4
- data/config/syntax/R Console (Rdaemon) Plain.rb +2 -2
- data/config/syntax/R Console (Rdaemon).rb +2 -2
- data/config/syntax/R.rb +21 -20
- data/config/syntax/RSpec.rb +15 -15
- data/config/syntax/Ragel.rb +14 -13
- data/config/syntax/Rd (R Documentation).rb +4 -4
- data/config/syntax/Regular Expressions (Oniguruma).rb +11 -10
- data/config/syntax/Regular Expressions (Python).rb +9 -9
- data/config/syntax/Release Notes.rb +7 -6
- data/config/syntax/Remind.rb +19 -17
- data/config/syntax/Rez.rb +10 -9
- data/config/syntax/Ruby Haml.rb +11 -11
- data/config/syntax/Ruby on Rails.rb +26 -24
- data/config/syntax/Ruby.rb +73 -71
- data/config/syntax/S5 Slide Show.rb +9 -9
- data/config/syntax/SQL.rb +29 -27
- data/config/syntax/SSH Config.rb +4 -4
- data/config/syntax/SWIG.rb +12 -11
- data/config/syntax/SWeave.rb +8 -7
- data/config/syntax/Scheme.rb +56 -54
- data/config/syntax/Scilab.rb +7 -6
- data/config/syntax/Setext.rb +14 -13
- data/config/syntax/Shell Script (Bash).rb +42 -42
- data/config/syntax/Slate.rb +24 -19
- data/config/syntax/Smarty.rb +11 -10
- data/config/syntax/Standard ML - CM.rb +2 -2
- data/config/syntax/Standard ML.rb +26 -23
- data/config/syntax/Strings File.rb +6 -6
- data/config/syntax/TSV.rb +2 -2
- data/config/syntax/Tcl.rb +10 -9
- data/config/syntax/TeX Math.rb +7 -6
- data/config/syntax/TeX.rb +7 -7
- data/config/syntax/Textile.rb +33 -27
- data/config/syntax/Thrift.rb +37 -29
- data/config/syntax/Twiki.rb +19 -18
- data/config/syntax/Txt2tags.rb +26 -23
- data/config/syntax/Vectorscript.rb +9 -7
- data/config/syntax/XML strict.rb +6 -4
- data/config/syntax/XML.rb +55 -30
- data/config/syntax/XSL.rb +5 -5
- data/config/syntax/YAML.rb +14 -12
- data/config/syntax/camlp4.rb +5 -5
- data/config/syntax/iCalendar.rb +3 -3
- data/config/syntax/jQuery (JavaScript).rb +9 -9
- data/config/syntax/mod_perl.rb +6 -6
- data/config/syntax/qmake Project file.rb +16 -15
- data/config/syntax/reStructuredText.rb +23 -21
- data/config/syntax/svn-commit.tmp.rb +5 -5
- data/lib/ver.rb +169 -85
- data/lib/ver/action.rb +39 -30
- data/lib/ver/buffer.rb +962 -144
- data/lib/ver/buffer/frame.rb +23 -0
- data/lib/ver/buffer/invalid_trailing_whitespace.rb +17 -0
- data/lib/ver/buffer/markup_underline_link.rb +30 -0
- data/lib/ver/buffer/matching_brace.rb +22 -0
- data/lib/ver/buffer/term.rb +1 -1
- data/lib/ver/clipboard.rb +107 -0
- data/lib/ver/digraphs.rb +1373 -0
- data/lib/ver/entry.rb +54 -43
- data/lib/ver/event.rb +335 -0
- data/lib/ver/exception_view.rb +3 -1
- data/lib/ver/executor.rb +7 -7
- data/lib/ver/executor/buffer.rb +4 -4
- data/lib/ver/executor/encoding.rb +19 -0
- data/lib/ver/executor/entry.rb +9 -9
- data/lib/ver/executor/fuzzy_file_finder.rb +1 -1
- data/lib/ver/executor/label.rb +2 -0
- data/lib/ver/executor/method.rb +2 -3
- data/lib/ver/help/describe_key.rb +44 -44
- data/lib/ver/hover_completion.rb +11 -6
- data/lib/ver/keymap.rb +68 -39
- data/lib/ver/layout/paned.rb +56 -44
- data/lib/ver/layout/toplevel.rb +68 -0
- data/lib/ver/layout/vim.rb +919 -0
- data/lib/ver/major_mode.rb +49 -49
- data/lib/ver/methods.rb +22 -25
- data/lib/ver/methods/basic.rb +49 -20
- data/lib/ver/methods/bookmark.rb +33 -33
- data/lib/ver/methods/clipboard.rb +186 -49
- data/lib/ver/methods/completion.rb +5 -5
- data/lib/ver/methods/control.rb +47 -66
- data/lib/ver/methods/delete.rb +5 -122
- data/lib/ver/methods/help.rb +2 -2
- data/lib/ver/methods/insert.rb +101 -29
- data/lib/ver/methods/layout.rb +62 -64
- data/lib/ver/methods/macro.rb +45 -0
- data/lib/ver/methods/move.rb +63 -349
- data/lib/ver/methods/nano.rb +99 -71
- data/lib/ver/methods/open.rb +8 -7
- data/lib/ver/methods/preview.rb +34 -14
- data/lib/ver/methods/save.rb +194 -163
- data/lib/ver/methods/search.rb +169 -81
- data/lib/ver/methods/search_and_replace.rb +62 -49
- data/lib/ver/methods/selection.rb +26 -54
- data/lib/ver/methods/snippet.rb +79 -54
- data/lib/ver/methods/undo.rb +12 -16
- data/lib/ver/minibuffer.rb +283 -134
- data/lib/ver/minor_mode.rb +36 -47
- data/lib/ver/mode_resolving.rb +71 -0
- data/lib/ver/platform.rb +41 -0
- data/lib/ver/plist.rb +16 -4
- data/lib/ver/register.rb +86 -0
- data/lib/ver/status.rb +44 -6
- data/lib/ver/status/battery.rb +1 -1
- data/lib/ver/status/buffer_position.rb +2 -2
- data/lib/ver/status/diakonos_position.rb +3 -3
- data/lib/ver/status/encoding.rb +1 -1
- data/lib/ver/status/filename.rb +1 -1
- data/lib/ver/status/label.rb +20 -20
- data/lib/ver/status/mode.rb +1 -1
- data/lib/ver/status/nano_help.rb +3 -14
- data/lib/ver/status/nano_position.rb +6 -6
- data/lib/ver/status/percent.rb +2 -2
- data/lib/ver/status/position.rb +2 -2
- data/lib/ver/status/short_filename.rb +1 -1
- data/lib/ver/status/syntax.rb +1 -1
- data/lib/ver/struct.rb +28 -0
- data/lib/ver/syntax/processor.rb +2 -1
- data/lib/ver/text.rb +48 -520
- data/lib/ver/text/end.rb +14 -0
- data/lib/ver/text/index.rb +16 -101
- data/lib/ver/text/insert.rb +138 -0
- data/lib/ver/text/mark.rb +559 -0
- data/lib/ver/text/position.rb +240 -0
- data/lib/ver/text/range.rb +74 -0
- data/lib/ver/text/selection.rb +402 -0
- data/lib/ver/text/selection/block.rb +69 -0
- data/lib/ver/text/selection/char.rb +93 -0
- data/lib/ver/text/selection/line.rb +64 -0
- data/lib/ver/text/tag.rb +322 -0
- data/lib/ver/undo.rb +109 -34
- data/lib/ver/vendor/eval_completer.rb +184 -0
- data/lib/ver/vendor/json_store.rb +23 -0
- data/lib/ver/vendor/open3.rb +729 -0
- data/lib/ver/vendor/pathname.rb +73 -0
- data/lib/ver/vendor/textpow.rb +1 -1
- data/lib/ver/version.rb +1 -1
- data/lib/ver/widget_event.rb +9 -5
- data/lib/ver/widget_major_mode.rb +69 -23
- data/spec/helper.rb +124 -8
- data/spec/ver/action.rb +160 -46
- data/spec/ver/buffer.rb +23 -0
- data/spec/ver/clipboard.rb +92 -0
- data/spec/ver/keymap.rb +63 -61
- data/spec/ver/keymap/diakonos.rb +88 -0
- data/spec/ver/keymap/emacs.rb +65 -0
- data/spec/ver/keymap/general.rb +98 -0
- data/spec/ver/keymap/nano.rb +84 -0
- data/spec/ver/keymap/vim.rb +205 -0
- data/spec/ver/keymap/vim/changing_text.rb +489 -0
- data/spec/ver/keymap/vim/complex_changes.rb +53 -0
- data/spec/ver/keymap/vim/copying_and_moving_text.rb +258 -0
- data/spec/ver/keymap/vim/deleting_text.rb +188 -0
- data/spec/ver/keymap/vim/digraphs.rb +52 -0
- data/spec/ver/keymap/vim/external_commands.rb +21 -0
- data/spec/ver/keymap/vim/inserting_mode_keys.rb +115 -0
- data/spec/ver/keymap/vim/inserting_mode_special.rb +168 -0
- data/spec/ver/keymap/vim/inserting_text.rb +108 -0
- data/spec/ver/keymap/vim/left_right_motion.rb +120 -0
- data/spec/ver/keymap/vim/mark_motion.rb +73 -0
- data/spec/ver/keymap/vim/repeating_commands.rb +64 -0
- data/spec/ver/keymap/vim/text_object_motion.rb +137 -0
- data/spec/ver/keymap/vim/text_objects.rb +101 -0
- data/spec/ver/keymap/vim/undo_redo.rb +21 -0
- data/spec/ver/keymap/vim/up_down_motion.rb +94 -0
- data/spec/ver/keymap/vim/various_motion.rb +33 -0
- data/spec/ver/keysyms.rb +13 -0
- data/spec/ver/major_mode.rb +37 -37
- data/spec/ver/minor_mode.rb +21 -20
- data/spec/ver/plugin/smart_autoindent.rb +2 -2
- data/spec/ver/text/index.rb +122 -0
- data/spec/ver/text/insert.rb +299 -0
- data/spec/ver/text/mark.rb +94 -0
- data/spec/ver/text/range.rb +71 -0
- data/spec/ver/text/selection.rb +315 -0
- data/spec/ver/text/tag.rb +93 -0
- data/spec/ver/undo.rb +133 -0
- data/spec/ver/undo/record_sanitize.rb +85 -0
- data/spec/ver/vendor/eval_completer.rb +91 -0
- data/spec/ver/widget_major_mode.rb +4 -3
- data/ver.gemspec +8 -8
- metadata +234 -72
- data/.todo +0 -102
- data/ROADMAP.textile +0 -187
- data/config/snippets/ANTLR.rb +0 -3
- data/config/snippets/Bison.rb +0 -3
- data/config/snippets/CTags.rb +0 -3
- data/config/snippets/CVS.rb +0 -3
- data/config/snippets/Darcs.rb +0 -3
- data/config/snippets/Diff.rb +0 -3
- data/config/snippets/Dylan.rb +0 -3
- data/config/snippets/Experimental Wiki.rb +0 -3
- data/config/snippets/Experimental.rb +0 -3
- data/config/snippets/FileMerge.rb +0 -3
- data/config/snippets/GTD2.rb +0 -3
- data/config/snippets/GetBundle.rb +0 -3
- data/config/snippets/Graphviz.rb +0 -3
- data/config/snippets/Hotkey.rb +0 -3
- data/config/snippets/Hyperlink Helper.rb +0 -3
- data/config/snippets/ImageBrowser.rb +0 -3
- data/config/snippets/Inform.rb +0 -3
- data/config/snippets/Ini.rb +0 -3
- data/config/snippets/Installer.rb +0 -3
- data/config/snippets/JSFL.rb +0 -3
- data/config/snippets/JSON.rb +0 -3
- data/config/snippets/Lex-Flex.rb +0 -3
- data/config/snippets/Lighttpd.rb +0 -3
- data/config/snippets/MEL.rb +0 -3
- data/config/snippets/MacPorts.rb +0 -3
- data/config/snippets/Make.rb +0 -3
- data/config/snippets/Man Pages.rb +0 -3
- data/config/snippets/Math.rb +0 -3
- data/config/snippets/Mercurial.rb +0 -3
- data/config/snippets/Modula.rb +0 -3
- data/config/snippets/Navigation.rb +0 -3
- data/config/snippets/OCaml Experimental Completions.rb +0 -3
- data/config/snippets/OpenGL.rb +0 -3
- data/config/snippets/Outlines.rb +0 -3
- data/config/snippets/Perforce.rb +0 -3
- data/config/snippets/Perl HTML::Template.rb +0 -27
- data/config/snippets/Postscript.rb +0 -3
- data/config/snippets/Prolog.rb +0 -3
- data/config/snippets/Quake.rb +0 -3
- data/config/snippets/R Console (R.app).rb +0 -3
- data/config/snippets/Ragel.rb +0 -3
- data/config/snippets/Regular Expressions.rb +0 -3
- data/config/snippets/Rez.rb +0 -3
- data/config/snippets/Ruby Haml.rb +0 -3
- data/config/snippets/SCons.rb +0 -3
- data/config/snippets/SQL.rb +0 -3
- data/config/snippets/SVK.rb +0 -3
- data/config/snippets/SWeave.rb +0 -3
- data/config/snippets/Scheme.rb +0 -3
- data/config/snippets/Subversion.rb +0 -3
- data/config/snippets/TODO.rb +0 -3
- data/config/snippets/Tabular.rb +0 -3
- data/config/snippets/TerminalMate.rb +0 -3
- data/config/snippets/TextMate.rb +0 -3
- data/config/snippets/Transmit.rb +0 -3
- data/config/snippets/Xcode.rb +0 -3
- data/config/snippets/iCalendar.rb +0 -3
- data/config/snippets/iTerm.rb +0 -3
- data/lib/ver/keysyms.rb +0 -104
- data/spec/ver/methods/move.rb +0 -150
@@ -0,0 +1,29 @@
|
|
1
|
+
# Encoding: UTF-8
|
2
|
+
|
3
|
+
[{beforeRunningCommand: "saveActiveFile",
|
4
|
+
command:
|
5
|
+
"#!/usr/bin/env ruby\n\nrequire ENV[\"TM_SUPPORT_PATH\"] + \"/lib/tm/executor\"\n\nfilepath = ENV['TM_FILEPATH']\n\nmachine = `sysctl hw.machine | awk -F\" \" '{print $2}'`.rstrip\nis64Bit = `sysctl hw.optional.x86_64 | awk -F\" \" '{print $2}'`.rstrip.to_i\n\ncmd_prefix = '6'\ncflags = ENV['TM_GO_CFLAGS']\n\ncase machine\nwhen 'arm'\n cmd_prefix = '5'\nwhen 'i386'\n if is64Bit == 0\n cmd_prefix = '8'\n end\nend\n\nTextMate.require_cmd \"\#{cmd_prefix}g\"\nTextMate.require_cmd \"gopack\"\n\nargs = [ENV['TM_BUNDLE_SUPPORT'] + '/go_run.rb', '--build-package']\nargs << \"--cflags=\\\"\#{cflags}\\\"\" unless cflags.nil?\nargs << filepath\n\nTextMate::Executor.run(args)",
|
6
|
+
input: "none",
|
7
|
+
keyEquivalent: "~@b",
|
8
|
+
name: "Build Package",
|
9
|
+
output: "showAsHTML",
|
10
|
+
scope: "source.go",
|
11
|
+
uuid: "F1FD1EA0-5743-4F54-ABB3-37C53452AF94"},
|
12
|
+
{beforeRunningCommand: "nop",
|
13
|
+
command:
|
14
|
+
"#!/usr/bin/env ruby\n\nrequire ENV[\"TM_SUPPORT_PATH\"] + \"/lib/tm/executor\"\nrequire ENV[\"TM_SUPPORT_PATH\"] + \"/lib/tm/save_current_document\"\n\nTextMate.save_current_document('go')\nTextMate::Executor.make_project_master_current_document\n\nfilepath = ENV['TM_FILEPATH']\n\nmachine = `sysctl hw.machine | awk -F\" \" '{print $2}'`.rstrip\nis64Bit = `sysctl hw.optional.x86_64 | awk -F\" \" '{print $2}'`.rstrip.to_i\n\ncmd_prefix = '6'\ncflags = ENV['TM_GO_CFLAGS']\nlflags = ENV['TM_GO_LFLAGS']\n\nuse_gcc = (ENV['TM_GO_USE_GCC'] == '1')\nunless use_gcc\n case machine\n when 'arm'\n cmd_prefix = '5'\n when 'i386'\n if is64Bit == 0\n cmd_prefix = '8'\n end\n end\nend\n\nif use_gcc\n TextMate.require_cmd 'gcc'\nelse\n TextMate.require_cmd \"\#{cmd_prefix}g\"\n TextMate.require_cmd \"\#{cmd_prefix}l\"\nend\n\nargs = [ENV['TM_BUNDLE_SUPPORT'] + '/go_run.rb']\nif use_gcc\n args << '--use-gcc'\nelse\n args << \"--compiler-prefix=\#{cmd_prefix}\"\nend\n\nargs << \"--cflags=\\\"\#{cflags}\\\"\" unless cflags.nil?\nargs << \"--lflags=\\\"\#{lflags}\\\"\" unless lflags.nil?\n\nargs << filepath\n\nTextMate::Executor.run(args)",
|
15
|
+
input: "document",
|
16
|
+
keyEquivalent: "@r",
|
17
|
+
name: "Run",
|
18
|
+
output: "showAsHTML",
|
19
|
+
scope: "source.go",
|
20
|
+
uuid: "0B3C3EB0-9F51-4997-A87D-ECA507D8E31E"},
|
21
|
+
{beforeRunningCommand: "saveActiveFile",
|
22
|
+
command:
|
23
|
+
"if [[ \"$TM_SOFT_TABS\" = \"YES\" ]];\n\tthen export GOFMT_SPACES=\"-spaces\"\nfi\n\nrequire_cmd gofmt\n\nresult=`gofmt -oldparser=false ${GOFMT_SPACES} -tabwidth=${TM_TAB_SIZE} ${TM_FILEPATH} 2>&1`\nif [[ $? > 0 ]];\n\tthen exit_show_tool_tip \"Errors: $result\"\n\telse echo \"$result\"\nfi",
|
24
|
+
input: "document",
|
25
|
+
keyEquivalent: "^H",
|
26
|
+
name: "Tidy",
|
27
|
+
output: "replaceDocument",
|
28
|
+
scope: "source.go",
|
29
|
+
uuid: "B0271A46-F6EF-4D2F-95A6-EC067E69155C"}]
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Encoding: UTF-8
|
2
|
+
|
3
|
+
[{beforeRunningCommand: "nop",
|
4
|
+
command:
|
5
|
+
"require_cmd dot\n\n. \"${TM_SUPPORT_PATH}/lib/html.sh\"\n. \"${TM_SUPPORT_PATH}/lib/webpreview.sh\"\n\n# Prepare output window.\nhtml_header 'Generate Graph' \"$FILE\"\nSRC=${TM_FILENAME:-untitled.dot}\nDST=\"${TMPDIR:-/tmp}/dot_${SRC%.*}.pdf\"\nERR=\"${TMPDIR:-/tmp}/dot_errors\"\n\n# Compile.\nif dot -Tpdf -o \"$DST\" /dev/stdin &>\"$ERR\"; then\n echo \"<meta http-equiv='refresh' content='0; tm-file://$DST'>\"\nelse\n pre <\"$ERR\"\nfi\nrm -f \"$ERR\"\nhtml_footer\n",
|
6
|
+
input: "document",
|
7
|
+
keyEquivalent: "@r",
|
8
|
+
name: "Generate Graph",
|
9
|
+
output: "showAsHTML",
|
10
|
+
scope: "source.dot",
|
11
|
+
uuid: "726F7253-079F-49E1-A9DF-739BBFFB321D"}]
|
@@ -0,0 +1,158 @@
|
|
1
|
+
# Encoding: UTF-8
|
2
|
+
|
3
|
+
[{beforeRunningCommand: "nop",
|
4
|
+
command:
|
5
|
+
"#!/usr/bin/env ruby\n\nrequire \"\#{ENV['TM_BUNDLE_SUPPORT']}/greasemonkey.rb\"\nGreasemonkey.new.continue_header_url",
|
6
|
+
input: "document",
|
7
|
+
keyEquivalent: "",
|
8
|
+
name: "Continue Header URL",
|
9
|
+
output: "afterSelectedText",
|
10
|
+
scope: "source.js.greasemonkey meta.header meta.directive",
|
11
|
+
uuid: "A38AD71E-0665-4E1E-8FEF-B2D22291BE0D"},
|
12
|
+
{beforeRunningCommand: "nop",
|
13
|
+
command:
|
14
|
+
"# Slightly modified version of the command for the JavaScript bundle by Thomas Aylott(?)\n\n# index created using: curl -s 'http://devguru.com/technologies/javascript/index.asp'|grep -o '<a href=\"[0-9]*.asp\">[a-z][a-zA-Z]*</a>'|perl -pe 's/<a href=\"([^\"]*)\">([^<]*)<\\/a>/$2\\t$1/'|sort|uniq|gzip >data/dev_guru_index.gz\n\n# First try GM docs\n\nref=$(ruby -e '\n\tGM_ENTRIES = %w{GM_addStyle GM_getValue GM_setValue GM_log GM_openInTab GM_registerMenuCommand GM_xmlhttpRequest unsafeWindow}\n\tlook_up = ENV[\"TM_SELECTED_TEXT\"] || ENV[\"TM_CURRENT_WORD\"]\n\tputs look_up if GM_ENTRIES.include?(look_up)\n')\n\n[[ -n \"$ref\" ]] && exit_show_html \"<meta http-equiv='Refresh' content='0;URL=http://wiki.greasespot.net/$ref'>\"\n\n# Then try JS docs\n\nref=$(zgrep -w \"^${TM_SELECTED_TEXT:-$TM_CURRENT_WORD}\" \"$TM_BUNDLE_SUPPORT/data/dev_guru_index.gz\"|cut -f2)\n\n[[ -n \"$ref\" ]] && exit_show_html \"<meta http-equiv='Refresh' content='0;URL=http://devguru.com/technologies/javascript/$ref'>\"\n\necho \"No documentation found for \\\"${TM_SELECTED_TEXT:-$TM_CURRENT_WORD}\\\".\"",
|
15
|
+
fallbackInput: "word",
|
16
|
+
input: "selection",
|
17
|
+
keyEquivalent: "^h",
|
18
|
+
name: "Documentation for Word / Selection",
|
19
|
+
output: "showAsTooltip",
|
20
|
+
scope: "source.js.greasemonkey",
|
21
|
+
uuid: "276FCB93-FB0E-49A9-A5E8-3714D4A0D0C6"},
|
22
|
+
{beforeRunningCommand: "nop",
|
23
|
+
command: "open \"http://userscripts.org/forums/1\"",
|
24
|
+
input: "none",
|
25
|
+
keyEquivalent: "^H",
|
26
|
+
name: "Forum: US.O Script Development",
|
27
|
+
output: "showAsTooltip",
|
28
|
+
scope: "source.js.greasemonkey",
|
29
|
+
uuid: "2DB71989-6521-4590-8B27-67750D947891"},
|
30
|
+
{beforeRunningCommand: "nop",
|
31
|
+
command:
|
32
|
+
"exit_show_html \"<meta http-equiv='Refresh' content='0;URL=http://developer.mozilla.org/en/docs/DOM:element#Properties'>\"",
|
33
|
+
input: "none",
|
34
|
+
keyEquivalent: "^H",
|
35
|
+
name: "Gecko DOM Element",
|
36
|
+
output: "showAsTooltip",
|
37
|
+
scope: "source.js.greasemonkey",
|
38
|
+
uuid: "E5F0DC32-D1AB-4CF0-8028-CC1972BEAECA"},
|
39
|
+
{beforeRunningCommand: "nop",
|
40
|
+
command:
|
41
|
+
"exit_show_html \"<meta http-equiv='Refresh' content='0;URL=http://wiki.greasespot.net/Main_Page'>\"",
|
42
|
+
input: "none",
|
43
|
+
keyEquivalent: "^H",
|
44
|
+
name: "GreaseSpot Wiki",
|
45
|
+
output: "showAsTooltip",
|
46
|
+
scope: "source.js.greasemonkey",
|
47
|
+
uuid: "FA3989DC-F289-4E76-A441-57EA6A9C7141"},
|
48
|
+
{beforeRunningCommand: "nop",
|
49
|
+
command:
|
50
|
+
". \"$TM_SUPPORT_PATH/lib/webpreview.sh\"\nhtml_header \"Greasemonkey Bundle Help\" \"Greasemonkey\"\n\"$TM_SUPPORT_PATH/lib/markdown_to_help.rb\" \"$TM_BUNDLE_SUPPORT/help.markdown\"\nhtml_footer",
|
51
|
+
input: "none",
|
52
|
+
name: "Help",
|
53
|
+
output: "showAsHTML",
|
54
|
+
scope: "source.js.greasemonkey",
|
55
|
+
uuid: "70D8CA43-2F62-416C-90DF-D1F83EB358CE"},
|
56
|
+
{beforeRunningCommand: "nop",
|
57
|
+
command: "open \"irc://irc.freenode.net/javascript\"",
|
58
|
+
input: "none",
|
59
|
+
keyEquivalent: "^H",
|
60
|
+
name: "IRC: #javascript@Freenode",
|
61
|
+
output: "showAsTooltip",
|
62
|
+
scope: "source.js.greasemonkey",
|
63
|
+
uuid: "320A9A37-5564-4AA3-AE09-99369B9D4CA1"},
|
64
|
+
{beforeRunningCommand: "nop",
|
65
|
+
command:
|
66
|
+
"#!/usr/bin/env ruby\n\nrequire \"\#{ENV['TM_BUNDLE_SUPPORT']}/greasemonkey.rb\"\nGreasemonkey.new.install_and_edit",
|
67
|
+
input: "document",
|
68
|
+
keyEquivalent: "@b",
|
69
|
+
name: "Install and Edit",
|
70
|
+
output: "showAsTooltip",
|
71
|
+
scope: "source.js.greasemonkey",
|
72
|
+
uuid: "D5D90653-B908-45AF-9BD1-D2ACAC494256"},
|
73
|
+
{beforeRunningCommand: "nop",
|
74
|
+
command:
|
75
|
+
"#!/usr/bin/env ruby\n\nrequire \"\#{ENV['TM_BUNDLE_SUPPORT']}/greasemonkey.rb\"\nGreasemonkey.new.manage_gm_values",
|
76
|
+
input: "document",
|
77
|
+
name: "Manage GM_Values",
|
78
|
+
output: "showAsTooltip",
|
79
|
+
scope: "source.js.greasemonkey",
|
80
|
+
uuid: "5A9C9F8A-99E8-451D-BC0C-B5C2A8A9A45E"},
|
81
|
+
{beforeRunningCommand: "nop",
|
82
|
+
command:
|
83
|
+
"#!/usr/bin/env ruby\n\nrequire \"\#{ENV['TM_BUNDLE_SUPPORT']}/greasemonkey.rb\"\nGreasemonkey.new.open_installed_script",
|
84
|
+
input: "none",
|
85
|
+
keyEquivalent: "^~@g",
|
86
|
+
name: "Open Installed Script…",
|
87
|
+
output: "showAsTooltip",
|
88
|
+
scope: "source.js.greasemonkey",
|
89
|
+
uuid: "17B22F8D-8631-4E3A-A1A2-CECD17F95320"},
|
90
|
+
{beforeRunningCommand: "saveActiveFile",
|
91
|
+
command:
|
92
|
+
"#!/usr/bin/env ruby\n\nrequire \"\#{ENV['TM_BUNDLE_SUPPORT']}/greasemonkey.rb\"\nGreasemonkey.new.reload_firefox",
|
93
|
+
input: "none",
|
94
|
+
keyEquivalent: "@r",
|
95
|
+
name: "Reload Firefox",
|
96
|
+
output: "showAsTooltip",
|
97
|
+
scope: "source.js.greasemonkey",
|
98
|
+
uuid: "B5AD55C2-887E-4649-BCD0-C50273612E86"},
|
99
|
+
{beforeRunningCommand: "saveActiveFile",
|
100
|
+
command:
|
101
|
+
"#!/usr/bin/env ruby\n\nrequire \"\#{ENV['TM_BUNDLE_SUPPORT']}/greasemonkey.rb\"\nGreasemonkey.new.reload_firefox(5) # Return in 5 secs",
|
102
|
+
input: "none",
|
103
|
+
keyEquivalent: "@R",
|
104
|
+
name: "Reload Firefox and Return",
|
105
|
+
output: "showAsTooltip",
|
106
|
+
scope: "source.js.greasemonkey",
|
107
|
+
uuid: "39AD9681-039A-400F-BBBA-C5B4D57A0C3E"},
|
108
|
+
{beforeRunningCommand: "nop",
|
109
|
+
command:
|
110
|
+
"#!/usr/bin/env ruby\n\nrequire \"\#{ENV['TM_BUNDLE_SUPPORT']}/greasemonkey.rb\"\nGreasemonkey.new.remove_logs",
|
111
|
+
input: "selection",
|
112
|
+
name: "Remove Logs in Document / Selection",
|
113
|
+
output: "replaceSelectedText",
|
114
|
+
scope: "source.js.greasemonkey",
|
115
|
+
uuid: "C5B821F3-DDB1-4911-8C89-32FD98033769"},
|
116
|
+
{beforeRunningCommand: "nop",
|
117
|
+
command:
|
118
|
+
"#!/usr/bin/env ruby\n\nrequire \"\#{ENV['TM_BUNDLE_SUPPORT']}/greasemonkey.rb\"\nGreasemonkey.new.toggle_log_comments",
|
119
|
+
input: "selection",
|
120
|
+
name: "Toggle Logs in Document / Selection",
|
121
|
+
output: "replaceSelectedText",
|
122
|
+
scope: "source.js.greasemonkey",
|
123
|
+
uuid: "0674F266-C30F-4089-95A4-DDB68E89439E"},
|
124
|
+
{beforeRunningCommand: "nop",
|
125
|
+
command:
|
126
|
+
"#!/usr/bin/env ruby\n\nrequire \"\#{ENV['TM_BUNDLE_SUPPORT']}/greasemonkey.rb\"\nGreasemonkey.new.uninstall_script",
|
127
|
+
input: "document",
|
128
|
+
name: "Uninstall Script…",
|
129
|
+
output: "showAsTooltip",
|
130
|
+
scope: "source.js.greasemonkey",
|
131
|
+
uuid: "36925E11-3A1B-4040-9A6E-629ABD7200D9"},
|
132
|
+
{beforeRunningCommand: "nop",
|
133
|
+
command:
|
134
|
+
"#!/usr/bin/env ruby\n\nrequire \"\#{ENV['TM_BUNDLE_SUPPORT']}/greasemonkey.rb\"\nGreasemonkey.new.update_metadata",
|
135
|
+
input: "document",
|
136
|
+
keyEquivalent: "@d",
|
137
|
+
name: "Update Metadata",
|
138
|
+
output: "showAsTooltip",
|
139
|
+
scope: "source.js.greasemonkey",
|
140
|
+
uuid: "881818AE-F2D4-4E5C-9245-5FF8B61B417D"},
|
141
|
+
{beforeRunningCommand: "saveActiveFile",
|
142
|
+
command:
|
143
|
+
"#!/usr/bin/env ruby\n\nrequire \"\#{ENV['TM_BUNDLE_SUPPORT']}/greasemonkey.rb\"\nGreasemonkey.new.upload_to_userscripts",
|
144
|
+
input: "document",
|
145
|
+
keyEquivalent: "@u",
|
146
|
+
name: "Upload to Userscripts.org…",
|
147
|
+
output: "showAsTooltip",
|
148
|
+
scope: "source.js.greasemonkey",
|
149
|
+
uuid: "EA15C388-6EB3-4650-B958-EE43A4A7320B"},
|
150
|
+
{beforeRunningCommand: "nop",
|
151
|
+
command:
|
152
|
+
"exit_show_html \"<meta http-equiv='Refresh' content='0;URL=http://www.w3schools.com/xpath/'>\"",
|
153
|
+
input: "none",
|
154
|
+
keyEquivalent: "^H",
|
155
|
+
name: "XPath",
|
156
|
+
output: "showAsTooltip",
|
157
|
+
scope: "source.js.greasemonkey",
|
158
|
+
uuid: "40315F35-E51D-4C22-94E2-52FB206066BB"}]
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Encoding: UTF-8
|
2
|
+
|
3
|
+
[{beforeRunningCommand: "saveActiveFile",
|
4
|
+
command:
|
5
|
+
"# Run Gri, convert the PostScript to PDF, and then show the latter.\n# The code is patterned on that for the \"LaTeX and view\" command.\n# GPL 2005 Dan Kelley.\n# (I hope it's OK to GPL something in TM!)\n\n. \"${TM_SUPPORT_PATH}/lib/html.sh\"\n\n# The comment and line below are copied from the \"LaTeX and view\" command.\n# Get the viewer program. Any program (that works with open -a <name>) can be used,\n# except 'html' which is reserved to mean the internal HTML window. This is also the\n# default option.\nV=${TM_LATEX_VIEWER:=html}\n\nGRI=gri\nDIR=`dirname \"$TM_FILEPATH\"`\nFILE=`basename \"$TM_FILEPATH\"`\nPSFILE=`basename \"$FILE\" .gri`.ps\nPDFFILE=`basename \"$FILE\" .gri`.pdf\nCWD=\"`pwd`/\"\nTOPDF=\"epstopdf\"\n\n# Switch to the right directory.\ncd \"$TM_PROJECT_DIRECTORY\"\ncd \"$DIR\"\n\n# Prepare output window.\nhtmlHeader \"Running Gri on file ${FILE}\"\necho \"<h1>Running Gri on ${FILE}...</h1>\";\n\n# Function to close window if the error level is low enough.\nclose() {\n\tif (($RC == 0)); then closeWindow; fi\n}\n\n\n# Compile. Bail out on errors.\necho \"gri -output ${DIR}/${PSFILE} ${TM_FILEPATH}\";\necho \"<BR>\";\ngri -output \"${DIR}/${PSFILE}\" \"${TM_FILEPATH}\";\nRC=$?\nif (($RC != 0)); then exit; fi\necho \"${TOPDF} ${DIR}/$PSFILE ${DIR}/$PDFFILE\";\necho \"<BR>\";\n${TOPDF} \"${DIR}/$PSFILE\" > \"${DIR}/$PDFFILE\";\n\n# View...\nif [ \"$V\" == html ]; then\n\tif [ -s \"${PDFFILE}\" ]; then\n\t\tWEB_LOC=\"tm-file://${DIR}/${PDFFILE}\"\n\t\tif (($RC != 0)); then\n\t\t\tlink \"${WEB_LOC}\" 'Click Here to Preview'\n\t\telse\n\t\t\tredirect \"${WEB_LOC}\"\n\t\tfi\n\telse\n\t\tstrong \"Error: PDF file not written to disk\"\n\tfi\n\thtmlFooter\nelse\n\techo \"HUH?<br>\"\n\topen -a \"$V\" \"${DIR}/${PDFFILE}\"\n\tclose\nfi\n",
|
6
|
+
input: "none",
|
7
|
+
keyEquivalent: "@b",
|
8
|
+
name: "Gri and View",
|
9
|
+
output: "showAsHTML",
|
10
|
+
scope: "source.gri",
|
11
|
+
uuid: "41A8F343-48CB-482E-A395-34C31CE9A5AB"}]
|
@@ -0,0 +1,174 @@
|
|
1
|
+
# Encoding: UTF-8
|
2
|
+
|
3
|
+
[{autoScrollOutput: true,
|
4
|
+
beforeRunningCommand: "nop",
|
5
|
+
command: "grailsmate_bootstrap.sh clean",
|
6
|
+
input: "none",
|
7
|
+
keyEquivalent: "^@G",
|
8
|
+
name: "Clean",
|
9
|
+
output: "showAsHTML",
|
10
|
+
scope:
|
11
|
+
"source.groovy, source.java, source.java-props, text.xml, text.html.grails",
|
12
|
+
uuid: "81EFF7DA-D8FD-49D3-AD14-285E135CAA9D"},
|
13
|
+
{autoScrollOutput: true,
|
14
|
+
beforeRunningCommand: "nop",
|
15
|
+
command: "grailsmate_bootstrap.sh war",
|
16
|
+
input: "none",
|
17
|
+
keyEquivalent: "^@G",
|
18
|
+
name: "Create WAR",
|
19
|
+
output: "showAsHTML",
|
20
|
+
scope:
|
21
|
+
"source.groovy, source.java, source.java-props, text.xml, text.html.grails",
|
22
|
+
uuid: "90AF1D77-BD5E-454C-A5E0-D8B19DA4089A"},
|
23
|
+
{autoScrollOutput: true,
|
24
|
+
beforeRunningCommand: "nop",
|
25
|
+
command: "grailsmate_bootstrap.sh create",
|
26
|
+
input: "none",
|
27
|
+
keyEquivalent: "^@G",
|
28
|
+
name: "Create …",
|
29
|
+
output: "showAsHTML",
|
30
|
+
scope:
|
31
|
+
"source.groovy, source.java, source.java-props, text.xml, text.html.grails",
|
32
|
+
uuid: "ED4C9595-F749-4803-98BF-EA73357D8AE0"},
|
33
|
+
{beforeRunningCommand: "saveActiveFile",
|
34
|
+
command:
|
35
|
+
"RUBYLIB=\"$TM_BUNDLE_SUPPORT/lib:$RUBYLIB\"\n\"${TM_RUBY:=ruby}\" -- \"${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb\" controller",
|
36
|
+
input: "none",
|
37
|
+
keyEquivalent: "~@",
|
38
|
+
name: "Go To Controller",
|
39
|
+
output: "showAsTooltip",
|
40
|
+
scope: "source.groovy, text.html.grails",
|
41
|
+
uuid: "F23B2416-2A90-4F89-8E53-79848D149E25"},
|
42
|
+
{beforeRunningCommand: "saveActiveFile",
|
43
|
+
command:
|
44
|
+
"RUBYLIB=\"$TM_BUNDLE_SUPPORT/lib:$RUBYLIB\"\n\"${TM_RUBY:=ruby}\" -- \"${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb\" controller_test",
|
45
|
+
input: "none",
|
46
|
+
keyEquivalent: "~@",
|
47
|
+
name: "Go To Controller Test",
|
48
|
+
output: "showAsTooltip",
|
49
|
+
scope: "source.groovy",
|
50
|
+
uuid: "819737E6-F9B0-4C61-A5CE-1A9EF7B8C172"},
|
51
|
+
{beforeRunningCommand: "saveActiveFile",
|
52
|
+
command:
|
53
|
+
"RUBYLIB=\"$TM_BUNDLE_SUPPORT/lib:$RUBYLIB\"\n\"${TM_RUBY:=ruby}\" -- \"${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb\" domain_class",
|
54
|
+
input: "none",
|
55
|
+
keyEquivalent: "~@",
|
56
|
+
name: "Go To Domain Class",
|
57
|
+
output: "showAsTooltip",
|
58
|
+
scope: "source.groovy, text.html.grails",
|
59
|
+
uuid: "F3547D2C-0CC0-45E1-BDCE-CFD4D45BED15"},
|
60
|
+
{beforeRunningCommand: "saveActiveFile",
|
61
|
+
command:
|
62
|
+
"RUBYLIB=\"$TM_BUNDLE_SUPPORT/lib:$RUBYLIB\"\n\"${TM_RUBY:=ruby}\" -- \"${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb\" domain_class_test",
|
63
|
+
input: "none",
|
64
|
+
keyEquivalent: "~@",
|
65
|
+
name: "Go To Domain Class Test",
|
66
|
+
output: "showAsTooltip",
|
67
|
+
scope: "source.groovy",
|
68
|
+
uuid: "9DD9D0CD-7470-49A0-97B8-78852DF6D401"},
|
69
|
+
{beforeRunningCommand: "saveActiveFile",
|
70
|
+
command:
|
71
|
+
"RUBYLIB=\"$TM_BUNDLE_SUPPORT/lib:$RUBYLIB\"\n\"${TM_RUBY:=ruby}\" -- \"${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb\" service",
|
72
|
+
input: "none",
|
73
|
+
keyEquivalent: "~@",
|
74
|
+
name: "Go To Service",
|
75
|
+
output: "showAsTooltip",
|
76
|
+
scope: "source.groovy, text.html.grails",
|
77
|
+
uuid: "B6320071-EA2B-4ABD-8BF0-4BF0481F2877"},
|
78
|
+
{beforeRunningCommand: "saveActiveFile",
|
79
|
+
command:
|
80
|
+
"RUBYLIB=\"$TM_BUNDLE_SUPPORT/lib:$RUBYLIB\"\n\"${TM_RUBY:=ruby}\" -- \"${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb\" service_test",
|
81
|
+
input: "none",
|
82
|
+
keyEquivalent: "~@",
|
83
|
+
name: "Go To Service Test",
|
84
|
+
output: "showAsTooltip",
|
85
|
+
scope: "source.groovy",
|
86
|
+
uuid: "4933DBBB-1BFA-4EC7-B40E-F3AF80D54FEA"},
|
87
|
+
{beforeRunningCommand: "saveActiveFile",
|
88
|
+
command:
|
89
|
+
"RUBYLIB=\"$TM_BUNDLE_SUPPORT/lib:$RUBYLIB\"\n\"${TM_RUBY:=ruby}\" -- \"${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb\" taglib",
|
90
|
+
input: "none",
|
91
|
+
keyEquivalent: "~@",
|
92
|
+
name: "Go To Tag Lib",
|
93
|
+
output: "showAsTooltip",
|
94
|
+
scope: "source.groovy, text.html.grails",
|
95
|
+
uuid: "4BBF0689-BAEE-4BC9-9272-73BD7705A79E"},
|
96
|
+
{beforeRunningCommand: "saveActiveFile",
|
97
|
+
command:
|
98
|
+
"RUBYLIB=\"$TM_BUNDLE_SUPPORT/lib:$RUBYLIB\"\n\"${TM_RUBY:=ruby}\" -- \"${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb\" taglib_test",
|
99
|
+
input: "none",
|
100
|
+
keyEquivalent: "~@",
|
101
|
+
name: "Go To Tag Lib Test",
|
102
|
+
output: "showAsTooltip",
|
103
|
+
scope: "source.groovy",
|
104
|
+
uuid: "A6E1AD30-CEA6-4632-A40C-092E48643B26"},
|
105
|
+
{beforeRunningCommand: "saveActiveFile",
|
106
|
+
command:
|
107
|
+
"RUBYLIB=\"$TM_BUNDLE_SUPPORT/lib:$RUBYLIB\"\n\"${TM_RUBY:=ruby}\" -- \"${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb\" view",
|
108
|
+
input: "none",
|
109
|
+
keyEquivalent: "~@",
|
110
|
+
name: "Go To View",
|
111
|
+
output: "showAsTooltip",
|
112
|
+
scope: "source.groovy",
|
113
|
+
uuid: "0867DC60-0DD7-483A-86BA-07763BD2D8DB"},
|
114
|
+
{autoScrollOutput: true,
|
115
|
+
beforeRunningCommand: "nop",
|
116
|
+
command: "grailsmate_bootstrap.sh install_plugin",
|
117
|
+
input: "none",
|
118
|
+
keyEquivalent: "^@G",
|
119
|
+
name: "Install Plugin …",
|
120
|
+
output: "showAsHTML",
|
121
|
+
scope:
|
122
|
+
"source.groovy, source.java, source.java-props, text.xml, text.html.grails",
|
123
|
+
uuid: "9B67E226-4E45-4DDD-99FC-31545A67B7B9"},
|
124
|
+
{autoScrollOutput: true,
|
125
|
+
beforeRunningCommand: "nop",
|
126
|
+
command: "grailsmate_bootstrap.sh list_plugins",
|
127
|
+
input: "none",
|
128
|
+
keyEquivalent: "^@G",
|
129
|
+
name: "List Plugins",
|
130
|
+
output: "showAsHTML",
|
131
|
+
scope:
|
132
|
+
"source.groovy, source.java, source.java-props, text.xml, text.html.grails",
|
133
|
+
uuid: "A77539E3-ACBE-4AD4-9DE8-625340CBACC7"},
|
134
|
+
{autoScrollOutput: true,
|
135
|
+
beforeRunningCommand: "nop",
|
136
|
+
command: "grailsmate_bootstrap.sh run_app",
|
137
|
+
input: "none",
|
138
|
+
keyEquivalent: "^@G",
|
139
|
+
name: "Run App",
|
140
|
+
output: "showAsHTML",
|
141
|
+
scope:
|
142
|
+
"source.groovy, source.java, source.java-props, text.xml, text.html.grails",
|
143
|
+
uuid: "FD3BEFAC-5C8C-4D03-9DF1-A07EB8B79807"},
|
144
|
+
{autoScrollOutput: true,
|
145
|
+
beforeRunningCommand: "nop",
|
146
|
+
command: "grailsmate_bootstrap.sh run_grails_task",
|
147
|
+
input: "none",
|
148
|
+
keyEquivalent: "^@G",
|
149
|
+
name: "Run Arbitrary Grails Task …",
|
150
|
+
output: "showAsHTML",
|
151
|
+
scope:
|
152
|
+
"source.groovy, source.java, source.java-props, text.xml, text.html.grails",
|
153
|
+
uuid: "DEFDA7D4-BB3B-47D4-9408-C63C7A901A97"},
|
154
|
+
{autoScrollOutput: true,
|
155
|
+
beforeRunningCommand: "nop",
|
156
|
+
command: "grailsmate_bootstrap.sh test_app",
|
157
|
+
input: "none",
|
158
|
+
keyEquivalent: "^@G",
|
159
|
+
name: "Test App",
|
160
|
+
output: "showAsHTML",
|
161
|
+
scope:
|
162
|
+
"source.groovy, source.java, source.java-props, text.xml, text.html.grails",
|
163
|
+
uuid: "CE0A3C0D-2E58-47B2-8271-F8FBA3846CB4"},
|
164
|
+
{autoScrollOutput: true,
|
165
|
+
beforeRunningCommand: "nop",
|
166
|
+
command:
|
167
|
+
"if [ \"$TM_SELECTED_FILES\" ]\nthen\n\teval grailsmate_bootstrap.sh focussed_test \"$TM_SELECTED_FILES\"\nelse\n\tgrailsmate_bootstrap.sh focussed_test \"$TM_FILEPATH\"\nfi",
|
168
|
+
input: "none",
|
169
|
+
keyEquivalent: "^@G",
|
170
|
+
name: "Test App (selected)",
|
171
|
+
output: "showAsHTML",
|
172
|
+
scope:
|
173
|
+
"source.groovy, source.java, source.java-props, text.xml, text.html.grails",
|
174
|
+
uuid: "2922A132-7A49-4193-B959-D30D817160B5"}]
|
@@ -0,0 +1,66 @@
|
|
1
|
+
# Encoding: UTF-8
|
2
|
+
|
3
|
+
[{beforeRunningCommand: "nop",
|
4
|
+
command:
|
5
|
+
"echo \"<!-- gotAPI.com search widget v2 begin -->\n<body onload=\\\"init();\\\">\n<DIV>\n<STYLE>\n.gaMenu{border:1px solid #505050;background-color:#FAFAFA;padding:0px 5px 0px 5px;}\n.gaHeaderRow{font:bold 8pt Arial;color:#359155;border-top:1px solid #C0C0C0;width:250px;}\n.gaRegularRow,.gaFooterRow{font:8pt Arial;cursor:pointer;}\n.gaSelectedRow{font:8pt Arial;background-color:#c1e0e6;cursor:pointer;}\n</STYLE>\n<SCRIPT><!--\ngaMod='module_java15noui.js';gaTitle='J2SE v1.5 less UI';updateWhenLoaded=false;\nvar gaL=false;function gaInit(){if(gaL)return;gaL=true;var s=document.createElement('script');\ns.type='text/javascript';s.src='http://www.gotapi.com/widgets/compiled/c1_module_groovy.js.jsz';s.defer='defer';s.defered='yes';\ndocument.getElementById('gaInfo').parentNode.appendChild(s)}function gaSearching(){\ndocument.getElementById('gaWait').style.display='';updateWhenLoaded=true;\ndocument.getElementById('gaInfo').style.display='none'}\n//-->\n</SCRIPT>\n<DIV style='font:bold 10pt Arial'>Quick J2SE v1.5 less UI lookup</DIV>\n<INPUT id=gaSearch size=20 onfocus=\\\"gaInit()\\\" onkeydown=\\\"gaSearching()\\\">\n<DIV id=gaInfo style='font:7pt Arial'>powered by <A href='http://www.gotapi.com' style='padding:0px'>gotAPI.com</A></DIV>\n<DIV id=gaWait style='font:7pt Arial;display:none'>Searching...</DIV>\n</DIV>\n</body>\n<!-- gotAPI.com search widget v2 end -->\"\n\nif [ $TM_CURRENT_WORD ] \nthen\n\techo \"<script>function init() { document.getElementById('gaSearch').value = '$TM_CURRENT_WORD'; document.getElementById('gaSearch').focus(); gaSearching(); }</script>\"\nfi",
|
6
|
+
input: "none",
|
7
|
+
keyEquivalent: "^~h",
|
8
|
+
name: "Documentation For Word (Groovy)",
|
9
|
+
output: "showAsHTML",
|
10
|
+
scope: "source.groovy",
|
11
|
+
uuid: "6C65B168-6119-4AD2-9606-CE64FA90B0A2"},
|
12
|
+
{beforeRunningCommand: "nop",
|
13
|
+
command:
|
14
|
+
"echo \"<!-- gotAPI.com search widget v2 begin -->\n<body onload=\\\"init();\\\">\n<DIV>\n<STYLE>\n.gaMenu{border:1px solid #505050;background-color:#FAFAFA;padding:0px 5px 0px 5px;}\n.gaHeaderRow{font:bold 8pt Arial;color:#359155;border-top:1px solid #C0C0C0;width:250px;}\n.gaRegularRow,.gaFooterRow{font:8pt Arial;cursor:pointer;}\n.gaSelectedRow{font:8pt Arial;background-color:#c1e0e6;cursor:pointer;}\n</STYLE>\n<SCRIPT><!--\ngaMod='module_java15noui.js';gaTitle='J2SE v1.5 less UI';updateWhenLoaded=false;\nvar gaL=false;function gaInit(){if(gaL)return;gaL=true;var s=document.createElement('script');\ns.type='text/javascript';s.src='http://www.gotapi.com/widgets/compiled/c1_module_java15noui.js.jsz';s.defer='defer';s.defered='yes';\ndocument.getElementById('gaInfo').parentNode.appendChild(s)}function gaSearching(){\ndocument.getElementById('gaWait').style.display='';updateWhenLoaded=true;\ndocument.getElementById('gaInfo').style.display='none'}\n//-->\n</SCRIPT>\n<DIV style='font:bold 10pt Arial'>Quick J2SE v1.5 less UI lookup</DIV>\n<INPUT id=gaSearch size=20 onfocus=\\\"gaInit()\\\" onkeydown=\\\"gaSearching()\\\">\n<DIV id=gaInfo style='font:7pt Arial'>powered by <A href='http://www.gotapi.com' style='padding:0px'>gotAPI.com</A></DIV>\n<DIV id=gaWait style='font:7pt Arial;display:none'>Searching...</DIV>\n</DIV>\n</body>\n<!-- gotAPI.com search widget v2 end -->\"\n\nif [ $TM_CURRENT_WORD ] \nthen\n\techo \"<script>function init() { document.getElementById('gaSearch').value = '$TM_CURRENT_WORD'; document.getElementById('gaSearch').focus(); gaSearching(); }</script>\"\nfi",
|
15
|
+
input: "none",
|
16
|
+
keyEquivalent: "^h",
|
17
|
+
name: "Documentation For Word (Java)",
|
18
|
+
output: "showAsHTML",
|
19
|
+
scope: "source.groovy",
|
20
|
+
uuid: "E8B13A2B-C6AE-47C1-AD42-AD5B7A0B157E"},
|
21
|
+
{beforeRunningCommand: "nop",
|
22
|
+
command:
|
23
|
+
"require_cmd groovyConsole\n\n\"$DIALOG\" tooltip --text \"Opening GroovyConsole…\"\n\nosascript -e 'on openGroovyConsole()\n\tdo shell script \"groovyConsole > /dev/null 2>&1 &\"\nend openGroovyConsole\n\ntell application \"System Events\"\n\tset UI_enabled to UI elements enabled\nend tell\nif UI_enabled is false then\n\ttell application \"System Preferences\"\n\t\tactivate\n\t\tset current pane to ¬\n\t\t\tpane \"com.apple.preference.universalaccess\"\n\t\tset the dialog_message to \"This script utilizes \" & ¬\n\t\t\t\"the built-in Graphic User Interface Scripting \" & ¬\n\t\t\t\"architecture of Mac OS X \" & ¬\n\t\t\t\"which is currently disabled.\" & return & return & ¬\n\t\t\t\"You can activate GUI Scripting by selecting the \" & ¬\n\t\t\t\"checkbox “Enable access for assistive devices” \" & ¬\n\t\t\t\"in the Universal Access preference pane.\"\n\t\tdisplay dialog dialog_message buttons {\"OK\"} ¬\n\t\t\tdefault button 1 with icon 1\n\tend tell\nelse\n\ttell application \"System Events\"\n\t\tset theProcesses to every process whose name is \"java\"\n\t\tif (count of theProcesses) is 0 then\n\t\t\topenGroovyConsole() of me\n\t\telse\n\t\t\tset foundIt to false\n\t\t\trepeat with i from 1 to (count of theProcesses)\n\t\t\t\tset thisProcess to item i of theProcesses\n\t\t\t\ttry\n\t\t\t\t\ttell thisProcess\n\t\t\t\t\t\tset theWindow to (the window \"GroovyConsole\")\n\t\t\t\t\t\tset frontmost of thisProcess to true\n\t\t\t\t\t\tset foundIt to true\n\t\t\t\t\tend tell\n\t\t\t\ton error number 1\n\t\t\t\t\t-- do nothing\n\t\t\t\tend try\n\t\t\tend repeat\n\t\t\tif foundIt is false then\n\t\t\t\topenGroovyConsole() of me\n\t\t\tend if\n\t\tend if\n\tend tell\nend if\n\n'",
|
24
|
+
fallbackInput: "none",
|
25
|
+
input: "none",
|
26
|
+
name: "Groovy Console",
|
27
|
+
output: "discard",
|
28
|
+
scope: "source.groovy",
|
29
|
+
uuid: "951D524E-4CB0-4A71-91A5-4DCA57D6686D"},
|
30
|
+
{beforeRunningCommand: "nop",
|
31
|
+
command:
|
32
|
+
"echo \"<meta http-equiv='Refresh'\n content='0;URL=http://groovy.codehaus.org/groovy-jdk/'>\"\n",
|
33
|
+
input: "selection",
|
34
|
+
keyEquivalent: "^~@h",
|
35
|
+
name: "Groovy JDK",
|
36
|
+
output: "showAsHTML",
|
37
|
+
scope: "source.groovy",
|
38
|
+
uuid: "78F26F76-76B4-400E-84F0-E22DB05063CD"},
|
39
|
+
{beforeRunningCommand: "nop",
|
40
|
+
command: "groovymate.sh",
|
41
|
+
fallbackInput: "word",
|
42
|
+
input: "document",
|
43
|
+
keyEquivalent: "@r",
|
44
|
+
name: "Run",
|
45
|
+
output: "showAsHTML",
|
46
|
+
scope: "source.groovy",
|
47
|
+
uuid: "E9CD6C3E-DC99-4682-B98D-517D34C503A8"},
|
48
|
+
{beforeRunningCommand: "nop",
|
49
|
+
command: "export TM_GROOVYMATE_GET_ARGS=\ngroovymate.sh",
|
50
|
+
fallbackInput: "word",
|
51
|
+
input: "document",
|
52
|
+
keyEquivalent: "@R",
|
53
|
+
name: "Run (with args)",
|
54
|
+
output: "showAsHTML",
|
55
|
+
scope: "source.groovy",
|
56
|
+
uuid: "3E6C0C17-C48E-4194-A99F-7365F48AE196"},
|
57
|
+
{beforeRunningCommand: "nop",
|
58
|
+
command:
|
59
|
+
"if [ \"$TM_SELECTED_TEXT\" == \"\" ]; then\n exit_show_tool_tip \"select some code to run\"\nelse\n \"$GROOVY_HOME/bin/groovy\" -e \"$TM_SELECTED_TEXT\"\n exit_show_html\nfi\n\n",
|
60
|
+
fallbackInput: "none",
|
61
|
+
input: "selection",
|
62
|
+
keyEquivalent: "~@r",
|
63
|
+
name: "Run Selected Snippet",
|
64
|
+
output: "showAsTooltip",
|
65
|
+
scope: "source.groovy",
|
66
|
+
uuid: "729F1599-08BE-40B0-93D6-0482FA566CC7"}]
|