From bb1b020a37785acf824c7c76bf5a1f868e826297 Mon Sep 17 00:00:00 2001 From: ctrlaltca <> Date: Tue, 24 Jul 2012 18:45:25 +0000 Subject: updated plugin for textmate editor (works on "sublime text editor 2", too): added activecontrols --- .../Snippets/TActiveBoundColumn.tmSnippet | 16 ++++++++++++ .../Snippets/TActiveButtonColumn.tmSnippet | 16 ++++++++++++ .../Snippets/TActiveCheckBox.tmSnippet | 16 ++++++++++++ .../Snippets/TActiveCheckBoxColumn.tmSnippet | 16 ++++++++++++ .../Snippets/TActiveClientScript.tmSnippet | 16 ++++++++++++ .../TActiveCustomValidator (TValidator).tmSnippet | 21 ++++++++++++++++ .../Snippets/TActiveDataGrid.tmSnippet | 18 ++++++++++++++ .../Snippets/TActiveDataList.tmSnippet | 18 ++++++++++++++ .../Snippets/TActiveDatePicker.tmSnippet | 16 ++++++++++++ .../Snippets/TActiveDropDownList.tmSnippet | 19 ++++++++++++++ .../Snippets/TActiveDropDownListColumn.tmSnippet | 16 ++++++++++++ .../Snippets/TActiveEditCommandColumn.tmSnippet | 16 ++++++++++++ .../Snippets/TActiveFileUpload.tmSnippet | 16 ++++++++++++ .../Snippets/TActiveHiddenField.tmSnippet | 16 ++++++++++++ .../Snippets/TActiveHyperLink.tmSnippet | 16 ++++++++++++ .../Prado.tmbundle/Snippets/TActiveImage.tmSnippet | 16 ++++++++++++ .../Snippets/TActiveImageButton.tmSnippet | 22 ++++++++++++++++ .../Prado.tmbundle/Snippets/TActiveLabel.tmSnippet | 16 ++++++++++++ .../Snippets/TActiveLinkButton.tmSnippet | 21 ++++++++++++++++ .../Snippets/TActiveListBox.tmSnippet | 19 ++++++++++++++ .../Snippets/TActiveLiteralColumn.tmSnippet | 16 ++++++++++++ .../Snippets/TActiveMultiView.tmSnippet | 23 +++++++++++++++++ .../Prado.tmbundle/Snippets/TActivePager.tmSnippet | 20 +++++++++++++++ .../Prado.tmbundle/Snippets/TActivePanel.tmSnippet | 18 ++++++++++++++ .../Snippets/TActiveRadioButton.tmSnippet | 20 +++++++++++++++ .../Snippets/TActiveRadioButtonList.tmSnippet | 19 ++++++++++++++ .../Snippets/TActiveRatingList.tmSnippet | 16 ++++++++++++ .../Snippets/TActiveRepeater.tmSnippet | 29 ++++++++++++++++++++++ .../Snippets/TActiveTableCell.tmSnippet | 16 ++++++++++++ .../Snippets/TActiveTableRow.tmSnippet | 19 ++++++++++++++ .../Snippets/TActiveTextBox.tmSnippet | 16 ++++++++++++ .../Snippets/TAutoComplete.tmSnippet | 26 +++++++++++++++++++ .../Prado.tmbundle/Snippets/TCallback.tmSnippet | 23 +++++++++++++++++ .../Snippets/TCustomValidator.tmSnippet | 2 +- .../Snippets/TDropContainer.tmSnippet | 25 +++++++++++++++++++ .../Snippets/TEventTriggeredCallback.tmSnippet | 16 ++++++++++++ .../Snippets/TInPlaceTextBox.tmSnippet | 16 ++++++++++++ .../Snippets/TTimeTriggeredCallback.tmSnippet | 16 ++++++++++++ .../Snippets/TValueTriggeredCallback.tmSnippet | 16 ++++++++++++ 39 files changed, 697 insertions(+), 1 deletion(-) create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveBoundColumn.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveButtonColumn.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveCheckBox.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveCheckBoxColumn.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveClientScript.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveCustomValidator (TValidator).tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveDataGrid.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveDataList.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveDatePicker.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveDropDownList.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveDropDownListColumn.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveEditCommandColumn.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveFileUpload.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveHiddenField.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveHyperLink.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveImage.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveImageButton.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveLabel.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveLinkButton.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveListBox.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveLiteralColumn.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveMultiView.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActivePager.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActivePanel.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveRadioButton.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveRadioButtonList.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveRatingList.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveRepeater.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveTableCell.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveTableRow.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveTextBox.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TAutoComplete.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TCallback.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TDropContainer.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TEventTriggeredCallback.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TInPlaceTextBox.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TTimeTriggeredCallback.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TValueTriggeredCallback.tmSnippet (limited to 'editors/Textmate/Prado.tmbundle/Snippets') diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveBoundColumn.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveBoundColumn.tmSnippet new file mode 100644 index 00000000..435ab639 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveBoundColumn.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TActiveBoundColumn DataField="${2:Field Name from Data Source}" HeaderText="${3:${2}}" />$0 + name + TActiveBoundColumn + scope + text.html + tabTrigger + TActiveBoundColumn + uuid + 354DA91A-33CD-4FB0-90E3-0A4585E995B0 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveButtonColumn.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveButtonColumn.tmSnippet new file mode 100644 index 00000000..91cd7cd8 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveButtonColumn.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TActiveButtonColumn CommandName="${2:Button Command}" Text="${3:Text on Button}" HeaderText="${4}" />$0 + name + TActiveButtonColumn + scope + text.html + tabTrigger + TActiveButtonColumn + uuid + C6C2565E-7BFA-4AAA-9073-A28E9D47092B + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveCheckBox.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveCheckBox.tmSnippet new file mode 100644 index 00000000..5c49b59f --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveCheckBox.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TActiveCheckBox ID="${1:checkBox1}" Text="${2:CheckBox Text}" OnCallback="${3:$1_oncallback}" />$0 + name + TActiveCheckBox + scope + text.html + tabTrigger + TActiveCheckBox + uuid + E19C9489-DA1B-4986-9408-688A8E920AF9 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveCheckBoxColumn.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveCheckBoxColumn.tmSnippet new file mode 100644 index 00000000..8f2df592 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveCheckBoxColumn.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TActiveCheckBoxColumn DataField="${2:Field Name from Data Source}" HeaderText="${3:${2}}" />$0 + name + TActiveCheckBoxColumn + scope + text.html + tabTrigger + TActiveCheckBoxColumn + uuid + 98E1BD23-033B-4638-B5DD-A424B86906C9 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveClientScript.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveClientScript.tmSnippet new file mode 100644 index 00000000..3d050930 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveClientScript.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TActiveClientScript ScriptUrl="${1:<%~ ${2:script.js} %>}" />$0 + name + TActiveClientScript + scope + text.html + tabTrigger + TActiveClientScript + uuid + 3FDEA00B-494B-40E1-AC1C-410F60599AEE + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveCustomValidator (TValidator).tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveCustomValidator (TValidator).tmSnippet new file mode 100644 index 00000000..a1dd6969 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveCustomValidator (TValidator).tmSnippet @@ -0,0 +1,21 @@ + + + + + content + <com:TActiveCustomValidator + ControlToValidate="${1:controlIDToValidate}" + OnCallback="${2:validator_oncallback}" + OnServerValidate="${3:customValidate}"${4: + ClientValidationFunction="${5:clientSideCustomValidate}"} + ErrorMessage="${6:required}" />$0 + name + TActiveCustomValidator (TValidator) + scope + text.html + tabTrigger + TActiveCustomValidator + uuid + DDD64493-7F4F-4A90-9A8A-F8C63F36ACBF + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveDataGrid.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveDataGrid.tmSnippet new file mode 100644 index 00000000..d26c7b82 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveDataGrid.tmSnippet @@ -0,0 +1,18 @@ + + + + + content + <com:TActiveDataGrid ID="${1:grid1}" AutoGenerateColumns="${2:true}"> + $0 +</com:TActiveDataGrid> + name + TActiveDataGrid + scope + text.html + tabTrigger + TActiveDataGrid + uuid + 7BB2320B-07B0-4884-BF6C-E512DDEA0AD1 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveDataList.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveDataList.tmSnippet new file mode 100644 index 00000000..84168b35 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveDataList.tmSnippet @@ -0,0 +1,18 @@ + + + + + content + <com:TActiveDataList ID="${1:list1}" > + $0 +</com:TActiveDataList> + name + TActiveDataList + scope + text.html + tabTrigger + TActiveDataList + uuid + 2DF77966-ACAD-4EA1-AB59-8C1EF76E25A8 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveDatePicker.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveDatePicker.tmSnippet new file mode 100644 index 00000000..0b8901ee --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveDatePicker.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TActiveDatePicker ID="${1:datePicker1}" onCallback="${2:$1_oncallback}" DateFormat="${3:dd/MM/yyyy}" ${4:InputMode="${5:DropDownList}"} />$0 + name + TActiveDatePicker + scope + text.html + tabTrigger + TActiveDatePicker + uuid + 8DA69D71-DC3A-448E-A82D-65D5B8262AAC + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveDropDownList.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveDropDownList.tmSnippet new file mode 100644 index 00000000..69259510 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveDropDownList.tmSnippet @@ -0,0 +1,19 @@ + + + + + content + <com:TActiveDropDownList ID="${1:dropDownList1}" OnCallback="${2:$1_oncallback}"> + ${3:<com:TListItem Value="${4:value 1}" Text="${5:item 1}" /> + <com:TListItem Value="${6:value 2}" Text="${7:item 2}" />}$0 +</com:TActiveDropDownList> + name + TActiveDropDownList + scope + text.html + tabTrigger + TActiveDropDownList + uuid + 57A48175-D2DD-42C6-868B-6A74ADA4155D + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveDropDownListColumn.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveDropDownListColumn.tmSnippet new file mode 100644 index 00000000..4000e98c --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveDropDownListColumn.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TActiveDropDownListColumn DataTextField="${2:Field Name from Data Source}" DataValueField="${3:Field Name from Data Source}" HeaderText="${4:Dropdown}" />$0 + name + TActiveDropDownListColumn + scope + text.html + tabTrigger + TActiveDropDownListColumn + uuid + 795E3928-00F7-4631-9E54-355B8AD152BD + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveEditCommandColumn.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveEditCommandColumn.tmSnippet new file mode 100644 index 00000000..72e943ac --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveEditCommandColumn.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TActiveEditCommandColumn ButtonType="${1:LinkButton}" EditText="${2:Edit}" UpdateText="${3:Update}" CancelText="${4:Cancel}" />$0 + name + TActiveEditCommandColumn + scope + text.html + tabTrigger + TActiveEditCommandColumn + uuid + 2CC7381B-9C43-4D8C-9952-F40960A5CCD7 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveFileUpload.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveFileUpload.tmSnippet new file mode 100644 index 00000000..8843b937 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveFileUpload.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TActiveFileUpload ID="${1:file1}" OnFileUpload="${2:${1}_Uploaded}" />$0 + name + TActiveFileUpload + scope + text.html + tabTrigger + TActiveFileUpload + uuid + 043A530C-4916-4965-AF83-B7C22FD69D8B + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveHiddenField.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveHiddenField.tmSnippet new file mode 100644 index 00000000..9d1f1e7e --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveHiddenField.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TActiveHiddenField ID="${1:hiddenField1}" Value="${2:value}" />$0 + name + TActiveHiddenField + scope + text.html + tabTrigger + TActiveHiddenField + uuid + BB4574A8-82FE-42CB-AC3B-CB7DA6493C66 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveHyperLink.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveHyperLink.tmSnippet new file mode 100644 index 00000000..ea93645b --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveHyperLink.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TActiveHyperLink NavigateUrl="${1:http://www.pradosoft.com/}" Text="${2:PradoSoft.com}" />$0 + name + TActiveHyperLink + scope + text.html + tabTrigger + TActiveHyperLink + uuid + 58AFD59A-2117-48FC-BDCE-8265A4B91DEA + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveImage.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveImage.tmSnippet new file mode 100644 index 00000000..bd99c6a7 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveImage.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TActiveImage ImageUrl=<%~ ${1:hello_world.gif} %> AlternateText="${1}" />$0 + name + TActiveImage + scope + text.html + tabTrigger + TActiveImage + uuid + 082A1F65-8783-4E3B-8133-236F96B2FC66 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveImageButton.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveImageButton.tmSnippet new file mode 100644 index 00000000..b008a27c --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveImageButton.tmSnippet @@ -0,0 +1,22 @@ + + + + + content + <com:TActiveImageButton + ID="${1:imageButton1}" + ImageUrl=<%~ ${2:hello_world.gif} %> + Text="${3:hello world}" + OnClick="${4:${1}_Clicked}" + OnCallback="${5:${1}_oncallback}" +/>$0 + name + TActiveImageButton + scope + text.html + tabTrigger + TActiveImageButton + uuid + 3773B612-FAE7-4A6F-8F9A-382CC9ABEF56 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveLabel.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveLabel.tmSnippet new file mode 100644 index 00000000..39c9b585 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveLabel.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TActiveLabel ID="${1:label1}" ${2:Text="${3:Label 1}"} />$0 + name + TActiveLabel + scope + text.html + tabTrigger + TActiveLabel + uuid + 6C32556F-551C-4DC1-B211-FE493A1AF959 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveLinkButton.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveLinkButton.tmSnippet new file mode 100644 index 00000000..be11c9cd --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveLinkButton.tmSnippet @@ -0,0 +1,21 @@ + + + + + content + <com:TActiveLinkButton + ID="${1:linkButton1}" + Text="${2:Click Me}" + OnClick="${3:${1}_Clicked}" + OnCallback="${3:${1}_oncallback}" +/>$0 + name + TActiveLinkButton + scope + text.html + tabTrigger + TActiveLinkButton + uuid + FE59932A-8624-4C3A-AA29-D151050D95E1 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveListBox.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveListBox.tmSnippet new file mode 100644 index 00000000..684df869 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveListBox.tmSnippet @@ -0,0 +1,19 @@ + + + + + content + <com:TActiveListBox ID="${1:listBox1}"> + ${2:<com:TListItem Value="${3:value 1}" Text="${4:item 1}" /> + <com:TListItem Value="${5:value 2}" Text="${6:item 2}" />}$0 +</com:TActiveListBox> + name + TActiveListBox + scope + text.html + tabTrigger + TActiveListBox + uuid + 1CF971B4-2744-465D-8FD7-D464B3C44BA9 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveLiteralColumn.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveLiteralColumn.tmSnippet new file mode 100644 index 00000000..5d8982a7 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveLiteralColumn.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TActiveLiteralColumn DataField="${2:Field Name from Data Source}" HeaderText="${3:${2}}" />$0 + name + TActiveLiteralColumn + scope + text.html + tabTrigger + TActiveLiteralColumn + uuid + BE8CB4DD-0348-4049-A784-28B994B28F91 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveMultiView.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveMultiView.tmSnippet new file mode 100644 index 00000000..17c0e668 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveMultiView.tmSnippet @@ -0,0 +1,23 @@ + + + + + content + <com:TActiveMultiView ID="${1:multiView1}" ActiveViewIndex="${2:0}"> + ${3:<com:TView ID="${4:view1}"> + ${5:<!-- view1 content -->} + </com:TView> + <com:TView ID="${6:view2}"> + ${7:<!-- view2 content -->} + </com:TView>}$0 +</com:TActiveMultiView> + name + TActiveMultiView + scope + text.html + tabTrigger + TActiveMultiView + uuid + E4AC4EB3-83F6-4EE2-BBF7-1C637D295824 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActivePager.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActivePager.tmSnippet new file mode 100644 index 00000000..bff6a489 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActivePager.tmSnippet @@ -0,0 +1,20 @@ + + + + + content + <com:TActivePager + ControlToPaginate="${2:dataGrid1}" + OnPageIndexChanged="${3:pagerIndexChanged}" + OnCallback="${4:pagerCallback}" +/>$0 + name + TActivePager + scope + text.html + tabTrigger + TActivePager + uuid + DB28C735-5DDB-4444-8287-0CEBCA238D0C + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActivePanel.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActivePanel.tmSnippet new file mode 100644 index 00000000..12692819 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActivePanel.tmSnippet @@ -0,0 +1,18 @@ + + + + + content + <com:TActivePanel ID="${1:panel1}"> + $0 +</com:TActivePanel> + name + TActivePanel + scope + text.html + tabTrigger + TActivePanel + uuid + B81D6985-26B0-4807-872A-2D435BB1AE5C + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveRadioButton.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveRadioButton.tmSnippet new file mode 100644 index 00000000..2bec5f66 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveRadioButton.tmSnippet @@ -0,0 +1,20 @@ + + + + + content + <com:TActiveRadioButton + ID="${1:radioButton1}" + Text="${2:RadioButton Text}" + OnCallback="${3:$1_oncallback}" +/>$0 + name + TActiveRadioButton + scope + text.html + tabTrigger + TActiveRadioButton + uuid + BB717BF2-0E69-419A-BC67-1E8FFBE64A21 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveRadioButtonList.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveRadioButtonList.tmSnippet new file mode 100644 index 00000000..193f23ea --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveRadioButtonList.tmSnippet @@ -0,0 +1,19 @@ + + + + + content + <com:TActiveRadioButtonList ID="${1:radioButtonList1}" OnCallback="${3:$1_oncallback}"> + ${2:<com:TListItem Value="${3:value 1}" Text="${4:item 1}" /> + <com:TListItem Value="${5:value 2}" Text="${6:item 2}" />}$0 +</com:TActiveRadioButtonList> + name + TActiveRadioButtonList + scope + text.html + tabTrigger + TActiveRadioButtonList + uuid + 6B8DF597-018E-4344-9853-B2DB9AF8BDD7 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveRatingList.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveRatingList.tmSnippet new file mode 100644 index 00000000..e0953243 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveRatingList.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TActiveRatingList ID="${1:ratingList1}" OnCallback="${3:$1_oncallback}" />$0 + name + TActiveRatingList + scope + text.html + tabTrigger + TActiveRatingList + uuid + 057EB744-BAB2-40A4-A694-444F32616388 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveRepeater.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveRepeater.tmSnippet new file mode 100644 index 00000000..63fa9f69 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveRepeater.tmSnippet @@ -0,0 +1,29 @@ + + + + + content + <com:TActiveRepeater ID="${1:repeater1}" DataKeys="${2:Data key field}"> + <prop:EmptyTemplate> + ${3:<!-- content -->} + </prop:EmptyTemplate> + <prop:HeaderTemplate> + ${4:<!-- content -->} + </prop:HeaderTemplate> + <prop:ItemTemplate> + ${5:<!-- content -->} + </prop:ItemTemplate> + <prop:FooterTemplate> + ${6:<!-- content -->} + </prop:FooterTemplate> +</com:TActiveRepeater> + name + TActiveRepeater + scope + text.html + tabTrigger + TActiveRepeater + uuid + 2A8B6705-FDDB-42E3-9332-9BC8C8293B7B + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveTableCell.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveTableCell.tmSnippet new file mode 100644 index 00000000..28d55a74 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveTableCell.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TActiveTableCell>${1:cell 1}</com:TActiveTableCell>$0 + name + TActiveTableCell + scope + text.html + tabTrigger + TActiveTableCell + uuid + 6BF2C151-51EA-4165-93E9-ECC5133E558D + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveTableRow.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveTableRow.tmSnippet new file mode 100644 index 00000000..516fe286 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveTableRow.tmSnippet @@ -0,0 +1,19 @@ + + + + + content + <com:TActiveTableRow> + ${1:<com:TActiveTableCell>${2:cell 1}</com:TActiveTableCell> + <com:TActiveTableCell>${3:cell 2}</com:TActiveTableCell>}$0 +</com:TActiveTableRow> + name + TActiveTableRow + scope + text.html + tabTrigger + TActiveTableRow + uuid + 6D11476C-C336-40A8-A39B-207B531FBAD3 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveTextBox.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveTextBox.tmSnippet new file mode 100644 index 00000000..df9889a7 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveTextBox.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TActiveTextBox ID="${1:textbox1}" />$0 + name + TActiveTextBox + scope + text.html + tabTrigger + TActiveTextBox + uuid + 66A8F08B-0A0B-47D8-B8F4-58173B0458AE + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TAutoComplete.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TAutoComplete.tmSnippet new file mode 100644 index 00000000..2e257124 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TAutoComplete.tmSnippet @@ -0,0 +1,26 @@ + + + + + content + <com:TAutoComplete + ID="${1:textbox1}" + OnSuggest="${2:$1_suggestNames}" + OnSuggestionSelected="${3:$1_suggestionSelected1}" + ResultPanel.CssClass="${4:acomplete}" + Suggestions.DataKeyField="${5:id}" +> + <prop:Suggestions.ItemTemplate> + <li><%# ${6:\$this->Data['name']} %></li> + </prop:Suggestions.ItemTemplate> +</com:TAutoComplete>$0 + name + TAutoComplete + scope + text.html + tabTrigger + TAutoComplete + uuid + 49C6A148-2B66-4220-849D-C59A21FF4281 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TCallback.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TCallback.tmSnippet new file mode 100644 index 00000000..a0386636 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TCallback.tmSnippet @@ -0,0 +1,23 @@ + + + + + content + <com:TCallback ID="${1:callback1}" OnCallback="${2:$1_oncallback}" /> +<script type="text/javascript"> + function do_callback1() + { + var request = <%= $this->${3:$1}->ActiveControl->Javascript %>; + request.dispatch(); + } +</script> + name + TCallback + scope + text.html + tabTrigger + TCallback + uuid + B2C49ECC-2119-4609-9DE6-E85DA4FD7630 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TCustomValidator.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TCustomValidator.tmSnippet index e543353e..109d9726 100644 --- a/editors/Textmate/Prado.tmbundle/Snippets/TCustomValidator.tmSnippet +++ b/editors/Textmate/Prado.tmbundle/Snippets/TCustomValidator.tmSnippet @@ -1,5 +1,5 @@ - + content diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TDropContainer.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TDropContainer.tmSnippet new file mode 100644 index 00000000..fb6951de --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TDropContainer.tmSnippet @@ -0,0 +1,25 @@ + + + + + content + <com:TDropContainer + CssClass="${1:cart}" + ID="${2:cart}" + AcceptCssClass="${3:draggable}" + HoverCssClass="${4:cart-hover}" + OnDrop="${5:addItemToCart}" + OnCallback="${6:redrawCart}" +> +<!-- content --> +</com:TDropContainer> + name + TDropContainer + scope + text.html + tabTrigger + TDropContainer + uuid + 427727D2-E017-48F9-BA6D-4D7435395419 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TEventTriggeredCallback.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TEventTriggeredCallback.tmSnippet new file mode 100644 index 00000000..a238c6d0 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TEventTriggeredCallback.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TEventTriggeredCallback ControlID="${1:ControlID}" EventName="${2:focus}" OnCallback="${3:event_callback}" /> + name + TEventTriggeredCallback + scope + text.html + tabTrigger + TEventTriggeredCallback + uuid + 37F7D48C-F74E-4DF0-9CF1-2E1378FFDF49 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TInPlaceTextBox.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TInPlaceTextBox.tmSnippet new file mode 100644 index 00000000..f957be06 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TInPlaceTextBox.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TInPlaceTextBox ID="${1:textbox1}" Text="${2:text}" OnTextChanged="${3:textChanged}"/>$0 + name + TInPlaceTextBox + scope + text.html + tabTrigger + TInPlaceTextBox + uuid + 0B978CED-4C7D-42B0-A55C-214E0A095C3E + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TTimeTriggeredCallback.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TTimeTriggeredCallback.tmSnippet new file mode 100644 index 00000000..961e9249 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TTimeTriggeredCallback.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TTimeTriggeredCallback Interval="${1:5}" OnCallback="${2:time_callback}" /> + name + TTimeTriggeredCallback + scope + text.html + tabTrigger + TTimeTriggeredCallback + uuid + 56EA2FDF-FED2-438F-9CDB-DEA87ED7DC39 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TValueTriggeredCallback.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TValueTriggeredCallback.tmSnippet new file mode 100644 index 00000000..c559cad3 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TValueTriggeredCallback.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TValueTriggeredCallback ControlID="${1:ControlID}" PropertyName="${2:value}" OnCallback="${3:value_callback}" /> + name + TValueTriggeredCallback + scope + text.html + tabTrigger + TValueTriggeredCallback + uuid + 59B41626-5E20-4FA4-9FAD-6B1511ED1A33 + + -- cgit v1.2.3