summaryrefslogtreecommitdiff
path: root/editors/Textmate/Prado.tmbundle/Snippets/TTemplateColumn.tmSnippet
diff options
context:
space:
mode:
authorctrlaltca <>2012-07-24 17:28:14 +0000
committerctrlaltca <>2012-07-24 17:28:14 +0000
commit59ef1ca568d8e20a726e343556113c117ce5022c (patch)
treeeaeeb5b386281a3c82afe2fe6d237bc03646a7f5 /editors/Textmate/Prado.tmbundle/Snippets/TTemplateColumn.tmSnippet
parent255db529c49ae00f5e8defb14c77461582edfd39 (diff)
updated plugin for textmate editor (works on "sublime text editor 2", too):
- updated prado syntax to the php's and html's current versions - added missing webcontrols (activecontrols still missing)
Diffstat (limited to 'editors/Textmate/Prado.tmbundle/Snippets/TTemplateColumn.tmSnippet')
-rw-r--r--editors/Textmate/Prado.tmbundle/Snippets/TTemplateColumn.tmSnippet23
1 files changed, 23 insertions, 0 deletions
diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TTemplateColumn.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TTemplateColumn.tmSnippet
new file mode 100644
index 00000000..84fc64ef
--- /dev/null
+++ b/editors/Textmate/Prado.tmbundle/Snippets/TTemplateColumn.tmSnippet
@@ -0,0 +1,23 @@
+<?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:TTemplateColumn DataField="${2:Field Name from Data Source}" HeaderText="${3:${2}}"&gt;
+ &lt;prop:ItemTemplate&gt;
+ ${4:&lt;!-- content --&gt;}
+ &lt;/prop:ItemTemplate&gt;
+ &lt;prop:EditItemTemplate&gt;
+ ${5:&lt;!-- content --&gt;}
+ &lt;/prop:EditItemTemplate&gt;
+&lt;/com:TTemplateColumn&gt;$0</string>
+ <key>name</key>
+ <string>TTemplateColumn</string>
+ <key>scope</key>
+ <string>text.html</string>
+ <key>tabTrigger</key>
+ <string>TTemplateColumn</string>
+ <key>uuid</key>
+ <string>4141D54F-3E7E-4F13-BA60-78FA659CFDDF</string>
+</dict>
+</plist>