summaryrefslogtreecommitdiff
path: root/editors/Textmate/Prado.tmbundle/Snippets/TTemplateColumn.tmSnippet
diff options
context:
space:
mode:
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>