summaryrefslogtreecommitdiff
path: root/editors/Textmate/Prado.tmbundle/Snippets/TDropContainer.tmSnippet
diff options
context:
space:
mode:
authorctrlaltca <>2012-07-24 18:45:25 +0000
committerctrlaltca <>2012-07-24 18:45:25 +0000
commitbb1b020a37785acf824c7c76bf5a1f868e826297 (patch)
tree27ebd8b222f2760cd64d2ed054f3fc50830ba3e9 /editors/Textmate/Prado.tmbundle/Snippets/TDropContainer.tmSnippet
parent59ef1ca568d8e20a726e343556113c117ce5022c (diff)
updated plugin for textmate editor (works on "sublime text editor 2", too): added activecontrols
Diffstat (limited to 'editors/Textmate/Prado.tmbundle/Snippets/TDropContainer.tmSnippet')
-rw-r--r--editors/Textmate/Prado.tmbundle/Snippets/TDropContainer.tmSnippet25
1 files changed, 25 insertions, 0 deletions
diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TDropContainer.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TDropContainer.tmSnippet
new file mode 100644
index 00000000..fb6951de
--- /dev/null
+++ b/editors/Textmate/Prado.tmbundle/Snippets/TDropContainer.tmSnippet
@@ -0,0 +1,25 @@
+<?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>&lt;com:TDropContainer
+ CssClass="${1:cart}"
+ ID="${2:cart}"
+ AcceptCssClass="${3:draggable}"
+ HoverCssClass="${4:cart-hover}"
+ OnDrop="${5:addItemToCart}"
+ OnCallback="${6:redrawCart}"
+&gt;
+&lt;!-- content --&gt;
+&lt;/com:TDropContainer&gt;</string>
+ <key>name</key>
+ <string>TDropContainer</string>
+ <key>scope</key>
+ <string>text.html</string>
+ <key>tabTrigger</key>
+ <string>TDropContainer</string>
+ <key>uuid</key>
+ <string>427727D2-E017-48F9-BA6D-4D7435395419</string>
+</dict>
+</plist>