Permalink
Browse files

First commit of bundle

  • Loading branch information...
osadchuk committed Sep 24, 2010
0 parents commit 80cbcacd2ca0e4e99936b864759bb6957fb00210
@@ -0,0 +1,40 @@
+<?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>#!/usr/bin/env ruby
+TM_LUAC = ENV['TM_LUAC'] || (ENV['TM_LUA'] ? "#{ENV['TM_LUA']}c" : "luac")
+
+require ENV['TM_SUPPORT_PATH'] + '/lib/textmate'
+
+TextMate.require_cmd "#{TM_LUAC}"
+
+puts "using #{TM_LUAC}"
+result = `"#{TM_LUAC}" -p - 2&gt;&amp;1`
+puts result
+
+regexp = /^luac: stdin:(\d+):/
+
+if result =~ regexp
+ TextMate.go_to :line =&gt; $1
+else
+ puts "Syntax OK"
+end
+</string>
+ <key>input</key>
+ <string>document</string>
+ <key>keyEquivalent</key>
+ <string>^V</string>
+ <key>name</key>
+ <string>Check Syntax</string>
+ <key>output</key>
+ <string>showAsTooltip</string>
+ <key>scope</key>
+ <string>source.lua</string>
+ <key>uuid</key>
+ <string>E2D1F434-A472-4185-9933-4D9408C6C4D0</string>
+</dict>
+</plist>
@@ -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>beforeRunningCommand</key>
+ <string>saveActiveFile</string>
+ <key>command</key>
+ <string>"/Applications/CoronaSDK/Corona Simulator.app/Contents/MacOS/Corona Simulator" "$TM_DIRECTORY"
+</string>
+ <key>input</key>
+ <string>none</string>
+ <key>keyEquivalent</key>
+ <string>@r</string>
+ <key>name</key>
+ <string>Run Script</string>
+ <key>output</key>
+ <string>showAsTooltip</string>
+ <key>scope</key>
+ <string>source.lua</string>
+ <key>uuid</key>
+ <string>BF303CAC-FF2B-4299-8F2B-C84FE64B5146</string>
+</dict>
+</plist>
@@ -0,0 +1,24 @@
+<?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>Comments</string>
+ <key>scope</key>
+ <string>source.lua</string>
+ <key>settings</key>
+ <dict>
+ <key>shellVariables</key>
+ <array>
+ <dict>
+ <key>name</key>
+ <string>TM_COMMENT_START</string>
+ <key>value</key>
+ <string>-- </string>
+ </dict>
+ </array>
+ </dict>
+ <key>uuid</key>
+ <string>8A2A2BE0-B474-49B4-85C3-BAF2BD2FCAFB</string>
+</dict>
+</plist>
@@ -0,0 +1,70 @@
+<?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>Completions</string>
+ <key>settings</key>
+ <dict>
+ <key>completions</key>
+ <array>
+ <string>display</string>
+ <string>newText</string>
+ <string>newCircle</string>
+ <string>newRect</string>
+ <string>newRoundedRect</string>
+ <string>newImage</string>
+ <string>setTextColor</string>
+ <string>addEventListener</string>
+ <string>removeEventListener</string>
+ <string>insert</string>
+ <string>remove</string>
+ <string>removeSelf</string>
+ <string>TopLeftReferencePoint</string>
+ <string>TopRightReferencePoint</string>
+ <string>CenterReferencePoint</string>
+ <string>BottomLeftReferencePoint</string>
+ <string>BottomRightReferencePoint</string>
+ <string>alpha</string>
+ <string>height</string>
+ <string>isVisible</string>
+ <string>isHitTestable</string>
+ <string>length</string>
+ <string>parent</string>
+ <string>rotation</string>
+ <string>stageBounds</string>
+ <string>stageHeight</string>
+ <string>stageWidth</string>
+ <string>width</string>
+ <string>xOrigin</string>
+ <string>xReference</string>
+ <string>xScale</string>
+ <string>yOrigin</string>
+ <string>yReference</string>
+ <string>yScale</string>
+ <string>dispatchEvent</string>
+ <string>getParent</string>
+ <string>rotate</string>
+ <string>scale</string>
+ <string>setReferencePoint</string>
+ <string>translate</string>
+ <string>strokeWidth</string>
+ <string>setFillColor</string>
+ <string>setStrokeColor</string>
+ <string>text</string>
+ <string>size</string>
+ <string>numChildren</string>
+ <string>setFocus</string>
+ <string>getCurrentStage</string>
+ <string>setStatusBar</string>
+ <string>contentWidth</string>
+ <string>contentHeight</string>
+ <string>viewableContentWidth</string>
+ <string>viewableContentHeight</string>
+ <string>statusBarHeight</string>
+ </array>
+ </dict>
+ <key>uuid</key>
+ <string>55EEE7A8-288A-4DBD-9285-7FD5250F1B97</string>
+</dict>
+</plist>
@@ -0,0 +1,19 @@
+<?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>Indent</string>
+ <key>scope</key>
+ <string>source.lua</string>
+ <key>settings</key>
+ <dict>
+ <key>decreaseIndentPattern</key>
+ <string>^\s*(elseif|else|end|\})\s*$</string>
+ <key>increaseIndentPattern</key>
+ <string>^\s*(else|elseif|for|(local\s+)?function|if|repeat|until|while)\b((?!end).)*$|\{\s*$</string>
+ </dict>
+ <key>uuid</key>
+ <string>411468A8-E0AC-415A-9E71-E2BD091EB571</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>addEventListener("${1:event_name}", ${2:callback_function})</string>
+ <key>name</key>
+ <string>addEventListener</string>
+ <key>scope</key>
+ <string>source.lua</string>
+ <key>tabTrigger</key>
+ <string>addEventListener</string>
+ <key>uuid</key>
+ <string>CD4C09C5-A81D-444A-89F2-FE2B332B4FF1</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>display.newCircle( ${1:xCenter}, ${2:yCenter}, ${3:radius} )</string>
+ <key>name</key>
+ <string>display.newCircle</string>
+ <key>scope</key>
+ <string>source.lua</string>
+ <key>tabTrigger</key>
+ <string>display.newCircle</string>
+ <key>uuid</key>
+ <string>25495BEF-4928-42D3-BBB4-D0C56936B9DD</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>display.newImage( "${1:path_to_image}" )</string>
+ <key>name</key>
+ <string>display.newImage</string>
+ <key>scope</key>
+ <string>source.lua</string>
+ <key>tabTrigger</key>
+ <string>display.newImage</string>
+ <key>uuid</key>
+ <string>0DE89ECA-3885-487D-9C38-60E93CE1FD2A</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>display.newRect( ${1:left}, ${2:top}, ${3:width}, ${4:height} )</string>
+ <key>name</key>
+ <string>display.newRect</string>
+ <key>scope</key>
+ <string>source.lua</string>
+ <key>tabTrigger</key>
+ <string>display.newRect</string>
+ <key>uuid</key>
+ <string>58EC5F1F-655C-417C-A807-32572640CEA8</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>display.newRoundedRect( ${1:left}, ${2:top}, ${3:width}, ${4:height}, ${5:cornerRadius} )</string>
+ <key>name</key>
+ <string>display.newRoundedRect</string>
+ <key>scope</key>
+ <string>source.lua</string>
+ <key>tabTrigger</key>
+ <string>display.newRoundedRect</string>
+ <key>uuid</key>
+ <string>ED6354A9-3E38-482B-9E40-033FA368EFA4</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>display.newText("${1:string}", ${2:x}, ${3:y}, ${4:font}, ${5:size})</string>
+ <key>name</key>
+ <string>display.newText</string>
+ <key>scope</key>
+ <string>source.lua</string>
+ <key>tabTrigger</key>
+ <string>display.newText</string>
+ <key>uuid</key>
+ <string>0239E566-934D-4C6C-B8FA-DA44E9E45876</string>
+</dict>
+</plist>
@@ -0,0 +1,18 @@
+<?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>for ${1:i},${2:v} in ipairs(${3:table_name}) do
+ ${0:print(i,v)}
+end</string>
+ <key>name</key>
+ <string>for i,v in ipairs()</string>
+ <key>scope</key>
+ <string>source.lua</string>
+ <key>tabTrigger</key>
+ <string>fori</string>
+ <key>uuid</key>
+ <string>082D9465-0CEF-40DB-9B1C-34940D38F4F0</string>
+</dict>
+</plist>
@@ -0,0 +1,18 @@
+<?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>for ${1:i}=${2:1},${3:10} do
+ ${0:print(i)}
+end</string>
+ <key>name</key>
+ <string>for i=1,10</string>
+ <key>scope</key>
+ <string>source.lua</string>
+ <key>tabTrigger</key>
+ <string>for</string>
+ <key>uuid</key>
+ <string>B1FDD74B-F037-45B7-AA61-7CB56BFA67CD</string>
+</dict>
+</plist>
@@ -0,0 +1,18 @@
+<?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>for ${1:k},${2:v} in pairs(${3:table_name}) do
+ ${0:print(k,v)}
+end</string>
+ <key>name</key>
+ <string>for k,v in pairs()</string>
+ <key>scope</key>
+ <string>source.lua</string>
+ <key>tabTrigger</key>
+ <string>forp</string>
+ <key>uuid</key>
+ <string>A75263F5-C971-42F2-8FAC-83829AD945DE</string>
+</dict>
+</plist>
@@ -0,0 +1,18 @@
+<?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>function ${1:function_name}( ${2:...} )
+ ${0:-- body}
+end</string>
+ <key>name</key>
+ <string>function</string>
+ <key>scope</key>
+ <string>source.lua</string>
+ <key>tabTrigger</key>
+ <string>function</string>
+ <key>uuid</key>
+ <string>F4A541EB-8C83-4EFB-97A7-F780807AC23A</string>
+</dict>
+</plist>
@@ -0,0 +1,18 @@
+<?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>function ${1:function_name}( ${2:...} )
+ ${0:-- body}
+end</string>
+ <key>name</key>
+ <string>function</string>
+ <key>scope</key>
+ <string>source.lua</string>
+ <key>tabTrigger</key>
+ <string>fun</string>
+ <key>uuid</key>
+ <string>3E0EEDB8-2C15-4703-939B-9334714B3A8E</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>local ${1:x} = ${0:1}</string>
+ <key>name</key>
+ <string>local x = 1</string>
+ <key>scope</key>
+ <string>source.lua</string>
+ <key>tabTrigger</key>
+ <string>local</string>
+ <key>uuid</key>
+ <string>0CEE4504-F8F1-4A98-AC7B-AA679CAAAB55</string>
+</dict>
+</plist>
Oops, something went wrong.

0 comments on commit 80cbcac

Please sign in to comment.