From 8b9c38799b3d32f6841e43ce855849ba46d0bb35 Mon Sep 17 00:00:00 2001 From: rojaro <> Date: Mon, 2 Nov 2009 07:34:41 +0000 Subject: added a few more snippets to the textmate bundle --- .gitattributes | 4 ++++ .../Prado.tmbundle/Snippets/ControlProp.tmSnippet | 16 ++++++++++++++++ .../Prado.tmbundle/Snippets/TDraggable.tmSnippet | 16 ++++++++++++++++ .../Snippets/TDropDownListColumn.tmSnippet | 16 ++++++++++++++++ .../Prado.tmbundle/Snippets/TEditCommandColumn.tmSnippet | 16 ++++++++++++++++ editors/Textmate/Prado.tmbundle/info.plist | 12 +++++++++--- 6 files changed, 77 insertions(+), 3 deletions(-) create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/ControlProp.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TDraggable.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TDropDownListColumn.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TEditCommandColumn.tmSnippet diff --git a/.gitattributes b/.gitattributes index 2f34acc6..5abd3607 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2038,6 +2038,7 @@ docs/sqlmap/sqlmap.pdf -text docs/sqlmap/sqlmap_tut.pdf -text editors/Dreamweaver/PRADO.mxp -text editors/Dreamweaver/readme.txt -text +editors/Textmate/Prado.tmbundle/Snippets/ControlProp.tmSnippet -text editors/Textmate/Prado.tmbundle/Snippets/TActiveButton.tmSnippet -text editors/Textmate/Prado.tmbundle/Snippets/TBoundColumn.tmSnippet -text editors/Textmate/Prado.tmbundle/Snippets/TBulletedList.tmSnippet -text @@ -2059,7 +2060,10 @@ editors/Textmate/Prado.tmbundle/Snippets/TContentPlaceHolder.tmSnippet -text editors/Textmate/Prado.tmbundle/Snippets/TCustomValidator.tmSnippet -text editors/Textmate/Prado.tmbundle/Snippets/TDataGrid.tmSnippet -text editors/Textmate/Prado.tmbundle/Snippets/TDatePicker.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TDraggable.tmSnippet -text editors/Textmate/Prado.tmbundle/Snippets/TDropDownList.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TDropDownListColumn.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TEditCommandColumn.tmSnippet -text editors/Textmate/Prado.tmbundle/Snippets/TEmailAddressValidator.tmSnippet -text editors/Textmate/Prado.tmbundle/Snippets/TExpression.tmSnippet -text editors/Textmate/Prado.tmbundle/Snippets/TFileUpload.tmSnippet -text diff --git a/editors/Textmate/Prado.tmbundle/Snippets/ControlProp.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/ControlProp.tmSnippet new file mode 100644 index 00000000..799b2c57 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/ControlProp.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <prop:${1:PropertyName}>$0</prop:${1}> + name + Control Prop + scope + text.html + tabTrigger + prop + uuid + 7E08C606-3EE5-4486-AB50-9B48E27D27D5 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TDraggable.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TDraggable.tmSnippet new file mode 100644 index 00000000..4dff1f1f --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TDraggable.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TDraggable Handle="${1:idOrClass}" Revert="${2:false}" Ghosting="${3:false}" />$0 + name + TDraggable + scope + text.html + tabTrigger + TDraggable + uuid + D0891731-B0CE-4388-93C9-5B4E74F2DFD1 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TDropDownListColumn.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TDropDownListColumn.tmSnippet new file mode 100644 index 00000000..721def56 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TDropDownListColumn.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TDropDownListColumn DataTextField="${2:Field Name from Data Source}" DataValueField="${3:Field Name from Data Source}" HeaderText="${4:Dropdown}" />$0 + name + TDropDownListColumn + scope + text.html + tabTrigger + TDropDownListColumn + uuid + F360A174-E4F9-466C-8017-BDE954ED0098 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TEditCommandColumn.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TEditCommandColumn.tmSnippet new file mode 100644 index 00000000..6e232914 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TEditCommandColumn.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TEditCommandColumn ButtonType="${1:LinkButton}" EditText="${2:Edit}" UpdateText="${3:Update}" CancelText="${4:Cancel}" />$0 + name + TEditCommandColumn + scope + text.html + tabTrigger + TEditCommandColumn + uuid + 8ADE1659-40F7-46AB-A7E8-1D813734865F + + diff --git a/editors/Textmate/Prado.tmbundle/info.plist b/editors/Textmate/Prado.tmbundle/info.plist index 026e3a0c..e0f48b4a 100644 --- a/editors/Textmate/Prado.tmbundle/info.plist +++ b/editors/Textmate/Prado.tmbundle/info.plist @@ -9,8 +9,6 @@ deleted 3B4714DB-144B-4102-ACCD-A9D66B676D3C - 3B4714DB-144B-4102-ACCD-A9D66B676D3C - 9ED62E79-F25A-4BE1-80E9-D0474DD64BB5 9ED62E79-F25A-4BE1-80E9-D0474DD64BB5 description @@ -21,6 +19,8 @@ 24F6F96C-B3BD-41EA-852D-A1CD51F0723E DBB5D8B9-5DD8-4573-B196-0D37A72AF60B + ------------------------------------ + 7E08C606-3EE5-4486-AB50-9B48E27D27D5 submenus @@ -29,6 +29,7 @@ items 319D66FC-712A-4B09-A1C0-CB741ED9DD4C + D0891731-B0CE-4388-93C9-5B4E74F2DFD1 name ActiveControls @@ -58,6 +59,8 @@ D2EAFC46-26B5-40BB-A4B7-8B10C856AF3B 37221294-B588-4D07-9010-2DB7CDBEB6B4 803BFB83-50E8-4121-9866-A25C93979E4B + F360A174-E4F9-466C-8017-BDE954ED0098 + 8ADE1659-40F7-46AB-A7E8-1D813734865F BDF614B5-430B-46AB-B558-B5E0EF97BA17 B7E6E873-309E-41E6-AD8A-29EB54781579 17BECED9-79B1-4CD6-9354-E528DA3327AC @@ -105,11 +108,13 @@ Prado ordering - D2EAFC46-26B5-40BB-A4B7-8B10C856AF3B 3E75ACFD-E0F4-4564-9A24-DCB08AD6324D DDC83EED-168F-4DEB-971D-84A2CF3CB38F + F360A174-E4F9-466C-8017-BDE954ED0098 1020E025-E424-40C2-AC76-F90766397290 + 8ADE1659-40F7-46AB-A7E8-1D813734865F 028C538B-4B9C-4820-A284-2C8D5236FED7 + D0891731-B0CE-4388-93C9-5B4E74F2DFD1 8D8D94FD-7FD7-442F-A50E-A6A29A4267AE CBC6DC68-6819-4905-A6F8-5CDE2FB9614B EB4E1513-2FB7-4111-9430-2606178EA859 @@ -120,6 +125,7 @@ 078B43BF-6A9E-4558-B262-EABEBEF30F9B 5415E441-A4F5-489B-B4E5-359CBB0BC04D 2721E2C3-66B7-4486-BF0F-6FA7B274858D + D2EAFC46-26B5-40BB-A4B7-8B10C856AF3B AC226362-749C-45C1-86A3-B58379A38A7E BFD8CE92-59C7-47B2-9AE4-1B29ADE3CA0B 8E764E2C-244E-4A93-9C0D-5E25689D1C85 -- cgit v1.2.3