summaryrefslogtreecommitdiff
path: root/editors/Textmate/Prado.tmbundle/Snippets
diff options
context:
space:
mode:
authorrojaro <>2009-11-02 06:28:17 +0000
committerrojaro <>2009-11-02 06:28:17 +0000
commitc9abae64d4ccc54570d5cf51e9b3a6f54877e5c3 (patch)
treec49bf764f4075b48e87978341a92ecc6690b4b07 /editors/Textmate/Prado.tmbundle/Snippets
parentb916a00d0016119c3f0c140ac679e0ad242115ad (diff)
added a few new snippets to the textmate bundle
Diffstat (limited to 'editors/Textmate/Prado.tmbundle/Snippets')
-rw-r--r--editors/Textmate/Prado.tmbundle/Snippets/TBoundColumn.tmSnippet16
-rw-r--r--editors/Textmate/Prado.tmbundle/Snippets/TButtonColumn.tmSnippet16
-rw-r--r--editors/Textmate/Prado.tmbundle/Snippets/TCaptcha.tmSnippet16
-rw-r--r--editors/Textmate/Prado.tmbundle/Snippets/TCaptchaValidator.tmSnippet19
-rw-r--r--editors/Textmate/Prado.tmbundle/Snippets/TCheckBoxColumn.tmSnippet16
-rw-r--r--editors/Textmate/Prado.tmbundle/Snippets/TClientScript.tmSnippet16
-rw-r--r--editors/Textmate/Prado.tmbundle/Snippets/TClientScriptLoader.tmSnippet16
-rw-r--r--editors/Textmate/Prado.tmbundle/Snippets/TColorPicker.tmSnippet16
-rw-r--r--editors/Textmate/Prado.tmbundle/Snippets/TConditional.tmSnippet22
-rw-r--r--editors/Textmate/Prado.tmbundle/Snippets/TContent.tmSnippet (renamed from editors/Textmate/Prado.tmbundle/Snippets/untitled.tmSnippet)0
-rw-r--r--editors/Textmate/Prado.tmbundle/Snippets/TContentPlaceHolder.tmSnippet16
-rw-r--r--editors/Textmate/Prado.tmbundle/Snippets/TDataGrid.tmSnippet18
-rw-r--r--editors/Textmate/Prado.tmbundle/Snippets/TImageButton.tmSnippet (renamed from editors/Textmate/Prado.tmbundle/Snippets/untitled 2.tmSnippet)0
-rw-r--r--editors/Textmate/Prado.tmbundle/Snippets/TLinkButton.tmSnippet (renamed from editors/Textmate/Prado.tmbundle/Snippets/TImageButton copy.tmSnippet)0
14 files changed, 187 insertions, 0 deletions
diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TBoundColumn.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TBoundColumn.tmSnippet
new file mode 100644
index 00000000..33ed44d2
--- /dev/null
+++ b/editors/Textmate/Prado.tmbundle/Snippets/TBoundColumn.tmSnippet
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//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:TBoundColumn DataField="${2:Field Name from Data Source}" HeaderText="${3:${2}}" /&gt;$0</string>
+ <key>name</key>
+ <string>TBoundColumn</string>
+ <key>scope</key>
+ <string>text.html</string>
+ <key>tabTrigger</key>
+ <string>TBoundColumn</string>
+ <key>uuid</key>
+ <string>8D8D94FD-7FD7-442F-A50E-A6A29A4267AE</string>
+</dict>
+</plist>
diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TButtonColumn.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TButtonColumn.tmSnippet
new file mode 100644
index 00000000..f60fb36d
--- /dev/null
+++ b/editors/Textmate/Prado.tmbundle/Snippets/TButtonColumn.tmSnippet
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//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:TButtonColumn CommandName="${2:Button Command}" Text="${3:Text on Button}" HeaderText="${4}" /&gt;$0</string>
+ <key>name</key>
+ <string>TButtonColumn</string>
+ <key>scope</key>
+ <string>text.html</string>
+ <key>tabTrigger</key>
+ <string>TButtonColumn</string>
+ <key>uuid</key>
+ <string>77C53961-0D71-47BB-AE09-87E26F560003</string>
+</dict>
+</plist>
diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TCaptcha.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TCaptcha.tmSnippet
new file mode 100644
index 00000000..8d0248cc
--- /dev/null
+++ b/editors/Textmate/Prado.tmbundle/Snippets/TCaptcha.tmSnippet
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//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:TCaptcha ID="${1:captcha1}" /&gt;&lt;com:TTextBox ID="${1}input" /&gt;&lt;com:TCaptchaValidator CaptchaControl="${1}" ControlToValidate="${1}input" ErrorMessage="${2:You are challenged!}" /&gt;$0</string>
+ <key>name</key>
+ <string>TCaptcha</string>
+ <key>scope</key>
+ <string>text.html</string>
+ <key>tabTrigger</key>
+ <string>TCaptcha</string>
+ <key>uuid</key>
+ <string>5415E441-A4F5-489B-B4E5-359CBB0BC04D</string>
+</dict>
+</plist>
diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TCaptchaValidator.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TCaptchaValidator.tmSnippet
new file mode 100644
index 00000000..82bcf16f
--- /dev/null
+++ b/editors/Textmate/Prado.tmbundle/Snippets/TCaptchaValidator.tmSnippet
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//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:TCaptchaValidator
+ CaptchaControl="${1:captchaControl}"
+ ControlToValidate="${2:controlIDToValidate}"
+ ErrorMessage="${3:You are challenged!}" /&gt;$0</string>
+ <key>name</key>
+ <string>TCaptchaValidator (TValidator)</string>
+ <key>scope</key>
+ <string>text.html</string>
+ <key>tabTrigger</key>
+ <string>TValidator</string>
+ <key>uuid</key>
+ <string>078B43BF-6A9E-4558-B262-EABEBEF30F9B</string>
+</dict>
+</plist>
diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TCheckBoxColumn.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TCheckBoxColumn.tmSnippet
new file mode 100644
index 00000000..8c6bb8c2
--- /dev/null
+++ b/editors/Textmate/Prado.tmbundle/Snippets/TCheckBoxColumn.tmSnippet
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//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:TCheckBoxColumn DataField="${2:Field Name from Data Source}" HeaderText="${3:${2}}" /&gt;$0</string>
+ <key>name</key>
+ <string>TCheckBoxColumn</string>
+ <key>scope</key>
+ <string>text.html</string>
+ <key>tabTrigger</key>
+ <string>TCheckBoxColumn</string>
+ <key>uuid</key>
+ <string>028C538B-4B9C-4820-A284-2C8D5236FED7</string>
+</dict>
+</plist>
diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TClientScript.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TClientScript.tmSnippet
new file mode 100644
index 00000000..41a22a03
--- /dev/null
+++ b/editors/Textmate/Prado.tmbundle/Snippets/TClientScript.tmSnippet
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//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:TClientScript ScriptUrl="${1:&lt;%~ ${2:script.js} %&gt;}" /&gt;$0</string>
+ <key>name</key>
+ <string>TClientScript</string>
+ <key>scope</key>
+ <string>text.html</string>
+ <key>tabTrigger</key>
+ <string>TClientScript</string>
+ <key>uuid</key>
+ <string>CBC6DC68-6819-4905-A6F8-5CDE2FB9614B</string>
+</dict>
+</plist>
diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TClientScriptLoader.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TClientScriptLoader.tmSnippet
new file mode 100644
index 00000000..35f16745
--- /dev/null
+++ b/editors/Textmate/Prado.tmbundle/Snippets/TClientScriptLoader.tmSnippet
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//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:TClientScriptLoader PackagePath="${1:&lt;%~ ${2:mylib/js} %&gt;}" /&gt;$0</string>
+ <key>name</key>
+ <string>TClientScriptLoader</string>
+ <key>scope</key>
+ <string>text.html</string>
+ <key>tabTrigger</key>
+ <string>TClientScriptLoader</string>
+ <key>uuid</key>
+ <string>37D57B7A-8B55-4C9D-B19B-13000A65739B</string>
+</dict>
+</plist>
diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TColorPicker.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TColorPicker.tmSnippet
new file mode 100644
index 00000000..cde2fcf9
--- /dev/null
+++ b/editors/Textmate/Prado.tmbundle/Snippets/TColorPicker.tmSnippet
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//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:TColorPicker ID="${1:colorpicker1}" Mode="${2:Basic}" /&gt;$0</string>
+ <key>name</key>
+ <string>TColorPicker</string>
+ <key>scope</key>
+ <string>text.html</string>
+ <key>tabTrigger</key>
+ <string>TColorPicker</string>
+ <key>uuid</key>
+ <string>7322CD9C-1D5F-4369-9607-A0C564AD077A</string>
+</dict>
+</plist>
diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TConditional.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TConditional.tmSnippet
new file mode 100644
index 00000000..5e74690e
--- /dev/null
+++ b/editors/Textmate/Prado.tmbundle/Snippets/TConditional.tmSnippet
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//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:TConditional Condition="${1:\$this->User->IsGuest}" &gt;
+ &lt;prop:TrueTemplate&gt;
+ $0
+ &lt;/prop:TrueTemplate&gt;
+ &lt;prop:FalseTemplate&gt;
+ &lt;/prop:FalseTemplate&gt;
+&lt;/com:TConditional&gt;</string>
+ <key>name</key>
+ <string>TConditional</string>
+ <key>scope</key>
+ <string>text.html</string>
+ <key>tabTrigger</key>
+ <string>TConditional</string>
+ <key>uuid</key>
+ <string>EB4E1513-2FB7-4111-9430-2606178EA859</string>
+</dict>
+</plist>
diff --git a/editors/Textmate/Prado.tmbundle/Snippets/untitled.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TContent.tmSnippet
index 82aa3a25..82aa3a25 100644
--- a/editors/Textmate/Prado.tmbundle/Snippets/untitled.tmSnippet
+++ b/editors/Textmate/Prado.tmbundle/Snippets/TContent.tmSnippet
diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TContentPlaceHolder.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TContentPlaceHolder.tmSnippet
new file mode 100644
index 00000000..0807386a
--- /dev/null
+++ b/editors/Textmate/Prado.tmbundle/Snippets/TContentPlaceHolder.tmSnippet
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//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:TContentPlaceHolder ID="${1:Content}" /&gt;$0</string>
+ <key>name</key>
+ <string>TContentPlaceHolder</string>
+ <key>scope</key>
+ <string>text.html</string>
+ <key>tabTrigger</key>
+ <string>TContentPlaceHolder</string>
+ <key>uuid</key>
+ <string>1020E025-E424-40C2-AC76-F90766397290</string>
+</dict>
+</plist>
diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TDataGrid.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TDataGrid.tmSnippet
new file mode 100644
index 00000000..db6510e3
--- /dev/null
+++ b/editors/Textmate/Prado.tmbundle/Snippets/TDataGrid.tmSnippet
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//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:TDataGrid ID="${1:grid1}" AutoGenerateColumns="${2:true}"&gt;
+ $0
+&lt;/com:TDataGrid&gt;</string>
+ <key>name</key>
+ <string>TDataGrid</string>
+ <key>scope</key>
+ <string>text.html</string>
+ <key>tabTrigger</key>
+ <string>TDataGrid</string>
+ <key>uuid</key>
+ <string>D2EAFC46-26B5-40BB-A4B7-8B10C856AF3B</string>
+</dict>
+</plist>
diff --git a/editors/Textmate/Prado.tmbundle/Snippets/untitled 2.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TImageButton.tmSnippet
index 74f24624..74f24624 100644
--- a/editors/Textmate/Prado.tmbundle/Snippets/untitled 2.tmSnippet
+++ b/editors/Textmate/Prado.tmbundle/Snippets/TImageButton.tmSnippet
diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TImageButton copy.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TLinkButton.tmSnippet
index ca1a3297..ca1a3297 100644
--- a/editors/Textmate/Prado.tmbundle/Snippets/TImageButton copy.tmSnippet
+++ b/editors/Textmate/Prado.tmbundle/Snippets/TLinkButton.tmSnippet