Permalink
Browse files

• Re-scoping from source.actionscript to source.actionscript.2 to all…

…ow peaceful coexistence with the ActionScript 3 bundle.

git-svn-id: http://svn.textmate.org/trunk/Bundles/ActionScript.tmbundle@10826 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
simongregory committed Nov 18, 2008
1 parent 5e30ffb commit 89406eb1f376a290c28e6b8f9f6c33738820e6e3
Showing with 142 additions and 133 deletions.
  1. +2 −2 Commands/Build in Flash.plist
  2. +2 −2 Commands/Build with MTASC.tmCommand
  3. +2 −2 Commands/Find in Actionscript Dictionary.plist
  4. +2 −2 Commands/Install MTASC support files.tmCommand
  5. +1 −1 Commands/MTASC Help.tmCommand
  6. +2 −2 Commands/New Function.tmCommand
  7. +2 −2 Commands/Show AS Function Signature.plist
  8. +2 −2 Commands/Validate Syntax.tmCommand
  9. +2 −2 Preferences/Completions.plist
  10. +2 −2 Preferences/Miscellaneous.tmPreferences
  11. +1 −1 Snippets/AS #endinitclip.plist
  12. +1 −1 Snippets/AS #include.plist
  13. +1 −1 Snippets/AS #initclip.plist
  14. +1 −1 Snippets/AS MovieClip.plist
  15. +1 −1 Snippets/AS break.plist
  16. +1 −1 Snippets/AS call.plist
  17. +1 −1 Snippets/AS case.plist
  18. +3 −2 Snippets/AS catch.plist
  19. +1 −1 Snippets/AS continue.plist
  20. +1 −1 Snippets/AS default.plist
  21. +1 −1 Snippets/AS delete.plist
  22. +3 −2 Snippets/AS do while.plist
  23. +1 −1 Snippets/AS duplicateMovieClip.plist
  24. +1 −1 Snippets/AS else if.plist
  25. +4 −3 Snippets/AS finally.plist
  26. +1 −1 Snippets/AS for in.plist
  27. +1 −1 Snippets/AS for.plist
  28. +1 −1 Snippets/AS fscommand.plist
  29. +1 −1 Snippets/AS function.plist
  30. +1 −1 Snippets/AS getURL.plist
  31. +1 −1 Snippets/AS gotoAndPlay.plist
  32. +1 −1 Snippets/AS gotoAndStop.plist
  33. +1 −1 Snippets/AS if.plist
  34. +1 −1 Snippets/AS ifFrameLoaded.plist
  35. +1 −1 Snippets/AS import.plist
  36. +2 −2 Snippets/AS interface.plist
  37. +1 −1 Snippets/AS loadMovie.plist
  38. +1 −1 Snippets/AS loadMovieNum.plist
  39. +1 −1 Snippets/AS loadVariables.plist
  40. +1 −1 Snippets/AS loadVariablesNum.plist
  41. +3 −2 Snippets/AS nextFrame.plist
  42. +1 −1 Snippets/AS nextScene.plist
  43. +3 −2 Snippets/AS on.plist
  44. +3 −2 Snippets/AS onClipEvent.plist
  45. +1 −1 Snippets/AS play.plist
  46. +1 −1 Snippets/AS prevFrame.plist
  47. +3 −2 Snippets/AS prevScene.plist
  48. +1 −1 Snippets/AS print.plist
  49. +1 −1 Snippets/AS printAsBitmap.plist
  50. +1 −1 Snippets/AS printAsBitmapNum.plist
  51. +1 −1 Snippets/AS printNum.plist
  52. +1 −1 Snippets/AS removeMovieClip.plist
  53. +1 −1 Snippets/AS return.plist
  54. +1 −1 Snippets/AS setProperty.plist
  55. +1 −1 Snippets/AS setVariable.plist
  56. +1 −1 Snippets/AS startDrag.plist
  57. +1 −1 Snippets/AS stop.plist
  58. +1 −1 Snippets/AS stopAllSounds.plist
  59. +1 −1 Snippets/AS stopDrag.plist
  60. +2 −2 Snippets/AS switch.plist
  61. +2 −2 Snippets/AS tellTarget.plist
  62. +1 −1 Snippets/AS throw.plist
  63. +1 −1 Snippets/AS toggleHighQuality.plist
  64. +1 −1 Snippets/AS trace.plist
  65. +1 −1 Snippets/AS try.plist
  66. +1 −1 Snippets/AS unloadMovie.plist
  67. +1 −1 Snippets/AS unloadMovieNum.plist
  68. +1 −1 Snippets/AS var.plist
  69. +2 −2 Snippets/AS while.plist
  70. +2 −2 Snippets/AS with.plist
  71. +1 −1 Snippets/class.tmSnippet
  72. +37 −37 Syntaxes/ActionScript.plist
  73. +3 −1 Templates/AS Class/info.plist
  74. +2 −2 Templates/MTASC Sample.tmTemplate/info.plist
