Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add initial semantic classes.

Add initial semantic classes.
  • Loading branch information...
commit ba4f63d5fcbf38a2bcd2c8e449f9527f610a41e9 1 parent 0e8fb02
@infininight infininight authored
View
19 Commands/Build in Flash.plist
@@ -5,7 +5,10 @@
<key>beforeRunningCommand</key>
<string>saveModifiedFiles</string>
<key>command</key>
- <string># In order to use this command, you need this to install flashcommand:
+ <string>#!/usr/bin/env bash
+[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
+
+# In order to use this command, you need this to install flashcommand:
# http://www.markme.com/mesh/archives/004419.cfm
#
#
@@ -66,17 +69,27 @@ fi</string>
<string>2</string>
<key>input</key>
<string>none</string>
+ <key>inputFormat</key>
+ <string>text</string>
<key>keyEquivalent</key>
<string>@b</string>
<key>lineCaptureRegister</key>
<string>3</string>
<key>name</key>
<string>Build in Flash</string>
- <key>output</key>
- <string>showAsHTML</string>
+ <key>outputCaret</key>
+ <string>afterOutput</string>
+ <key>outputFormat</key>
+ <string>html</string>
+ <key>outputLocation</key>
+ <string>newWindow</string>
<key>scope</key>
<string>source.actionscript.2</string>
+ <key>semanticClass</key>
+ <string>process.build.actionscript</string>
<key>uuid</key>
<string>2197A196-78E3-11D9-8177-000A95C5F126</string>
+ <key>version</key>
+ <integer>2</integer>
</dict>
</plist>
View
17 Commands/Build with MTASC.tmCommand
@@ -5,18 +5,31 @@
<key>beforeRunningCommand</key>
<string>saveModifiedFiles</string>
<key>command</key>
- <string>ruby "$TM_BUNDLE_SUPPORT/Tools/build_with_mtasc.rb"</string>
+ <string>#!/usr/bin/env bash
+[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
+
+ruby "$TM_BUNDLE_SUPPORT/Tools/build_with_mtasc.rb"</string>
<key>input</key>
<string>none</string>
+ <key>inputFormat</key>
+ <string>text</string>
<key>keyEquivalent</key>
<string>@r</string>
<key>name</key>
<string>Build With MTASC</string>
- <key>output</key>
+ <key>outputCaret</key>
+ <string>afterOutput</string>
+ <key>outputFormat</key>
+ <string>text</string>
+ <key>outputLocation</key>
<string>discard</string>
<key>scope</key>
<string>source.actionscript.2</string>
+ <key>semanticClass</key>
+ <string>process.run.actionscript</string>
<key>uuid</key>
<string>E0105691-3033-43C1-A4A2-4C2785446748</string>
+ <key>version</key>
+ <integer>2</integer>
</dict>
</plist>
View
19 Commands/Find in Actionscript Dictionary.plist
@@ -5,22 +5,33 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
- <string>"$TM_BUNDLE_SUPPORT/Tools/asd.rb"</string>
- <key>dontFollowNewOutput</key>
- <string>1</string>
+ <string>#!/usr/bin/env bash
+[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
+
+"$TM_BUNDLE_SUPPORT/Tools/asd.rb"</string>
<key>fallbackInput</key>
<string>word</string>
<key>input</key>
<string>selection</string>
+ <key>inputFormat</key>
+ <string>text</string>
<key>keyEquivalent</key>
<string>^h</string>
<key>name</key>
<string>Find in Actionscript Dictionary</string>
- <key>output</key>
+ <key>outputCaret</key>
+ <string>afterOutput</string>
+ <key>outputFormat</key>
+ <string>text</string>
+ <key>outputLocation</key>
<string>discard</string>
<key>scope</key>
<string>source.actionscript.2 </string>
+ <key>semanticClass</key>
+ <string>lookup.define.actionscript</string>
<key>uuid</key>
<string>8B98F650-78F7-11D9-B2B4-000A95C5F126</string>
+ <key>version</key>
+ <integer>2</integer>
</dict>
</plist>
View
17 Commands/MTASC Help.tmCommand
@@ -5,19 +5,30 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
- <string>. "$TM_SUPPORT_PATH/lib/webpreview.sh"
+ <string>#!/usr/bin/env bash
+[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
+
+. "$TM_SUPPORT_PATH/lib/webpreview.sh"
html_header "MTASC Help" "ActionScript"
"$TM_SUPPORT_PATH/lib/markdown_to_help.rb" "$TM_BUNDLE_SUPPORT/help.markdown"
html_footer</string>
<key>input</key>
<string>none</string>
+ <key>inputFormat</key>
+ <string>text</string>
<key>name</key>
<string>MTASC Help</string>
- <key>output</key>
- <string>showAsHTML</string>
+ <key>outputCaret</key>
+ <string>afterOutput</string>
+ <key>outputFormat</key>
+ <string>html</string>
+ <key>outputLocation</key>
+ <string>newWindow</string>
<key>scope</key>
<string>source.actionscript.2</string>
<key>uuid</key>
<string>07095A35-FA36-4BA2-BED6-A369EA5F0A73</string>
+ <key>version</key>
+ <integer>2</integer>
</dict>
</plist>
View
19 Commands/Publish Movie.plist
@@ -1,25 +1,38 @@
<?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">
+<!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>saveModifiedFiles</string>
<key>command</key>
- <string># publishes the document which is open in flash
+ <string>#!/usr/bin/env bash
+[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
+
+# publishes the document which is open in flash
echo "flash.getDocumentDOM().publish()" &gt; /tmp/test.jsfl;
open /tmp/test.jsfl;</string>
<key>input</key>
<string>none</string>
+ <key>inputFormat</key>
+ <string>text</string>
<key>keyEquivalent</key>
<string>@b</string>
<key>name</key>
<string>Publish Movie</string>
- <key>output</key>
+ <key>outputCaret</key>
+ <string>afterOutput</string>
+ <key>outputFormat</key>
+ <string>text</string>
+ <key>outputLocation</key>
<string>discard</string>
<key>scope</key>
<string>source.actionscript</string>
+ <key>semanticClass</key>
+ <string>process.build.actionscript</string>
<key>uuid</key>
<string>6EE297DB-83BF-11D9-AD5A-000A95C5F126</string>
+ <key>version</key>
+ <integer>2</integer>
</dict>
</plist>
View
17 Commands/Test Movie.plist
@@ -5,21 +5,34 @@
<key>beforeRunningCommand</key>
<string>saveModifiedFiles</string>
<key>command</key>
- <string># assumes the .FLA file is already open
+ <string>#!/usr/bin/env bash
+[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
+
+# assumes the .FLA file is already open
echo "flash.getDocumentDOM().testMovie()" &gt; /tmp/test.jsfl;
open /tmp/test.jsfl;</string>
<key>input</key>
<string>none</string>
+ <key>inputFormat</key>
+ <string>text</string>
<key>keyEquivalent</key>
<string>@r</string>
<key>name</key>
<string>Test Movie</string>
- <key>output</key>
+ <key>outputCaret</key>
+ <string>afterOutput</string>
+ <key>outputFormat</key>
+ <string>text</string>
+ <key>outputLocation</key>
<string>discard</string>
<key>scope</key>
<string>source.actionscript.2</string>
+ <key>semanticClass</key>
+ <string>process.external.run.actionscript</string>
<key>uuid</key>
<string>BE332E85-83B1-11D9-AD5A-000A95C5F126</string>
+ <key>version</key>
+ <integer>2</integer>
</dict>
</plist>
Please sign in to comment.
Something went wrong with that request. Please try again.