Permalink
Browse files

fixed color scheme and documentation command...

  • Loading branch information...
1 parent abfab10 commit 0d0d22068f3af4964af053f797632f8282d4f7ab @malkomalko committed Nov 16, 2009
Showing with 882 additions and 34 deletions.
  1. +22 −0 Commands/Documentation for Word.tmCommand
  2. +1 −1 Commands/Load Delegate Window.tmCommand
  3. +23 −0 Preferences/Symbol List: Method.tmPreferences
  4. +4 −1 README.md
  5. +1 −1 Snippets/@selector(…).tmSnippet
  6. +1 −1 Snippets/Accessors.tmSnippet
  7. +1 −1 Snippets/Add Subview.tmSnippet
  8. +1 −1 Snippets/CGRectGetHeight.tmSnippet
  9. +1 −1 Snippets/CGRectGetWidth.tmSnippet
  10. +1 −1 Snippets/CGRectMake.tmSnippet
  11. +1 −1 Snippets/CGRectMakeZero.tmSnippet
  12. +1 −1 Snippets/CPColor rgb.tmSnippet
  13. +1 −1 Snippets/Category.tmSnippet
  14. +1 −1 Snippets/Class.tmSnippet
  15. +1 −1 Snippets/Delegate Responds to Selector.tmSnippet
  16. +1 −1 Snippets/New CPTextField.tmSnippet
  17. +1 −1 Snippets/Responds to Selector.tmSnippet
  18. +1 −1 Snippets/Rounded TextField.tmSnippet
  19. +1 −1 Snippets/TextField.tmSnippet
  20. +1 −1 Snippets/color hex.tmSnippet
  21. +1 −1 Snippets/color random.tmSnippet
  22. +1 −1 Snippets/console_log.tmSnippet
  23. +1 −1 Snippets/debugger.tmSnippet
  24. +1 −1 Snippets/import "…" (with File Menu).tmSnippet
  25. +1 −1 Snippets/import "…".tmSnippet
  26. +1 −1 Snippets/import <…>.tmSnippet
  27. +1 −1 Snippets/mask: bottom left.tmSnippet
  28. +1 −1 Snippets/mask: bottom right.tmSnippet
  29. +1 −1 Snippets/mask: center.tmSnippet
  30. +1 −1 Snippets/mask: resize height left.tmSnippet
  31. +1 −1 Snippets/mask: resize height right.tmSnippet
  32. +1 −1 Snippets/mask: resize width bottom.tmSnippet
  33. +1 −1 Snippets/mask: resize width top.tmSnippet
  34. +1 −1 Snippets/mask: top left.tmSnippet
  35. +1 −1 Snippets/mask: top right.tmSnippet
  36. +1 −1 Snippets/setAutoresizingMask.tmSnippet
  37. +155 −0 Support/bin/show_documentation_for_word.rb
  38. +642 −0 Syntaxes/Objective-J.tmLanguage
  39. +3 −0 info.plist
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>beforeRunningCommand</key>
+ <string>nop</string>
+ <key>command</key>
+ <string>"${TM_BUNDLE_SUPPORT}/bin/show_documentation_for_word.rb"</string>
+ <key>input</key>
+ <string>selection</string>
+ <key>keyEquivalent</key>
+ <string>^h</string>
+ <key>name</key>
+ <string>Documentation for Word</string>
+ <key>output</key>
+ <string>showAsTooltip</string>
+ <key>scope</key>
+ <string>support.class.cappuccino, support.variable.cappuccino.foundation, meta.bracketed.js.objj, support.function.cappuccino</string>
+ <key>uuid</key>
+ <string>2D05A28A-2ED7-4A9A-9A5C-8625466BC77C</string>
+</dict>
+</plist>
@@ -44,7 +44,7 @@ print "- (void)#{e_sn(response)}:(id)sender
<key>output</key>
<string>insertAsSnippet</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>uuid</key>
<string>4FC07066-67A9-4792-93F7-F83EA869A499</string>
</dict>
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>name</key>
+ <string>Symbol List: Method</string>
+ <key>scope</key>
+ <string>meta.function.js.objj</string>
+ <key>settings</key>
+ <dict>
+ <key>showInSymbolList</key>
+ <integer>1</integer>
+ <key>symbolTransformation</key>
+ <string>
+ s/^([-+])\s*\(.*?\)\s*/ $1 /; # strip result type
+ s/:\s*\(.*?\)\s*\w+\s*/:/g; # strip argument variables
+ s/\s*;?$//g; # strip terminating ws + semi-colon
+ </string>
+ </dict>
+ <key>uuid</key>
+ <string>E65A721C-192D-4BCC-AD35-5ED5CB0DA5BE</string>
+</dict>
+</plist>
View
@@ -2,6 +2,8 @@
To install with Git:
+ First make sure to remove any old Objective-J bundles then:
+
mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
git clone git://github.com/malkomalko/Cappuccino.tmbundle.git
@@ -34,4 +36,5 @@ To install with Git:
* (rect) CGRectMakeZero
* (rect) CGRectMake
* (color) common CPColor methods
-* Language/Syntax
+* Language/Syntax
+* Documentation for Word Command from rsim
@@ -7,7 +7,7 @@
<key>name</key>
<string>@selector(…)</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>sel</string>
<key>uuid</key>
@@ -15,7 +15,7 @@
<key>name</key>
<string>accessors</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>rw</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>addSubview</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>asv</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>CGRectGetHeight</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>rect</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>CGRectGetWidth</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>rect</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>CGRectMake</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>rect</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>CGRectMakeZero</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>rect</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>CPColor rgb</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>color</string>
<key>uuid</key>
@@ -12,7 +12,7 @@ $0
<key>name</key>
<string>category</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>cat</string>
<key>uuid</key>
View
@@ -21,7 +21,7 @@
<key>name</key>
<string>class</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>cla</string>
<key>uuid</key>
@@ -9,7 +9,7 @@
<key>name</key>
<string>delegate responds to selector</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>delr</string>
<key>uuid</key>
@@ -13,7 +13,7 @@ ${0:}</string>
<key>name</key>
<string>Label</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>text</string>
<key>uuid</key>
@@ -11,7 +11,7 @@ if ([${1:self} respondsToSelector:@selector(${2:someSelector:})])
<key>name</key>
<string>responds to selector</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>res</string>
<key>uuid</key>
@@ -11,7 +11,7 @@ ${0:}</string>
<key>name</key>
<string>Rounded TextField</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>text</string>
<key>uuid</key>
@@ -14,7 +14,7 @@ ${0:}</string>
<key>name</key>
<string>TextField</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>text</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>CPColor hex</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>color</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>CPColor random</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>color</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>console.log</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>log</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>debugger</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>deb</string>
<key>uuid</key>
@@ -8,7 +8,7 @@
<key>name</key>
<string>import "…" (with File Menu)</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>imp</string>
<key>uuid</key>
@@ -8,7 +8,7 @@
<key>name</key>
<string>import "…"</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>imp</string>
<key>uuid</key>
@@ -8,7 +8,7 @@
<key>name</key>
<string>import &lt;&gt;</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>imp</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>mask: bottom left</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>mbl</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>mask: bottom right</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>mbr</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>mask: center</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>mc</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>mask: resize height left</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>mhl</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>mask: resize height right</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>mhr</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>mask: resize width bottom</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>mwb</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>mask: resize width top</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>mwt</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>mask: top left</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>mtl</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>mask: top right</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>mtr</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>mask: full resize</string>
<key>scope</key>
- <string>source.objj</string>
+ <string>source.js.objj</string>
<key>tabTrigger</key>
<string>mf</string>
<key>uuid</key>
Oops, something went wrong.

0 comments on commit 0d0d220

Please sign in to comment.