Browse files

Applied Nicholas Seckar's changes. I really hope I didn't break anyth…

…ing! ^_^;;

git-svn-id: http://svn.textmate.org/trunk/Bundles/Io.tmbundle@3189 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent 23b2e25 commit 8c2f3007dec199e0added879f6542458b8a30c62 Rob Rix committed May 1, 2006
View
21 Preferences/Indentation Rules.plist
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>name</key>
+ <string>Indentation Rules</string>
+ <key>scope</key>
+ <string>source.io</string>
+ <key>settings</key>
+ <dict>
+ <key>decreaseIndentPattern</key>
+ <string>\)</string>
+ <key>indentNextLinePattern</key>
+ <string>\(</string>
+ <key>unIndentedLinePattern</key>
+ <string>^\s*(#.*)?\s*$</string>
+ </dict>
+ <key>uuid</key>
+ <string>9D0E390E-145F-48F8-944A-E1349337DABF</string>
+</dict>
+</plist>
View
37 Preferences/Typing Pairs.plist
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>name</key>
+ <string>Typing Pairs</string>
+ <key>scope</key>
+ <string>source.io</string>
+ <key>settings</key>
+ <dict>
+ <key>highlightPairs</key>
+ <array>
+ <array>
+ <string>"</string>
+ <string>"</string>
+ </array>
+ <array>
+ <string>(</string>
+ <string>)</string>
+ </array>
+ </array>
+ <key>smartTypingPairs</key>
+ <array>
+ <array>
+ <string>"</string>
+ <string>"</string>
+ </array>
+ <array>
+ <string>(</string>
+ <string>)</string>
+ </array>
+ </array>
+ </dict>
+ <key>uuid</key>
+ <string>6131549E-7BD0-4AB3-AC12-4BD971BE95B0</string>
+</dict>
+</plist>
View
20 Snippets/Indented Bracketed Line.plist
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>(${1:header,}
+ ${2:body}
+)$0</string>
+ <key>keyEquivalent</key>
+ <string>@(</string>
+ <key>name</key>
+ <string>Indented Bracketed Line</string>
+ <key>scope</key>
+ <string>source.io</string>
+ <key>tabTrigger</key>
+ <string>(</string>
+ <key>uuid</key>
+ <string>6D6682F0-5C77-4581-B0C3-A732D5B0A93E</string>
+</dict>
+</plist>
View
2 Snippets/Indented return.plist
@@ -11,7 +11,7 @@
</string>
<key>name</key>
<string>Special: Return Inside Empty Parenthesis</string>
- <key>scope</key>
+ <key>scope</key>
<string>source.io meta.empty-parenthesis.io, source.io meta.comma-parenthesis.io</string>
<key>uuid</key>
<string>0F687653-BF6D-4C2C-A75E-C9193E870BBC</string>
View
18 Snippets/Method.plist
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>${1:methodName} := method(${2:args,}
+ $0
+)</string>
+ <key>name</key>
+ <string>method</string>
+ <key>scope</key>
+ <string>source.io</string>
+ <key>tabTrigger</key>
+ <string>m</string>
+ <key>uuid</key>
+ <string>D55B718A-71A6-41A0-98ED-07B72442DDE8</string>
+</dict>
+</plist>
View
18 Snippets/Object clone do.plist
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>${1:name} := Object clone do(
+ $0
+)</string>
+ <key>name</key>
+ <string>Object clone do</string>
+ <key>scope</key>
+ <string>source.io</string>
+ <key>tabTrigger</key>
+ <string>ocdo</string>
+ <key>uuid</key>
+ <string>FEF230FE-43A6-423C-B9DF-D03E6066D1AC</string>
+</dict>
+</plist>
View
18 Snippets/UnitTest.plist
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>${1:Something}Test := ${2:UnitTest} clone do(
+ $0
+)</string>
+ <key>name</key>
+ <string>UnitTest</string>
+ <key>scope</key>
+ <string>source.io</string>
+ <key>tabTrigger</key>
+ <string>ut</string>
+ <key>uuid</key>
+ <string>35D0E7C0-E396-4D8B-8361-89B88C3AFF0C</string>
+</dict>
+</plist>
View
16 Snippets/assertEquals.plist
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>assertEquals(${1:expected}, ${2:expr})</string>
+ <key>name</key>
+ <string>assertEquals</string>
+ <key>scope</key>
+ <string>source.io</string>
+ <key>tabTrigger</key>
+ <string>ae</string>
+ <key>uuid</key>
+ <string>57E40ECD-AC15-4AB8-89D4-C123CA0B164C</string>
+</dict>
+</plist>
View
18 Snippets/clone do.plist
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>${1:${2:newValue} := ${3:Object} }clone do(
+ $0
+)</string>
+ <key>name</key>
+ <string>clone do</string>
+ <key>scope</key>
+ <string>source.io</string>
+ <key>tabTrigger</key>
+ <string>cdo</string>
+ <key>uuid</key>
+ <string>E195E70E-E46F-4B42-B70E-3CE744AA920E</string>
+</dict>
+</plist>
View
16 Snippets/docSlot.plist
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>docSlot("${1:slotName}", "${2:documentation}")</string>
+ <key>name</key>
+ <string>docSlot</string>
+ <key>scope</key>
+ <string>source.io</string>
+ <key>tabTrigger</key>
+ <string>ds</string>
+ <key>uuid</key>
+ <string>7BEB3C8C-641B-4BEA-9F92-6594A8D448DD</string>
+</dict>
+</plist>
View
16 Snippets/newSlot.plist
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>newSlot("${1:slotName}", ${2:defaultValue}, "${3:docString}")$0</string>
+ <key>name</key>
+ <string>newSlot</string>
+ <key>scope</key>
+ <string>source.io</string>
+ <key>tabTrigger</key>
+ <string>ns</string>
+ <key>uuid</key>
+ <string>08A134DC-B1D9-42D3-AF5F-3E1061AD8827</string>
+</dict>
+</plist>
View
18 Snippets/testMethod.plist
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>test${1:SomeFeature} := method(
+ $0
+)</string>
+ <key>name</key>
+ <string>testMethod</string>
+ <key>scope</key>
+ <string>source.io</string>
+ <key>tabTrigger</key>
+ <string>ts</string>
+ <key>uuid</key>
+ <string>086D0C3A-130F-4C93-B1E5-1522DDAF58FA</string>
+</dict>
+</plist>
View
18 Syntaxes/Io.plist
@@ -31,6 +31,20 @@
<string>(\()\)</string>
</dict>
<dict>
+ <key>captures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>meta.comma-parenthesis.io</string>
+ </dict>
+ </dict>
+ <key>comment</key>
+ <string>We want to do the same for ,) -- Seckar</string>
+ <key>match</key>
+ <string>(\,)\)</string>
+ </dict>
+ <dict>
<key>match</key>
<string>\b(if|ifTrue|ifFalse|ifTrueIfFalse|for|loop|reverseForeach|foreach|map|continue|break|while|do|return)\b</string>
<key>name</key>
@@ -60,7 +74,7 @@
<key>comment</key>
<string>I wonder if some of this isn't variable.other.language? --Allan</string>
<key>match</key>
- <string>\b(self|sender|target|proto|parent|protos)\b</string>
+ <string>\b(self|sender|target|proto|protos)\b</string>
<key>name</key>
<string>keyword.other.io</string>
</dict>
@@ -84,7 +98,7 @@
</dict>
<dict>
<key>match</key>
- <string>\b(clone|init|method|list|vector|block|(\w+(?=\s*\()))\b</string>
+ <string>\b(clone|call|init|method|list|vector|block|(\w+(?=\s*\()))\b</string>
<key>name</key>
<string>support.function.io</string>
</dict>
View
1 info.plist
@@ -6,7 +6,6 @@
<string>Io</string>
<key>ordering</key>
<array>
- <string>937C187C-75F2-42F7-9AB8-972CBB9BABF5</string>
<string>0F687653-BF6D-4C2C-A75E-C9193E870BBC</string>
<string>BD798537-3548-47F3-A6AB-7FB95C45DB83</string>
</array>

0 comments on commit 8c2f300

Please sign in to comment.