summaryrefslogtreecommitdiff
path: root/editors/Textmate/Prado.tmbundle/Snippets/TActiveImageButton.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/TActiveImageButton.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/TActiveImageButton.tmSnippet')
-rw-r--r--editors/Textmate/Prado.tmbundle/Snippets/TActiveImageButton.tmSnippet22
1 files changed, 22 insertions, 0 deletions
diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveImageButton.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveImageButton.tmSnippet
new file mode 100644
index 00000000..b008a27c
--- /dev/null
+++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveImageButton.tmSnippet
@@ -0,0 +1,22 @@
+<?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:TActiveImageButton
+ ID="${1:imageButton1}"
+ ImageUrl=&lt;%~ ${2:hello_world.gif} %&gt;
+ Text="${3:hello world}"
+ OnClick="${4:${1}_Clicked}"
+ OnCallback="${5:${1}_oncallback}"
+/&gt;$0</string>
+ <key>name</key>
+ <string>TActiveImageButton</string>
+ <key>scope</key>
+ <string>text.html</string>
+ <key>tabTrigger</key>
+ <string>TActiveImageButton</string>
+ <key>uuid</key>
+ <string>3773B612-FAE7-4A6F-8F9A-382CC9ABEF56</string>
+</dict>
+</plist>