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
data/config/snippets/OCaml.rb
CHANGED
@@ -1,75 +1,109 @@
|
|
1
1
|
# Encoding: UTF-8
|
2
2
|
|
3
|
-
{"
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
"
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
"
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
"
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
"
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
"
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
"
|
30
|
-
|
31
|
-
"
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
"
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
"
|
41
|
-
|
42
|
-
"
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
"
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
"
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
"
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
"
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
"
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
"
|
73
|
-
|
74
|
-
|
75
|
-
|
3
|
+
[{content: "(* CR `whoami`: $1 *)$0",
|
4
|
+
name: "CR",
|
5
|
+
scope: "source",
|
6
|
+
tabTrigger: "cr",
|
7
|
+
uuid: "4FD90BDA-3348-486F-BCDB-A07DB264ED64"},
|
8
|
+
{content: "(** [$1] $0 *)",
|
9
|
+
name: "Document",
|
10
|
+
scope: "source.ocaml",
|
11
|
+
tabTrigger: "doc",
|
12
|
+
uuid: "D1742879-4F2B-48A1-9273-7D731BC07E7D"},
|
13
|
+
{content: "begin\n\t$0\nend",
|
14
|
+
name: "begin",
|
15
|
+
scope: "source.ocaml",
|
16
|
+
tabTrigger: "begin",
|
17
|
+
uuid: "0F8C60E3-B1F4-404E-BDEA-9601FE9FB175"},
|
18
|
+
{content: "class ${1:name} =\n\tobject ${2:(self)}\n\t\t${3:contents}\n\tend",
|
19
|
+
name: "class",
|
20
|
+
scope: "source.ocaml",
|
21
|
+
tabTrigger: "class",
|
22
|
+
uuid: "65713FCA-7473-11D9-8C1B-000A95AFE286"},
|
23
|
+
{content: "for ${1:i} = ${2:startval} to ${3:endval} do\n\t$4\ndone\n$0",
|
24
|
+
name: "for loop",
|
25
|
+
scope: "source.ocaml",
|
26
|
+
tabTrigger: "for",
|
27
|
+
uuid: "6C4B9D57-B3CB-4873-9911-A9C236D597E1"},
|
28
|
+
{content: "(fun ${1:()} -> ${2:body})",
|
29
|
+
name: "function",
|
30
|
+
scope: "source.ocaml",
|
31
|
+
tabTrigger: "fun",
|
32
|
+
uuid: "05FE7472-7473-11D9-8C1B-000A95AFE286"},
|
33
|
+
{content:
|
34
|
+
"(function\n| ${1:patt1} -> ${2:expr1}\n| ${3:patt2} -> ${4:expr2})",
|
35
|
+
name: "function alt",
|
36
|
+
scope: "source.ocaml",
|
37
|
+
tabTrigger: "func",
|
38
|
+
uuid: "2B22784A-7473-11D9-8C1B-000A95AFE286"},
|
39
|
+
{content: "~f:(fun ${1:()} -> ${2:body})",
|
40
|
+
name: "function label",
|
41
|
+
scope: "source.ocaml",
|
42
|
+
tabTrigger: "~f",
|
43
|
+
uuid: "C54009ED-EF19-4C16-BDC4-F568489B202E"},
|
44
|
+
{content: "let ${1:var(s)} = ${0:expr}",
|
45
|
+
name: "let",
|
46
|
+
scope: "source.ocaml",
|
47
|
+
tabTrigger: "let",
|
48
|
+
uuid: "62BB8982-7475-11D9-AAF2-000A95AFE286"},
|
49
|
+
{content: "let ${1:var(s)} = ${2:expr} in ${3:expr2}",
|
50
|
+
name: "let in",
|
51
|
+
scope: "source.ocaml",
|
52
|
+
tabTrigger: "lin",
|
53
|
+
uuid: "7FB48182-7475-11D9-AAF2-000A95AFE286"},
|
54
|
+
{content:
|
55
|
+
"match ${1:value} with\n| ${2:patt} -> ${3:expr}\n| ${4:_} -> ${5:expr2}",
|
56
|
+
name: "match",
|
57
|
+
scope: "source.ocaml",
|
58
|
+
tabTrigger: "match",
|
59
|
+
uuid: "C332D848-7472-11D9-8C1B-000A95AFE286"},
|
60
|
+
{content: "| ${1:pattern} -> $0",
|
61
|
+
name: "match pattern",
|
62
|
+
scope: "source.ocaml",
|
63
|
+
tabTrigger: "|",
|
64
|
+
uuid: "2B56BBDC-294B-4775-A121-28CB3A50F380"},
|
65
|
+
{content: "method ${1:name} = $0",
|
66
|
+
name: "method",
|
67
|
+
scope: "source.ocaml",
|
68
|
+
tabTrigger: "method",
|
69
|
+
uuid: "E989F53A-6E5B-4C5F-AB96-7B9620CFECA5"},
|
70
|
+
{content: "module ${1:Name} = struct\n\t$0\nend",
|
71
|
+
name: "module",
|
72
|
+
scope: "source.ocaml",
|
73
|
+
tabTrigger: "module",
|
74
|
+
uuid: "A7ED7818-7473-11D9-8C1B-000A95AFE286"},
|
75
|
+
{content: "module ${1:Name} : sig\n\t$0\nend",
|
76
|
+
name: "module signature",
|
77
|
+
scope: "source.ocaml",
|
78
|
+
tabTrigger: "sig",
|
79
|
+
uuid: "DABEBD6F-5C97-409B-8A5B-36224D216C95"},
|
80
|
+
{content: "module type ${1:Name} = sig\n\t$0\nend",
|
81
|
+
name: "module type",
|
82
|
+
scope: "source.ocaml",
|
83
|
+
tabTrigger: "mtype",
|
84
|
+
uuid: "49085341-FBC2-4B1F-B14C-C84ED10151FB"},
|
85
|
+
{content: "\n| ${1:patt} -> ${2:expr}",
|
86
|
+
keyEquivalent: "@|",
|
87
|
+
name: "new pattern match",
|
88
|
+
scope: "source.ocaml",
|
89
|
+
uuid: "D2DF2187-7473-11D9-8C1B-000A95AFE286"},
|
90
|
+
{content: "try\n\t$0\nwith\n| _ -> failwith \"Unknown\"",
|
91
|
+
name: "try",
|
92
|
+
scope: "source.ocaml",
|
93
|
+
tabTrigger: "try",
|
94
|
+
uuid: "06632EEC-207B-47FD-85D9-B4F25E5491FF"},
|
95
|
+
{content: "type ${1:name} = $0",
|
96
|
+
name: "type",
|
97
|
+
scope: "source.ocaml",
|
98
|
+
tabTrigger: "type",
|
99
|
+
uuid: "0F6427F5-F611-4E1B-A9BA-55D239E87B2B"},
|
100
|
+
{content: "ignore (Thread.create (fun () -> \n $0\n ) ())",
|
101
|
+
name: "untitled",
|
102
|
+
scope: "source.ocaml",
|
103
|
+
tabTrigger: "thread",
|
104
|
+
uuid: "23BD38C6-AA59-4E74-A3CB-76CB36A50A0B"},
|
105
|
+
{content: "while ${1:condition} do\n\t$0\ndone",
|
106
|
+
name: "while loop",
|
107
|
+
scope: "source.ocaml",
|
108
|
+
tabTrigger: "while",
|
109
|
+
uuid: "736D4A21-0B77-4AFB-9DE5-343F49453BA3"}]
|
@@ -1,120 +1,171 @@
|
|
1
1
|
# Encoding: UTF-8
|
2
2
|
|
3
|
-
{"
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
"
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
"
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
"
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
"
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
"
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
"
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
"
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
"
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
"
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
"
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
"
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
"
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
"
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
"ff"
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
"
|
118
|
-
|
119
|
-
|
120
|
-
|
3
|
+
[{content: "- (BOOL)${1:method};",
|
4
|
+
name: "- (BOOL)decl;",
|
5
|
+
scope: "(source.objc | source.objc++) & meta.scope.interface",
|
6
|
+
tabTrigger: "b",
|
7
|
+
uuid: "2E4E33DA-B8B9-11D9-AE51-000393A143CC"},
|
8
|
+
{content: "- (BOOL)${1:method}\n{\n\treturn ${2:value};\n}\n",
|
9
|
+
name: "- (BOOL)method",
|
10
|
+
scope:
|
11
|
+
"(source.objc | source.objc++) & meta.scope.implementation.objc - meta.function-with-body",
|
12
|
+
tabTrigger: "b",
|
13
|
+
uuid: "13CE9D22-B8B9-11D9-AE51-000393A143CC"},
|
14
|
+
{content: "- (IBAction)${1:method}:(id)sender;",
|
15
|
+
name: "- (IBAction)decl;",
|
16
|
+
scope: "(source.objc | source.objc++) & meta.scope.interface",
|
17
|
+
tabTrigger: "iba",
|
18
|
+
uuid: "1ED92307-AE72-4F11-82C8-9A2751690C90"},
|
19
|
+
{content: "- (IBAction)${1:method}:(id)sender\n{\n\t$0\n}\n",
|
20
|
+
name: "- (IBAction)method",
|
21
|
+
scope:
|
22
|
+
"(source.objc | source.objc++) & meta.scope.implementation.objc - meta.function-with-body",
|
23
|
+
tabTrigger: "iba",
|
24
|
+
uuid: "92BB3BAE-B8B9-11D9-AE51-000393A143CC"},
|
25
|
+
{content: "- (id)${1:method};",
|
26
|
+
name: "- (id)decl;",
|
27
|
+
scope: "(source.objc | source.objc++) & meta.scope.interface",
|
28
|
+
tabTrigger: "id",
|
29
|
+
uuid: "7BF73194-B8B9-11D9-AE51-000393A143CC"},
|
30
|
+
{content: "- (id)${1:method}\n{\n\treturn ${2:object};\n}",
|
31
|
+
name: "- (id)method",
|
32
|
+
scope:
|
33
|
+
"(source.objc | source.objc++) & meta.scope.implementation.objc - meta.function-with-body",
|
34
|
+
tabTrigger: "id",
|
35
|
+
uuid: "64C7F64A-B8B9-11D9-AE51-000393A143CC"},
|
36
|
+
{content: "- (int)${1:method};",
|
37
|
+
name: "- (int)decl;",
|
38
|
+
scope: "(source.objc | source.objc++) & meta.scope.interface",
|
39
|
+
tabTrigger: "i",
|
40
|
+
uuid: "CBCFDA9F-B8BA-11D9-AE51-000393A143CC"},
|
41
|
+
{content: "- (int)${1:method}\n{\n\treturn ${2:value};\n}\n",
|
42
|
+
name: "- (int)method",
|
43
|
+
scope:
|
44
|
+
"(source.objc | source.objc++) & meta.scope.implementation.objc - meta.function-with-body",
|
45
|
+
tabTrigger: "i",
|
46
|
+
uuid: "B71DF251-B8BA-11D9-AE51-000393A143CC"},
|
47
|
+
{content: "- (void)${1:method}${2::(id)sender};",
|
48
|
+
name: "- (void)decl;",
|
49
|
+
scope: "(source.objc | source.objc++) & meta.scope.interface",
|
50
|
+
tabTrigger: "v",
|
51
|
+
uuid: "9DAAFC70-B8BA-11D9-AE51-000393A143CC"},
|
52
|
+
{content: "- (void)${1:method}${2::(id)sender}\n{\n\t$0\n}\n",
|
53
|
+
name: "- (void)method",
|
54
|
+
scope:
|
55
|
+
"(source.objc | source.objc++) & meta.scope.implementation.objc - meta.function-with-body",
|
56
|
+
tabTrigger: "v",
|
57
|
+
uuid: "91A55D91-B8BA-11D9-AE51-000393A143CC"},
|
58
|
+
{content: "- (void)awakeFromNib\n{\n\t$0\n}\n",
|
59
|
+
name: "- awakeFromNib",
|
60
|
+
scope:
|
61
|
+
"(source.objc | source.objc++) & meta.scope.implementation.objc - meta.function-with-body",
|
62
|
+
tabTrigger: "awa",
|
63
|
+
uuid: "B9311E3C-B8B8-11D9-AE51-000393A143CC"},
|
64
|
+
{content:
|
65
|
+
"- (void)dealloc\n{\n\t[${1:ivar} release];\n\t[super dealloc];\n}\n",
|
66
|
+
name: "- dealloc",
|
67
|
+
scope:
|
68
|
+
"(source.objc | source.objc++) & meta.scope.implementation.objc - meta.function-with-body",
|
69
|
+
tabTrigger: "d",
|
70
|
+
uuid: "41ABB337-B8B9-11D9-AE51-000393A143CC"},
|
71
|
+
{content:
|
72
|
+
"- (id)init\n{\n\tif((self = [super init]))\n\t{\n\t\t$0\n\t}\n\treturn self;\n}\n",
|
73
|
+
name: "- init",
|
74
|
+
scope:
|
75
|
+
"(source.objc | source.objc++) & meta.scope.implementation.objc - meta.function-with-body",
|
76
|
+
tabTrigger: "init",
|
77
|
+
uuid: "C9CD762E-B8B9-11D9-AE51-000393A143CC"},
|
78
|
+
{content:
|
79
|
+
"[NSObject cancelPreviousPerformRequestsWithTarget:${1:self} selector:@selector(${2:method}:) object:${3:nil}];",
|
80
|
+
name: "Cancel Perform Selector",
|
81
|
+
scope: "source.objc, source.objc++",
|
82
|
+
tabTrigger: "can",
|
83
|
+
uuid: "151935C2-B8C0-11D9-AE51-000393A143CC"},
|
84
|
+
{content:
|
85
|
+
"NSArray${TM_C_POINTER: *}${1:array} = [NSArray arrayWithObjects:\n\t\t\t\t\t\t${2:object},$0\n\t\t\t\t\t\tnil];",
|
86
|
+
name: "NSArray With Objects",
|
87
|
+
scope: "source.objc, source.objc++",
|
88
|
+
tabTrigger: "ar",
|
89
|
+
uuid: "E7576EB4-B8BC-11D9-AE51-000393A143CC"},
|
90
|
+
{content:
|
91
|
+
"NSDictionary${TM_C_POINTER: *}${1:dict} = [NSDictionary dictionaryWithObjectsAndKeys:\n\t${2:object}, ${3:key},$0\n\tnil];\n",
|
92
|
+
name: "NSDictionary With Objects and Keys",
|
93
|
+
scope: "source.objc, source.objc++",
|
94
|
+
tabTrigger: "dd",
|
95
|
+
uuid: "BBAF783A-B8BC-11D9-AE51-000393A143CC"},
|
96
|
+
{content:
|
97
|
+
"NSEnumerator${TM_C_POINTER: *}${2:${1:string}Enum} = [${3:$1Array} objectEnumerator];\n${5:id} ${4:curr${1/(.)(.*)/\\U$1\\E$2/}};\n\nwhile (($4 = [$2 nextObject])) {\n $0\n}",
|
98
|
+
name: "NSEnumerator Loop",
|
99
|
+
scope: "source.objc, source.objc++",
|
100
|
+
tabTrigger: "enum",
|
101
|
+
uuid: "71439280-B8C0-11D9-AE51-000393A143CC"},
|
102
|
+
{content:
|
103
|
+
"NSFileManager${TM_C_POINTER: *}${1:fm} = [NSFileManager defaultManager];",
|
104
|
+
name: "NSFileManager",
|
105
|
+
scope: "source.objc, source.objc++",
|
106
|
+
tabTrigger: "fm",
|
107
|
+
uuid: "AE9280E5-B8BE-11D9-AE51-000393A143CC"},
|
108
|
+
{content:
|
109
|
+
"[NSString stringWithFormat:@\"${1:%@}\"${1/([^%]|%%)*(%.)?.*/(?2:, :])/}$2${1/([^%]|%%)*(%.)?.*/(?2:])/}",
|
110
|
+
name: "NSString With Format",
|
111
|
+
scope: "source.objc, source.objc++",
|
112
|
+
tabTrigger: "ff",
|
113
|
+
uuid: "CE7E1A78-B8C2-11D9-9635-000393A143CC"},
|
114
|
+
{content:
|
115
|
+
"NSWorkspace${TM_C_POINTER: *}${1:workspace} = [NSWorkspace sharedWorkspace];",
|
116
|
+
name: "NSWorkspace",
|
117
|
+
scope: "source.objc, source.objc++",
|
118
|
+
tabTrigger: "ws",
|
119
|
+
uuid: "4BBEB085-B8C3-11D9-9635-000393A143CC"},
|
120
|
+
{content: "NS_DURING\n\t$0\nNS_HANDLER\nNS_ENDHANDLER",
|
121
|
+
name: "NS_DURING block",
|
122
|
+
scope: "source.objc, source.objc++",
|
123
|
+
tabTrigger: "during",
|
124
|
+
uuid: "5992DC58-B8C0-11D9-AE51-000393A143CC"},
|
125
|
+
{content:
|
126
|
+
"[self performSelector:@selector(${1:method}:) withObject:${2:nil} afterDelay:${3:1.0}];",
|
127
|
+
name: "Perform Selector",
|
128
|
+
scope: "source.objc, source.objc++",
|
129
|
+
tabTrigger: "perf",
|
130
|
+
uuid: "5DAD4AE0-B8BF-11D9-AE51-000393A143CC"},
|
131
|
+
{content:
|
132
|
+
"[[NSNotificationCenter defaultCenter] postNotificationName:$1 object:self];",
|
133
|
+
name: "Post Notification",
|
134
|
+
scope: "source.objc, source.objc++",
|
135
|
+
tabTrigger: "post",
|
136
|
+
uuid: "A6B9C556-B8BF-11D9-AE51-000393A143CC"},
|
137
|
+
{content: "[[NSNotificationCenter defaultCenter] removeObserver:self];",
|
138
|
+
name: "Remove Observer",
|
139
|
+
scope: "source.objc, source.objc++",
|
140
|
+
tabTrigger: "ro",
|
141
|
+
uuid: "79F1D540-B8BF-11D9-AE51-000393A143CC"},
|
142
|
+
{content: "[NSNumber numberWith${1:Int}:${2:value}]",
|
143
|
+
name: "[NSNumber ...",
|
144
|
+
scope: "source.objc, source.objc++",
|
145
|
+
tabTrigger: "nn",
|
146
|
+
uuid: "1AF2C047-B8BC-11D9-AE51-000393A143CC"},
|
147
|
+
{content: "[${1:object} release];",
|
148
|
+
name: "[object release];",
|
149
|
+
scope: "source.objc, source.objc++",
|
150
|
+
tabTrigger: "rr",
|
151
|
+
uuid: "E5A7F24B-B8BB-11D9-AE51-000393A143CC"},
|
152
|
+
{content: "objectAtIndex:${1:i}",
|
153
|
+
name: "objectAtIndex",
|
154
|
+
scope: "meta.bracketed.objc",
|
155
|
+
tabTrigger: "oi",
|
156
|
+
uuid: "D4527EEE-B8BF-11D9-AE51-000393A143CC"},
|
157
|
+
{content: "objectEnumerator",
|
158
|
+
name: "objectEnumerator",
|
159
|
+
scope: "meta.bracketed.objc",
|
160
|
+
tabTrigger: "oe",
|
161
|
+
uuid: "EF2A1830-B8BF-11D9-AE51-000393A143CC"},
|
162
|
+
{content: "objectForKey:",
|
163
|
+
name: "objectForKey",
|
164
|
+
scope: "meta.bracketed.objc",
|
165
|
+
tabTrigger: "ok",
|
166
|
+
uuid: "E0E7FB1D-B8BF-11D9-AE51-000393A143CC"},
|
167
|
+
{content: "setObject:$1 forKey:",
|
168
|
+
name: "setObject:forKey:",
|
169
|
+
scope: "meta.bracketed.objc",
|
170
|
+
tabTrigger: "so",
|
171
|
+
uuid: "CDFEF4EC-81C4-44EC-B638-3B93803AA2B5"}]
|