public
Description: HTML TextMate bundle
Homepage: http://macromates.com
Clone URL: git://github.com/drnic/html-tmbundle.git
Search Repo:
Updated Flash drop command to allow for multiple files

git-svn-id: 
http://macromates.com/svn/Bundles/trunk/Bundles/HTML.tmbundle@8611 
dfb7d73b-c2ec-0310-8fea-fb051d288c6d
subtlegradient (author)
Wed Dec 05 12:44:37 -0800 2007
commit  42b9ac42aefdf743a99b55c398d3c05fda9e3ade
tree    25f7e6a23d0280e61e78dcb657bb0e99335ded34
parent  402854f2a4bf9c93527874af76c24add64dbabf0
...
1
2
 
3
4
5
...
107
108
109
110
 
111
112
113
 
 
114
115
116
...
1
 
2
3
4
5
...
107
108
109
 
110
111
 
 
112
113
114
115
116
0
@@ -1,5 +1,5 @@
0
 <?xml version="1.0" encoding="UTF-8"?>
0
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
0
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
0
 <plist version="1.0">
0
 <dict>
0
   <key>beforeRunningCommand</key>
0
@@ -107,10 +107,10 @@ swf = Swf.new(file)
0
 
0
 if (ENV["TM_MODIFIER_FLAGS"] == "OPTION")
0
 print &lt;&lt;HTML
0
-&lt;div id="${1:#{name}}"&gt;&lt;/div&gt;
0
+$1&lt;div id="${10:#{name}}"&gt;&lt;/div&gt;
0
 &lt;script type="text/javascript" charset="utf-8"&gt;
0
- var so = new SWFObject("#{file}", "${2:#{name}_swf}", "#{swf.width}", "#{swf.height}", "#{swf.version}", "#{swf.bgcolor}");
0
- so.write("$1");
0
+ var so = new SWFObject("#{file}", "${20:#{name}_swf}", "#{swf.width}", "#{swf.height}", "#{swf.version}", "#{swf.bgcolor}");
0
+ so.write("$10");
0
 &lt;/script&gt;
0
 HTML
0
 else

Comments

    No one has commented yet.