diff options
author | ctrlaltca <> | 2012-07-24 17:28:14 +0000 |
---|---|---|
committer | ctrlaltca <> | 2012-07-24 17:28:14 +0000 |
commit | 59ef1ca568d8e20a726e343556113c117ce5022c (patch) | |
tree | eaeeb5b386281a3c82afe2fe6d237bc03646a7f5 /editors/Textmate/Prado.tmbundle/Snippets | |
parent | 255db529c49ae00f5e8defb14c77461582edfd39 (diff) |
updated plugin for textmate editor (works on "sublime text editor 2", too):
- updated prado syntax to the php's and html's current versions
- added missing webcontrols (activecontrols still missing)
Diffstat (limited to 'editors/Textmate/Prado.tmbundle/Snippets')
32 files changed, 545 insertions, 4 deletions
diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TAccordion.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TAccordion.tmSnippet new file mode 100644 index 00000000..4df8b12c --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TAccordion.tmSnippet @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TAccordion ID="${1:accordion1}" ActiveViewIndex="${2:0}"> + ${3:<com:TAccordionView ID="${4:view1}" Caption="${5:caption1}"> + ${6:<!-- view1 content -->} + </com:TAccordionView> + <com:TAccordionView ID="${7:view2}" Caption="${8:caption2}"> + ${9:<!-- view2 content -->} + </com:TAccordionView>}$0 +</com:TAccordion></string> + <key>name</key> + <string>TAccordion</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TAccordion</string> + <key>uuid</key> + <string>636508A0-20E0-4C46-909B-0253989706BE</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TAccordionView.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TAccordionView.tmSnippet new file mode 100644 index 00000000..14791c0f --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TAccordionView.tmSnippet @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TAccordionView ID="${1:view1}" Caption="${2:caption1}"> + ${0:<!-- ${1} content -->} +</com:TAccordionView></string> + <key>name</key> + <string>TAccordionView</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TAccordionView</string> + <key>uuid</key> + <string>FBEC7A55-5F68-4CDA-9634-17CDCA57B656</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TCaptcha.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TCaptcha.tmSnippet index 8d0248cc..7e112810 100644 --- a/editors/Textmate/Prado.tmbundle/Snippets/TCaptcha.tmSnippet +++ b/editors/Textmate/Prado.tmbundle/Snippets/TCaptcha.tmSnippet @@ -1,9 +1,11 @@ <?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"> +<!DOCTYPE plist PUBLIC "-//Apple//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> + <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> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TDataList.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TDataList.tmSnippet new file mode 100644 index 00000000..b651ef34 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TDataList.tmSnippet @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TDataList ID="${1:list1}" > + $0 +</com:TDataList></string> + <key>name</key> + <string>TDataList</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TDataList</string> + <key>uuid</key> + <string>66B07BA3-F1D3-4651-AE56-E987371DFDC0</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TFlushOutput.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TFlushOutput.tmSnippet new file mode 100644 index 00000000..c1c347c6 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TFlushOutput.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TFlushOutput ID="${1:flushOutput1}" />$0</string> + <key>name</key> + <string>TFlushOutput</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TFlushOutput</string> + <key>uuid</key> + <string>DF7C03B9-46C8-4062-938F-7A9853CAF0E3</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/THead.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/THead.tmSnippet new file mode 100644 index 00000000..563ab962 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/THead.tmSnippet @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:THead Title="${1:title1}" > + ${2:<com:TMetaTag HttpEquiv="${3:Pragma}" Content="${4:no-cache}" /> + <com:TMetaTag Name="${5:keywords}" Content="${6:Prado}" />}$0 +</com:THead></string> + <key>name</key> + <string>THead</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>THead</string> + <key>uuid</key> + <string>61C1CB9E-ABFF-4E3D-9068-EE72B16B11D6</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/THeader1.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/THeader1.tmSnippet new file mode 100644 index 00000000..ff2ed154 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/THeader1.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:THeader1 />$0</string> + <key>name</key> + <string>THeader1</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>THeader1</string> + <key>uuid</key> + <string>BFF96909-65E9-4B6A-BD3D-3FB788391F82</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/THeader2.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/THeader2.tmSnippet new file mode 100644 index 00000000..86ee0a8d --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/THeader2.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:THeader2 />$0</string> + <key>name</key> + <string>THeader2</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>THeader2</string> + <key>uuid</key> + <string>F4528371-C48C-4A3F-ABD5-B48C42BB2DFC</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/THeader3.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/THeader3.tmSnippet new file mode 100644 index 00000000..f1501f39 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/THeader3.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:THeader3 />$0</string> + <key>name</key> + <string>THeader3</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>THeader3</string> + <key>uuid</key> + <string>F8E3C7FE-A947-4E67-8F79-1D9AA39A57EB</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/THeader4.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/THeader4.tmSnippet new file mode 100644 index 00000000..fa0c7ccb --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/THeader4.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:THeader4 />$0</string> + <key>name</key> + <string>THeader4</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>THeader4</string> + <key>uuid</key> + <string>59D2E7AC-9760-43FD-91E1-4D7E01D7A818</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/THeader5.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/THeader5.tmSnippet new file mode 100644 index 00000000..c7715aa8 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/THeader5.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:THeader5 />$0</string> + <key>name</key> + <string>THeader5</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>THeader5</string> + <key>uuid</key> + <string>ACF388F3-3A21-431D-8971-BB3277EDCC60</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/THeader6.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/THeader6.tmSnippet new file mode 100644 index 00000000..65dc5ea2 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/THeader6.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:THeader6 />$0</string> + <key>name</key> + <string>THeader6</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>THeader6</string> + <key>uuid</key> + <string>E98C97C2-980C-4D71-A2F9-4AD88F02EC7E</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/THiddenField.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/THiddenField.tmSnippet new file mode 100644 index 00000000..dda45a39 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/THiddenField.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:THiddenField ID="${1:hiddenField1}" Value="${2:value}" />$0</string> + <key>name</key> + <string>THiddenField</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>THiddenField</string> + <key>uuid</key> + <string>4DA962F1-5FE7-4FF1-BFB5-9F1C2E06F0E8</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TKeyboard.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TKeyboard.tmSnippet new file mode 100644 index 00000000..141eb851 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TKeyboard.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TKeyboard ForControl="${1:PasswordInput}" />$0</string> + <key>name</key> + <string>TKeyboard</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TKeyboard</string> + <key>uuid</key> + <string>4BCA0D8A-355C-469B-B6BE-86F37A26E60B</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TLiteral.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TLiteral.tmSnippet new file mode 100644 index 00000000..724f13fb --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TLiteral.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TLiteral ID="${1:label1}" ${2:Text="${3:Label 1}"} ${4:Encode="${5:true}"} />$0</string> + <key>name</key> + <string>TLiteral</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TLiteral</string> + <key>uuid</key> + <string>95BCB62C-6774-488B-A2B6-1C555E6DC751</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TLiteralColumn.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TLiteralColumn.tmSnippet new file mode 100644 index 00000000..ea0a3207 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TLiteralColumn.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TLiteralColumn DataField="${2:Field Name from Data Source}" HeaderText="${3:${2}}" />$0</string> + <key>name</key> + <string>TLiteralColumn</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TLiteralColumn</string> + <key>uuid</key> + <string>17F79369-0949-4C41-9E28-3CB447240845</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TMarkdown.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TMarkdown.tmSnippet new file mode 100644 index 00000000..df7d0821 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TMarkdown.tmSnippet @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TMarkdown> + ${0:<!-- content -->} +</com:TMarkdown></string> + <key>name</key> + <string>TMarkdown</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TMarkdown</string> + <key>uuid</key> + <string>CE5CB900-9AD7-4060-8CFE-E41C99188C4C</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TMetaTag.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TMetaTag.tmSnippet new file mode 100644 index 00000000..cad94a2c --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TMetaTag.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TMetaTag Name="${1:keywords}" Content="${2:Prado}" /></string> + <key>name</key> + <string>TMetaTag</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TMetaTag</string> + <key>uuid</key> + <string>455B8C57-4CA5-48FB-B692-B2D3871A290C</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TOutputCache.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TOutputCache.tmSnippet new file mode 100644 index 00000000..6f7d3289 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TOutputCache.tmSnippet @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TOutputCache> + ${0:<!-- content to be cached-->} +</com:TOutputCache></string> + <key>name</key> + <string>TOutputCache</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TOutputCache</string> + <key>uuid</key> + <string>E91DB3C2-E41E-43AF-BEFF-827BD2452063</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TPager.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TPager.tmSnippet new file mode 100644 index 00000000..fdd0c7f8 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TPager.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TPager ControlToPaginate="${2:dataGrid1}" OnPageIndexChanged="${3:pagerIndexChanged}" />$0</string> + <key>name</key> + <string>TPager</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TPager</string> + <key>uuid</key> + <string>D450769C-D2C8-4C0F-BFBB-F008BEEBCEE7</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TRatingList.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TRatingList.tmSnippet new file mode 100644 index 00000000..ff444eb6 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TRatingList.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TRatingList ID="${1:ratingList1}" />$0</string> + <key>name</key> + <string>TRatingList</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TRatingList</string> + <key>uuid</key> + <string>D058727E-73F7-46CC-9702-239082DE8479</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TReCaptcha.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TReCaptcha.tmSnippet new file mode 100644 index 00000000..2fe59b81 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TReCaptcha.tmSnippet @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TReCaptcha ID="${1:captcha1}" /> +<com:TTextBox ID="${1}input" /> +<com:TReCaptchaValidator CaptchaControl="${1}" ControlToValidate="${1}input" ErrorMessage="${2:You are challenged!}" />$0</string> + <key>name</key> + <string>TReCaptcha</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TReCaptcha</string> + <key>uuid</key> + <string>2B964B74-45B4-45A7-87D5-A1B85F1870EF</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TReCaptchaValidator (TValidator).tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TReCaptchaValidator (TValidator).tmSnippet new file mode 100644 index 00000000..ac5e636d --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TReCaptchaValidator (TValidator).tmSnippet @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TReCaptchaValidator + CaptchaControl="${1:captchaControl}" + ControlToValidate="${2:controlIDToValidate}" + ErrorMessage="${3:You are challenged!}" />$0</string> + <key>name</key> + <string>TReCaptchaValidator (TValidator)</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TValidator</string> + <key>uuid</key> + <string>9398A8D4-053E-4CFD-94ED-D54C76EB85E3</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TRepeater.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TRepeater.tmSnippet new file mode 100644 index 00000000..04a7fa17 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TRepeater.tmSnippet @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TRepeater 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:TRepeater></string> + <key>name</key> + <string>TRepeater</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TRepeater</string> + <key>uuid</key> + <string>13793DF0-F678-4DD1-A0DE-AB212C32AB74</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TSafeHtml.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TSafeHtml.tmSnippet new file mode 100644 index 00000000..af06db5d --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TSafeHtml.tmSnippet @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TSafeHtml> + ${0:<!-- content -->} +</com:TSafeHtml></string> + <key>name</key> + <string>TSafeHtml</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TSafeHtml</string> + <key>uuid</key> + <string>7BD61FDA-2C17-453D-9DFA-AE5656F08E45</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TSlider.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TSlider.tmSnippet new file mode 100644 index 00000000..6c79cf5a --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TSlider.tmSnippet @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TSlider ID="${1:slider1}" MinValue="${2:0}" MaxValue="${3:100}" AutoPostBack="${4:true}" onValueChanged="${5:slider1ValueChanged}" /> +</string> + <key>name</key> + <string>TSlider</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TSlider</string> + <key>uuid</key> + <string>D0F6A5F5-C4ED-468F-A3DC-2E6B70825217</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TStyleSheet.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TStyleSheet.tmSnippet new file mode 100644 index 00000000..f1e4bbdb --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TStyleSheet.tmSnippet @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TStyleSheet StyleSheetUrl="${1:test.css}"> + ${2:<!-- insert content here or use StyleSheetUrl -->} +</com:TStyleSheet>$0</string> + <key>name</key> + <string>TStyleSheet</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TStyleSheet</string> + <key>uuid</key> + <string>606E45DE-FC1C-4AE7-8DF1-3F61C4520F0B</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TTabPanel.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TTabPanel.tmSnippet new file mode 100644 index 00000000..df365a08 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TTabPanel.tmSnippet @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TTabPanel ID="${1:tabpanel1}" ActiveViewIndex="${2:0}"> + ${3:<com:TTabView ID="${4:view1}" Caption="${5:caption1}"> + ${6:<!-- view1 content -->} + </com:TTabView> + <com:TTabView ID="${7:view2}" Caption="${8:caption2}"> + ${9:<!-- view2 content -->} + </com:TTabView>}$0 +</com:TTabPanel></string> + <key>name</key> + <string>TTabPanel</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TTabPanel</string> + <key>uuid</key> + <string>6175973E-2916-4F52-A6A7-F5C343AA7268</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TTabView.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TTabView.tmSnippet new file mode 100644 index 00000000..526f7aeb --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TTabView.tmSnippet @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TTabView ID="${1:view1}" Caption="${2:caption1}"> + ${0:<!-- ${1} content -->} +</com:TTabView></string> + <key>name</key> + <string>TTabView</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TTabView</string> + <key>uuid</key> + <string>4BE9FA4E-D8D0-4D90-A9A1-C017FEDAD1E7</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TTabelFooterRow.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TTabelFooterRow.tmSnippet index 620f7adf..04f822ea 100644 --- a/editors/Textmate/Prado.tmbundle/Snippets/TTabelFooterRow.tmSnippet +++ b/editors/Textmate/Prado.tmbundle/Snippets/TTabelFooterRow.tmSnippet @@ -1,5 +1,5 @@ <?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"> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>content</key> @@ -7,7 +7,7 @@ $0 </com:TTableFooterRow></string> <key>name</key> - <string>TTabelFooterRow</string> + <string>TTableFooterRow</string> <key>scope</key> <string>text.html</string> <key>tabTrigger</key> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TTemplateColumn.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TTemplateColumn.tmSnippet new file mode 100644 index 00000000..84fc64ef --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TTemplateColumn.tmSnippet @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TTemplateColumn DataField="${2:Field Name from Data Source}" HeaderText="${3:${2}}"> + <prop:ItemTemplate> + ${4:<!-- content -->} + </prop:ItemTemplate> + <prop:EditItemTemplate> + ${5:<!-- content -->} + </prop:EditItemTemplate> +</com:TTemplateColumn>$0</string> + <key>name</key> + <string>TTemplateColumn</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TTemplateColumn</string> + <key>uuid</key> + <string>4141D54F-3E7E-4F13-BA60-78FA659CFDDF</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TTextHighlighter.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TTextHighlighter.tmSnippet new file mode 100644 index 00000000..26f8decc --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TTextHighlighter.tmSnippet @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TTextHighlighter ShowLineNumbers="${1:true}" Language="${2:PHP}"> + ${0:<!-- content -->} +</com:TTextHighlighter></string> + <key>name</key> + <string>TTextHighlighter</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TTextHighlighter</string> + <key>uuid</key> + <string>09390D01-F829-4439-832A-D76B5BB363F5</string> +</dict> +</plist> |