From c9abae64d4ccc54570d5cf51e9b3a6f54877e5c3 Mon Sep 17 00:00:00 2001 From: rojaro <> Date: Mon, 2 Nov 2009 06:28:17 +0000 Subject: added a few new snippets to the textmate bundle --- .../Prado.tmbundle/Snippets/TBoundColumn.tmSnippet | 16 ++++++++++++++++ .../Snippets/TButtonColumn.tmSnippet | 16 ++++++++++++++++ .../Prado.tmbundle/Snippets/TCaptcha.tmSnippet | 16 ++++++++++++++++ .../Snippets/TCaptchaValidator.tmSnippet | 19 +++++++++++++++++++ .../Snippets/TCheckBoxColumn.tmSnippet | 16 ++++++++++++++++ .../Snippets/TClientScript.tmSnippet | 16 ++++++++++++++++ .../Snippets/TClientScriptLoader.tmSnippet | 16 ++++++++++++++++ .../Prado.tmbundle/Snippets/TColorPicker.tmSnippet | 16 ++++++++++++++++ .../Prado.tmbundle/Snippets/TConditional.tmSnippet | 22 ++++++++++++++++++++++ .../Prado.tmbundle/Snippets/TContent.tmSnippet | 18 ++++++++++++++++++ .../Snippets/TContentPlaceHolder.tmSnippet | 16 ++++++++++++++++ .../Prado.tmbundle/Snippets/TDataGrid.tmSnippet | 18 ++++++++++++++++++ .../Snippets/TImageButton copy.tmSnippet | 16 ---------------- .../Prado.tmbundle/Snippets/TImageButton.tmSnippet | 20 ++++++++++++++++++++ .../Prado.tmbundle/Snippets/TLinkButton.tmSnippet | 16 ++++++++++++++++ .../Prado.tmbundle/Snippets/untitled 2.tmSnippet | 20 -------------------- .../Prado.tmbundle/Snippets/untitled.tmSnippet | 18 ------------------ 17 files changed, 241 insertions(+), 54 deletions(-) create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TBoundColumn.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TButtonColumn.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TCaptcha.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TCaptchaValidator.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TCheckBoxColumn.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TClientScript.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TClientScriptLoader.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TColorPicker.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TConditional.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TContent.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TContentPlaceHolder.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TDataGrid.tmSnippet delete mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TImageButton copy.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TImageButton.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TLinkButton.tmSnippet delete mode 100644 editors/Textmate/Prado.tmbundle/Snippets/untitled 2.tmSnippet delete mode 100644 editors/Textmate/Prado.tmbundle/Snippets/untitled.tmSnippet (limited to 'editors/Textmate/Prado.tmbundle/Snippets') 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 @@ + + + + + content + <com:TBoundColumn DataField="${2:Field Name from Data Source}" HeaderText="${3:${2}}" />$0 + name + TBoundColumn + scope + text.html + tabTrigger + TBoundColumn + uuid + 8D8D94FD-7FD7-442F-A50E-A6A29A4267AE + + 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 @@ + + + + + content + <com:TButtonColumn CommandName="${2:Button Command}" Text="${3:Text on Button}" HeaderText="${4}" />$0 + name + TButtonColumn + scope + text.html + tabTrigger + TButtonColumn + uuid + 77C53961-0D71-47BB-AE09-87E26F560003 + + 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 @@ + + + + + content + <com:TCaptcha ID="${1:captcha1}" /><com:TTextBox ID="${1}input" /><com:TCaptchaValidator CaptchaControl="${1}" ControlToValidate="${1}input" ErrorMessage="${2:You are challenged!}" />$0 + name + TCaptcha + scope + text.html + tabTrigger + TCaptcha + uuid + 5415E441-A4F5-489B-B4E5-359CBB0BC04D + + 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 @@ + + + + + content + <com:TCaptchaValidator + CaptchaControl="${1:captchaControl}" + ControlToValidate="${2:controlIDToValidate}" + ErrorMessage="${3:You are challenged!}" />$0 + name + TCaptchaValidator (TValidator) + scope + text.html + tabTrigger + TValidator + uuid + 078B43BF-6A9E-4558-B262-EABEBEF30F9B + + 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 @@ + + + + + content + <com:TCheckBoxColumn DataField="${2:Field Name from Data Source}" HeaderText="${3:${2}}" />$0 + name + TCheckBoxColumn + scope + text.html + tabTrigger + TCheckBoxColumn + uuid + 028C538B-4B9C-4820-A284-2C8D5236FED7 + + 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 @@ + + + + + content + <com:TClientScript ScriptUrl="${1:<%~ ${2:script.js} %>}" />$0 + name + TClientScript + scope + text.html + tabTrigger + TClientScript + uuid + CBC6DC68-6819-4905-A6F8-5CDE2FB9614B + + 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 @@ + + + + + content + <com:TClientScriptLoader PackagePath="${1:<%~ ${2:mylib/js} %>}" />$0 + name + TClientScriptLoader + scope + text.html + tabTrigger + TClientScriptLoader + uuid + 37D57B7A-8B55-4C9D-B19B-13000A65739B + + 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 @@ + + + + + content + <com:TColorPicker ID="${1:colorpicker1}" Mode="${2:Basic}" />$0 + name + TColorPicker + scope + text.html + tabTrigger + TColorPicker + uuid + 7322CD9C-1D5F-4369-9607-A0C564AD077A + + 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 @@ + + + + + content + <com:TConditional Condition="${1:\$this->User->IsGuest}" > + <prop:TrueTemplate> + $0 + </prop:TrueTemplate> + <prop:FalseTemplate> + </prop:FalseTemplate> +</com:TConditional> + name + TConditional + scope + text.html + tabTrigger + TConditional + uuid + EB4E1513-2FB7-4111-9430-2606178EA859 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TContent.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TContent.tmSnippet new file mode 100644 index 00000000..82aa3a25 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TContent.tmSnippet @@ -0,0 +1,18 @@ + + + + + content + <com:TContent ID="${1:Content}"> + $0 +</com:TContent> + name + TContent + scope + text.html + tabTrigger + TContent + uuid + CA1AE93D-D724-43B0-A3CB-9E584126FB3C + + 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 @@ + + + + + content + <com:TContentPlaceHolder ID="${1:Content}" />$0 + name + TContentPlaceHolder + scope + text.html + tabTrigger + TContentPlaceHolder + uuid + 1020E025-E424-40C2-AC76-F90766397290 + + 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 @@ + + + + + content + <com:TDataGrid ID="${1:grid1}" AutoGenerateColumns="${2:true}"> + $0 +</com:TDataGrid> + name + TDataGrid + scope + text.html + tabTrigger + TDataGrid + uuid + D2EAFC46-26B5-40BB-A4B7-8B10C856AF3B + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TImageButton copy.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TImageButton copy.tmSnippet deleted file mode 100644 index ca1a3297..00000000 --- a/editors/Textmate/Prado.tmbundle/Snippets/TImageButton copy.tmSnippet +++ /dev/null @@ -1,16 +0,0 @@ - - - - - content - <com:TLinkButton ID="${1:linkButton1}" Text="${2:Click Me}" OnClick="${3:${1}_Clicked}" />$0 - name - TLinkButton - scope - text.html - tabTrigger - TLinkButton - uuid - 4E663D10-670D-4526-8848-0AC2666592C0 - - diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TImageButton.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TImageButton.tmSnippet new file mode 100644 index 00000000..74f24624 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TImageButton.tmSnippet @@ -0,0 +1,20 @@ + + + + + content + <com:TImageButton + ID="${1:imageButton1}" + ImageUrl=<%~ ${2:hello_world.gif} %> + Text="${3:hello world}" + OnClick="${4:${1}_Clicked}" />$0 + name + TImageButton + scope + text.html + tabTrigger + TImageButton + uuid + 8A274C79-422D-4553-B086-0B553BDABEC7 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TLinkButton.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TLinkButton.tmSnippet new file mode 100644 index 00000000..ca1a3297 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TLinkButton.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TLinkButton ID="${1:linkButton1}" Text="${2:Click Me}" OnClick="${3:${1}_Clicked}" />$0 + name + TLinkButton + scope + text.html + tabTrigger + TLinkButton + uuid + 4E663D10-670D-4526-8848-0AC2666592C0 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/untitled 2.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/untitled 2.tmSnippet deleted file mode 100644 index 74f24624..00000000 --- a/editors/Textmate/Prado.tmbundle/Snippets/untitled 2.tmSnippet +++ /dev/null @@ -1,20 +0,0 @@ - - - - - content - <com:TImageButton - ID="${1:imageButton1}" - ImageUrl=<%~ ${2:hello_world.gif} %> - Text="${3:hello world}" - OnClick="${4:${1}_Clicked}" />$0 - name - TImageButton - scope - text.html - tabTrigger - TImageButton - uuid - 8A274C79-422D-4553-B086-0B553BDABEC7 - - diff --git a/editors/Textmate/Prado.tmbundle/Snippets/untitled.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/untitled.tmSnippet deleted file mode 100644 index 82aa3a25..00000000 --- a/editors/Textmate/Prado.tmbundle/Snippets/untitled.tmSnippet +++ /dev/null @@ -1,18 +0,0 @@ - - - - - content - <com:TContent ID="${1:Content}"> - $0 -</com:TContent> - name - TContent - scope - text.html - tabTrigger - TContent - uuid - CA1AE93D-D724-43B0-A3CB-9E584126FB3C - - -- cgit v1.2.3