diff options
Diffstat (limited to 'editors/Textmate/Prado.tmbundle/Snippets')
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><com:TBoundColumn DataField="${2:Field Name from Data Source}" HeaderText="${3:${2}}" />$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><com:TButtonColumn CommandName="${2:Button Command}" Text="${3:Text on Button}" HeaderText="${4}" />$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><com:TCaptcha ID="${1:captcha1}" /><com:TTextBox ID="${1}input" /><com:TCaptchaValidator CaptchaControl="${1}" ControlToValidate="${1}input" ErrorMessage="${2:You are challenged!}" />$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><com:TCaptchaValidator + CaptchaControl="${1:captchaControl}" + ControlToValidate="${2:controlIDToValidate}" + ErrorMessage="${3:You are challenged!}" />$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><com:TCheckBoxColumn DataField="${2:Field Name from Data Source}" HeaderText="${3:${2}}" />$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><com:TClientScript ScriptUrl="${1:<%~ ${2:script.js} %>}" />$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><com:TClientScriptLoader PackagePath="${1:<%~ ${2:mylib/js} %>}" />$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><com:TColorPicker ID="${1:colorpicker1}" Mode="${2:Basic}" />$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><com:TConditional Condition="${1:\$this->User->IsGuest}" > + <prop:TrueTemplate> + $0 + </prop:TrueTemplate> + <prop:FalseTemplate> + </prop:FalseTemplate> +</com:TConditional></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><com:TContentPlaceHolder ID="${1:Content}" />$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><com:TDataGrid ID="${1:grid1}" AutoGenerateColumns="${2:true}"> + $0 +</com:TDataGrid></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 |