Permalink
Browse files

Added point utility snippets

  • Loading branch information...
1 parent b874d09 commit 814655fac5c355744e84ffecd03c2d296167e699 @luuse luuse committed with Dec 10, 2009
Showing with 55 additions and 4 deletions.
  1. +16 −0 Snippets/CGPointEqualToPoint.tmSnippet
  2. +16 −0 Snippets/CGPointMake.tmSnippet
  3. +16 −0 Snippets/CGPointMakeZero.tmSnippet
  4. +7 −4 info.plist
@@ -0,0 +1,16 @@
+<?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>content</key>
+ <string>CGPointEqualToPoint(${1:lhsPoint}, ${2:rhsPoint})</string>
+ <key>name</key>
+ <string>CGPointEqualToPoint</string>
+ <key>scope</key>
+ <string>source.js.objj</string>
+ <key>tabTrigger</key>
+ <string>point</string>
+ <key>uuid</key>
+ <string>D01EA8CC-C1C6-49AD-83FD-99A4D7FAE230</string>
+</dict>
+</plist>
@@ -0,0 +1,16 @@
+<?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>content</key>
+ <string>CGPointMake(${1:0}, ${2:0})</string>
+ <key>name</key>
+ <string>CGPointMake</string>
+ <key>scope</key>
+ <string>source.js.objj</string>
+ <key>tabTrigger</key>
+ <string>point</string>
+ <key>uuid</key>
+ <string>3C170916-F58D-4CB8-9F8A-8A2CB7D10B67</string>
+</dict>
+</plist>
@@ -0,0 +1,16 @@
+<?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>content</key>
+ <string>CGPointMakeZero()</string>
+ <key>name</key>
+ <string>CGPointMakeZero</string>
+ <key>scope</key>
+ <string>source.js.objj</string>
+ <key>tabTrigger</key>
+ <string>point</string>
+ <key>uuid</key>
+ <string>EFF53DCE-BA90-4641-B6BB-044C80E8BAFC</string>
+</dict>
+</plist>
View
@@ -4,10 +4,6 @@
<dict>
<key>mainMenu</key>
<dict>
- <key>excludedItems</key>
- <array>
- <string>2D05A28A-2ED7-4A9A-9A5C-8625466BC77C</string>
- </array>
<key>items</key>
<array>
<string>96065132-E8D4-47C2-B85A-D5C11B2E4E4E</string>
@@ -108,6 +104,10 @@
<dict>
<key>items</key>
<array>
+ <string>74D1015F-D379-435B-87DD-187087CBBBE8</string>
+ <string>D01EA8CC-C1C6-49AD-83FD-99A4D7FAE230</string>
+ <string>EFF53DCE-BA90-4641-B6BB-044C80E8BAFC</string>
+ <string>3C170916-F58D-4CB8-9F8A-8A2CB7D10B67</string>
<string>4BF6588D-DAE5-436A-9869-F610DE4CD9BC</string>
<string>06743940-B13B-4D58-ADAB-7739DBC44BA8</string>
<string>A8093797-EE12-407A-B541-B773A812AFA1</string>
@@ -143,6 +143,9 @@
<string>1A8558AD-9895-4583-8183-0C2E0CA5A675</string>
<string>FCEAA603-5036-4294-AF7C-AE7521E346B4</string>
<string>A8093797-EE12-407A-B541-B773A812AFA1</string>
+ <string>3C170916-F58D-4CB8-9F8A-8A2CB7D10B67</string>
+ <string>EFF53DCE-BA90-4641-B6BB-044C80E8BAFC</string>
+ <string>D01EA8CC-C1C6-49AD-83FD-99A4D7FAE230</string>
<string>A6DB5172-C3D4-4CFE-ADDD-75221402C1A3</string>
<string>722E4F60-483A-493E-B887-063F1595D173</string>
<string>AA41BEF8-5F81-4A5A-85DE-2E81A112778B</string>

0 comments on commit 814655f

Please sign in to comment.