@@ -1,5 +1,5 @@
<?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>
@@ -75,7 +75,7 @@ fi</string>
<key>output</key>
<string>showAsHTML</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>uuid</key>
<string>2197A196-78E3-11D9-8177-000A95C5F126</string>
</dict>
@@ -1,5 +1,5 @@
<?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>
@@ -15,7 +15,7 @@
<key>output</key>
<string>discard</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>uuid</key>
<string>E0105691-3033-43C1-A4A2-4C2785446748</string>
</dict>
@@ -1,5 +1,5 @@
<?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>
@@ -19,7 +19,7 @@
<key>output</key>
<string>discard</string>
<key>scope</key>
- <string>source.actionscript, source.as3</string>
+ <string>source.actionscript.2 </string>
<key>uuid</key>
<string>8B98F650-78F7-11D9-B2B4-000A95C5F126</string>
</dict>
@@ -1,5 +1,5 @@
<?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>
@@ -15,7 +15,7 @@ mate mtasc.yaml</string>
<key>output</key>
<string>discard</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>uuid</key>
<string>FDF81E69-0EE5-4E32-A721-86FE17BF8A6F</string>
</dict>
@@ -16,7 +16,7 @@ html_footer</string>
<key>output</key>
<string>showAsHTML</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>uuid</key>
<string>07095A35-FA36-4BA2-BED6-A369EA5F0A73</string>
</dict>
@@ -1,5 +1,5 @@
<?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>
@@ -21,7 +21,7 @@ SNIPPET</string>
<key>output</key>
<string>insertAsSnippet</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>uuid</key>
<string>FEAF33F2-F8C2-463F-A76A-BA75D0645FC5</string>
</dict>
@@ -1,5 +1,5 @@
<?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>
@@ -17,7 +17,7 @@
<key>output</key>
<string>showAsTooltip</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>uuid</key>
<string>7CDA9C8D-82C1-11D9-8357-000A95C5F126</string>
</dict>
@@ -1,5 +1,5 @@
<?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>
@@ -61,7 +61,7 @@ end</string>
<key>output</key>
<string>discard</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>uuid</key>
<string>C8F898B5-87AD-443C-BBA1-9B611B6413A9</string>
</dict>
@@ -1,11 +1,11 @@
<?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>name</key>
<string>Completions</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>settings</key>
<dict>
<key>completions</key>
@@ -1,11 +1,11 @@
<?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>name</key>
<string>Miscellaneous</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>settings</key>
<dict>
<key>increaseIndentPattern</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>#endinitclip</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>tabTrigger</key>
<string>ec</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>#include</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>tabTrigger</key>
<string>in</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>#initclip</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>tabTrigger</key>
<string>ic</string>
<key>uuid</key>
@@ -9,7 +9,7 @@
<key>name</key>
<string>MovieClip</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>tabTrigger</key>
<string>mc</string>
<key>uuid</key>
View
@@ -7,7 +7,7 @@
<key>name</key>
<string>break</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>tabTrigger</key>
<string>br</string>
<key>uuid</key>
View
@@ -7,7 +7,7 @@
<key>name</key>
<string>call</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>tabTrigger</key>
<string>ca</string>
<key>uuid</key>
View
@@ -8,7 +8,7 @@
<key>name</key>
<string>case</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>tabTrigger</key>
<string>ce</string>
<key>uuid</key>
View
@@ -4,11 +4,12 @@
<dict>
<key>content</key>
<string>catch ($1) {
- $2}</string>
+ $2
+}</string>
<key>name</key>
<string>catch</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>tabTrigger</key>
<string>ch</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>continue</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>tabTrigger</key>
<string>co</string>
<key>uuid</key>
@@ -8,7 +8,7 @@
<key>name</key>
<string>default</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>tabTrigger</key>
<string>dt</string>
<key>uuid</key>
View
@@ -7,7 +7,7 @@
<key>name</key>
<string>delete</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>tabTrigger</key>
<string>de</string>
<key>uuid</key>
@@ -4,11 +4,12 @@
<dict>
<key>content</key>
<string>do {
- $1} while (${2:condition});</string>
+ $1
+} while (${2:condition});</string>
<key>name</key>
<string>do while</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>tabTrigger</key>
<string>do</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>duplicateMovieClip</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>tabTrigger</key>
<string>dm</string>
<key>uuid</key>
@@ -9,7 +9,7 @@
<key>name</key>
<string>else if</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>tabTrigger</key>
<string>ei</string>
<key>uuid</key>
@@ -3,13 +3,14 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>finally {
+ <string>finally {
$1
-}</string>
+}
+</string>
<key>name</key>
<string>finally</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>tabTrigger</key>
<string>fy</string>
<key>uuid</key>
View
@@ -11,7 +11,7 @@
<key>name</key>
<string>for in</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>tabTrigger</key>
<string>fi</string>
<key>uuid</key>
View
@@ -9,7 +9,7 @@
<key>name</key>
<string>for</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>tabTrigger</key>
<string>fr</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>fscommand</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>tabTrigger</key>
<string>fs</string>
<key>uuid</key>
@@ -9,7 +9,7 @@
<key>name</key>
<string>function</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>tabTrigger</key>
<string>fn</string>
<key>uuid</key>
View
@@ -7,7 +7,7 @@
<key>name</key>
<string>getURL</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>tabTrigger</key>
<string>gu</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>gotoAndPlay</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>tabTrigger</key>
<string>gp</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>gotoAndStop</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>tabTrigger</key>
<string>gs</string>
<key>uuid</key>
View
@@ -9,7 +9,7 @@
<key>name</key>
<string>if</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>tabTrigger</key>
<string>if</string>
<key>uuid</key>
@@ -9,7 +9,7 @@
<key>name</key>
<string>ifFrameLoaded</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>tabTrigger</key>
<string>il</string>
<key>uuid</key>
View
@@ -7,7 +7,7 @@
<key>name</key>
<string>import</string>
<key>scope</key>
- <string>source.actionscript</string>
+ <string>source.actionscript.2</string>
<key>tabTrigger</key>
<string>ip</string>
<key>uuid</key>
Oops, something went wrong.

0 comments on commit 89406eb

Please sign in to comment.