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 -
.../Syntaxes/Prado Template copy.tmLanguage | 670 ---------------------
.../Syntaxes/Prado Template.tmLanguage | 670 +++++++++++++++++++++
editors/Textmate/Prado.tmbundle/info.plist | 105 +++-
20 files changed, 1015 insertions(+), 725 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
delete mode 100644 editors/Textmate/Prado.tmbundle/Syntaxes/Prado Template copy.tmLanguage
create mode 100644 editors/Textmate/Prado.tmbundle/Syntaxes/Prado Template.tmLanguage
(limited to 'editors/Textmate/Prado.tmbundle')
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
-
-
diff --git a/editors/Textmate/Prado.tmbundle/Syntaxes/Prado Template copy.tmLanguage b/editors/Textmate/Prado.tmbundle/Syntaxes/Prado Template copy.tmLanguage
deleted file mode 100644
index ca67d3af..00000000
--- a/editors/Textmate/Prado.tmbundle/Syntaxes/Prado Template copy.tmLanguage
+++ /dev/null
@@ -1,670 +0,0 @@
-
-
-
-
- comment
- Prado Template syntax, based on HTML language and custom PHP syntax.
- fileTypes
-
- tpl
- page
-
- foldingStartMarker
- (?x)
- (<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\b
- |<!--(?!.*-->)
- |<(?i:(com|prop):[a-zA-z0-9.]+)(.*(?<!\/)>)
- )
- foldingStopMarker
- (?x)
- (</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)>
- |^\s*-->
- |</(?i:(com|prop):[a-zA-z0-9.]+)>
- )
- keyEquivalent
- ^~A
- name
- Prado Template
- patterns
-
-
- include
- #php
-
-
- begin
- (</?(?i:(com:[a-zA-z0-9.]+)))
- captures
-
- 1
-
- name
- entity.prado.tag.component
-
-
- end
- (?<!%)(\/?>)
- name
- source.prado.tag.component
- patterns
-
-
- include
- #prado-tag-stuff
-
-
-
-
- begin
- (</?(?i:(prop:[a-zA-z0-9.]+)))
- captures
-
- 1
-
- name
- storage.prado.tag.prop
-
-
- end
- (?<!%)(\/?>)
- name
- source.prado.tag.prop
- patterns
-
-
- include
- #prado-tag-stuff
-
-
-
-
- begin
- (<%@)
- captures
-
- 1
-
- name
- entity.prado.tag.page
-
-
- end
- (%>)
- name
- source.prado.tag.page
- patterns
-
-
- include
- #prado-tag-stuff
-
-
-
-
- begin
- (<%\[)
- captures
-
- 1
-
- name
- constant.prado.tag.localize
-
-
- contentName
- string.quoted.double.html
- end
- (\]%>)
- name
- source.prado.component.tag.localize
-
-
- begin
- (<%\$)\s*
- captures
-
- 1
-
- name
- constant.prado.tag.parameter
-
-
- contentName
- keyword.prado.tag.parameter
- end
- \s*(%>)
- name
- source.prado.component.tag.parameter
-
-
- begin
- (<%~)\s*
- captures
-
- 1
-
- name
- constant.prado.tag.asset
-
-
- contentName
- asset.prado.tag.asset
- end
- \s*(%>)
- name
- source.prado.component.tag.asset
-
-
- begin
- <([a-zA-Z0-9:]+)(?=[^>]*></\1>)
- beginCaptures
-
- 1
-
- name
- entity.name.tag.html
-
-
- end
- >(<)/(\1)>
- endCaptures
-
- 1
-
- name
- meta.scope.between-tag-pair.html
-
- 2
-
- name
- entity.name.tag.html
-
-
- name
- meta.tag.any.html
- patterns
-
-
- include
- #tag-stuff
-
-
-
-
- begin
- <\?(xml)
- captures
-
- 1
-
- name
- entity.name.tag.xml.html
-
-
- end
- \?>
- name
- meta.tag.preprocessor.xml.html
- patterns
-
-
- include
- #tag-generic-attribute
-
-
- include
- #string-double-quoted
-
-
- include
- #string-single-quoted
-
-
-
-
- begin
- <!--
- end
- --\s*!?>
- name
- comment.block.html
- patterns
-
-
- match
- --
- name
- invalid.illegal.bad-comments-or-CDATA.html
-
-
-
-
- begin
- <!
- end
- >
- name
- meta.tag.sgml.html
- patterns
-
-
- begin
- (DOCTYPE)
- captures
-
- 1
-
- name
- entity.name.tag.doctype.html
-
-
- end
- (?=>)
- name
- meta.tag.sgml.doctype.html
- patterns
-
-
- match
- "[^">]*"
- name
- string.quoted.double.doctype.identifiers-and-DTDs.html
-
-
-
-
- begin
- \[CDATA\[
- end
- ]](?=>)
- name
- constant.other.inline-data.html
-
-
- match
- (\s*)(?!--|>)\S(\s*)
- name
- invalid.illegal.bad-comments-or-CDATA.html
-
-
-
-
- include
- #php
-
-
- begin
- (?:^\s+)?<((?i:style))\b(?![^>]*/>)
- captures
-
- 1
-
- name
- entity.name.tag.style.html
-
-
- end
- </((?i:style))>(?:\s*\n)?
- name
- source.css.embedded.html
- patterns
-
-
- include
- #tag-stuff
-
-
- begin
- >
- end
- (?=</(?i:style))
- patterns
-
-
- include
- #embedded-code
-
-
- include
- source.css
-
-
-
-
-
-
- begin
- (?:^\s+)?<((?i:script))\b(?![^>]*/>)
- captures
-
- 1
-
- name
- entity.name.tag.script.html
-
-
- end
- (?<=</(script|SCRIPT))>(?:\s*\n)?
- name
- source.js.embedded.html
- patterns
-
-
- include
- #tag-stuff
-
-
- begin
- (?<!</(?:script|SCRIPT))>
- end
- </((?i:script))
- patterns
-
-
- match
- //.*?((?=</script)|$\n?)
- name
- comment.line.double-slash.js
-
-
- begin
- /\*
- end
- \*/|(?=</script)
- name
- comment.block.js
-
-
- include
- source.js
-
-
-
-
-
-
- begin
- </?((?i:body|head|html)\b)
- captures
-
- 1
-
- name
- entity.name.tag.structure.any.html
-
-
- end
- >
- name
- meta.tag.structure.any.html
- patterns
-
-
- include
- #tag-stuff
-
-
-
-
- begin
- </?((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)\b)
- captures
-
- 1
-
- name
- entity.name.tag.block.any.html
-
-
- end
- >
- name
- meta.tag.block.any.html
- patterns
-
-
- include
- #tag-stuff
-
-
-
-
- begin
- </?((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|q|s|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)\b)
- captures
-
- 1
-
- name
- entity.name.tag.inline.any.html
-
-
- end
- >
- name
- meta.tag.inline.any.html
- patterns
-
-
- include
- #tag-stuff
-
-
-
-
- begin
- </?([a-zA-Z0-9:]+)
- captures
-
- 1
-
- name
- entity.name.tag.other.html
-
-
- end
- >
- name
- meta.tag.other.html
- patterns
-
-
- include
- #tag-stuff
-
-
-
-
- include
- #entities
-
-
- match
- <>
- name
- invalid.illegal.incomplete.html
-
-
- match
- <(?=\W)|>
- name
- invalid.illegal.bad-angle-bracket.html
-
-
- repository
-
- embedded-code
-
- patterns
-
-
- include
- #php
-
-
-
- entities
-
- patterns
-
-
- match
- &([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+);
- name
- constant.character.entity.html
-
-
- match
- &
- name
- invalid.illegal.bad-ampersand.html
-
-
-
- php
-
- patterns
-
-
- begin
- (?:^\s*)(?=<%(#|=|%))(?!.*%>)
- comment
- match only multi-line PHP with leading whitespace
- end
- (?<=%>)(?:\s*$\n)?
- name
- source.prado.embedded.tag
- patterns
-
-
- include
- source.prado.php
-
-
-
-
- applyEndPatternLast
- 1
- begin
- (?=<%(#|=|%))
- end
- (?<=%>)
- name
- source.prado.embedded.tag
- patterns
-
-
- include
- source.prado.php
-
-
-
-
-
- prado-tag-generic-attribute
-
- match
- \b([a-zA-Z\-:]+)
- name
- keyword.other.attribute-name.html
-
- prado-tag-stuff
-
- name
- keyword.prado.tag.stuff
- patterns
-
-
- include
- #prado-tag-generic-attribute
-
-
- include
- #string-double-quoted
-
-
- include
- #string-single-quoted
-
-
- include
- #embedded-code
-
-
-
- string-double-quoted
-
- begin
- "
- end
- "
- name
- string.quoted.double.html
- patterns
-
-
- include
- #embedded-code
-
-
- include
- #entities
-
-
-
- string-single-quoted
-
- begin
- '
- end
- '
- name
- string.quoted.single.html
- patterns
-
-
- include
- #embedded-code
-
-
- include
- #entities
-
-
-
- tag-generic-attribute
-
- match
- \b([a-zA-Z\-:]+)
- name
- meta.other.attribute-name.html
-
- tag-stuff
-
- patterns
-
-
- include
- #tag-generic-attribute
-
-
- include
- #string-double-quoted
-
-
- include
- #string-single-quoted
-
-
- include
- #embedded-code
-
-
-
-
- scopeName
- text.html.basic
- uuid
- 3E75ACFD-E0F4-4564-9A24-DCB08AD6324D
-
-
diff --git a/editors/Textmate/Prado.tmbundle/Syntaxes/Prado Template.tmLanguage b/editors/Textmate/Prado.tmbundle/Syntaxes/Prado Template.tmLanguage
new file mode 100644
index 00000000..ca67d3af
--- /dev/null
+++ b/editors/Textmate/Prado.tmbundle/Syntaxes/Prado Template.tmLanguage
@@ -0,0 +1,670 @@
+
+
+
+
+ comment
+ Prado Template syntax, based on HTML language and custom PHP syntax.
+ fileTypes
+
+ tpl
+ page
+
+ foldingStartMarker
+ (?x)
+ (<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\b
+ |<!--(?!.*-->)
+ |<(?i:(com|prop):[a-zA-z0-9.]+)(.*(?<!\/)>)
+ )
+ foldingStopMarker
+ (?x)
+ (</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)>
+ |^\s*-->
+ |</(?i:(com|prop):[a-zA-z0-9.]+)>
+ )
+ keyEquivalent
+ ^~A
+ name
+ Prado Template
+ patterns
+
+
+ include
+ #php
+
+
+ begin
+ (</?(?i:(com:[a-zA-z0-9.]+)))
+ captures
+
+ 1
+
+ name
+ entity.prado.tag.component
+
+
+ end
+ (?<!%)(\/?>)
+ name
+ source.prado.tag.component
+ patterns
+
+
+ include
+ #prado-tag-stuff
+
+
+
+
+ begin
+ (</?(?i:(prop:[a-zA-z0-9.]+)))
+ captures
+
+ 1
+
+ name
+ storage.prado.tag.prop
+
+
+ end
+ (?<!%)(\/?>)
+ name
+ source.prado.tag.prop
+ patterns
+
+
+ include
+ #prado-tag-stuff
+
+
+
+
+ begin
+ (<%@)
+ captures
+
+ 1
+
+ name
+ entity.prado.tag.page
+
+
+ end
+ (%>)
+ name
+ source.prado.tag.page
+ patterns
+
+
+ include
+ #prado-tag-stuff
+
+
+
+
+ begin
+ (<%\[)
+ captures
+
+ 1
+
+ name
+ constant.prado.tag.localize
+
+
+ contentName
+ string.quoted.double.html
+ end
+ (\]%>)
+ name
+ source.prado.component.tag.localize
+
+
+ begin
+ (<%\$)\s*
+ captures
+
+ 1
+
+ name
+ constant.prado.tag.parameter
+
+
+ contentName
+ keyword.prado.tag.parameter
+ end
+ \s*(%>)
+ name
+ source.prado.component.tag.parameter
+
+
+ begin
+ (<%~)\s*
+ captures
+
+ 1
+
+ name
+ constant.prado.tag.asset
+
+
+ contentName
+ asset.prado.tag.asset
+ end
+ \s*(%>)
+ name
+ source.prado.component.tag.asset
+
+
+ begin
+ <([a-zA-Z0-9:]+)(?=[^>]*></\1>)
+ beginCaptures
+
+ 1
+
+ name
+ entity.name.tag.html
+
+
+ end
+ >(<)/(\1)>
+ endCaptures
+
+ 1
+
+ name
+ meta.scope.between-tag-pair.html
+
+ 2
+
+ name
+ entity.name.tag.html
+
+
+ name
+ meta.tag.any.html
+ patterns
+
+
+ include
+ #tag-stuff
+
+
+
+
+ begin
+ <\?(xml)
+ captures
+
+ 1
+
+ name
+ entity.name.tag.xml.html
+
+
+ end
+ \?>
+ name
+ meta.tag.preprocessor.xml.html
+ patterns
+
+
+ include
+ #tag-generic-attribute
+
+
+ include
+ #string-double-quoted
+
+
+ include
+ #string-single-quoted
+
+
+
+
+ begin
+ <!--
+ end
+ --\s*!?>
+ name
+ comment.block.html
+ patterns
+
+
+ match
+ --
+ name
+ invalid.illegal.bad-comments-or-CDATA.html
+
+
+
+
+ begin
+ <!
+ end
+ >
+ name
+ meta.tag.sgml.html
+ patterns
+
+
+ begin
+ (DOCTYPE)
+ captures
+
+ 1
+
+ name
+ entity.name.tag.doctype.html
+
+
+ end
+ (?=>)
+ name
+ meta.tag.sgml.doctype.html
+ patterns
+
+
+ match
+ "[^">]*"
+ name
+ string.quoted.double.doctype.identifiers-and-DTDs.html
+
+
+
+
+ begin
+ \[CDATA\[
+ end
+ ]](?=>)
+ name
+ constant.other.inline-data.html
+
+
+ match
+ (\s*)(?!--|>)\S(\s*)
+ name
+ invalid.illegal.bad-comments-or-CDATA.html
+
+
+
+
+ include
+ #php
+
+
+ begin
+ (?:^\s+)?<((?i:style))\b(?![^>]*/>)
+ captures
+
+ 1
+
+ name
+ entity.name.tag.style.html
+
+
+ end
+ </((?i:style))>(?:\s*\n)?
+ name
+ source.css.embedded.html
+ patterns
+
+
+ include
+ #tag-stuff
+
+
+ begin
+ >
+ end
+ (?=</(?i:style))
+ patterns
+
+
+ include
+ #embedded-code
+
+
+ include
+ source.css
+
+
+
+
+
+
+ begin
+ (?:^\s+)?<((?i:script))\b(?![^>]*/>)
+ captures
+
+ 1
+
+ name
+ entity.name.tag.script.html
+
+
+ end
+ (?<=</(script|SCRIPT))>(?:\s*\n)?
+ name
+ source.js.embedded.html
+ patterns
+
+
+ include
+ #tag-stuff
+
+
+ begin
+ (?<!</(?:script|SCRIPT))>
+ end
+ </((?i:script))
+ patterns
+
+
+ match
+ //.*?((?=</script)|$\n?)
+ name
+ comment.line.double-slash.js
+
+
+ begin
+ /\*
+ end
+ \*/|(?=</script)
+ name
+ comment.block.js
+
+
+ include
+ source.js
+
+
+
+
+
+
+ begin
+ </?((?i:body|head|html)\b)
+ captures
+
+ 1
+
+ name
+ entity.name.tag.structure.any.html
+
+
+ end
+ >
+ name
+ meta.tag.structure.any.html
+ patterns
+
+
+ include
+ #tag-stuff
+
+
+
+
+ begin
+ </?((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)\b)
+ captures
+
+ 1
+
+ name
+ entity.name.tag.block.any.html
+
+
+ end
+ >
+ name
+ meta.tag.block.any.html
+ patterns
+
+
+ include
+ #tag-stuff
+
+
+
+
+ begin
+ </?((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|q|s|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)\b)
+ captures
+
+ 1
+
+ name
+ entity.name.tag.inline.any.html
+
+
+ end
+ >
+ name
+ meta.tag.inline.any.html
+ patterns
+
+
+ include
+ #tag-stuff
+
+
+
+
+ begin
+ </?([a-zA-Z0-9:]+)
+ captures
+
+ 1
+
+ name
+ entity.name.tag.other.html
+
+
+ end
+ >
+ name
+ meta.tag.other.html
+ patterns
+
+
+ include
+ #tag-stuff
+
+
+
+
+ include
+ #entities
+
+
+ match
+ <>
+ name
+ invalid.illegal.incomplete.html
+
+
+ match
+ <(?=\W)|>
+ name
+ invalid.illegal.bad-angle-bracket.html
+
+
+ repository
+
+ embedded-code
+
+ patterns
+
+
+ include
+ #php
+
+
+
+ entities
+
+ patterns
+
+
+ match
+ &([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+);
+ name
+ constant.character.entity.html
+
+
+ match
+ &
+ name
+ invalid.illegal.bad-ampersand.html
+
+
+
+ php
+
+ patterns
+
+
+ begin
+ (?:^\s*)(?=<%(#|=|%))(?!.*%>)
+ comment
+ match only multi-line PHP with leading whitespace
+ end
+ (?<=%>)(?:\s*$\n)?
+ name
+ source.prado.embedded.tag
+ patterns
+
+
+ include
+ source.prado.php
+
+
+
+
+ applyEndPatternLast
+ 1
+ begin
+ (?=<%(#|=|%))
+ end
+ (?<=%>)
+ name
+ source.prado.embedded.tag
+ patterns
+
+
+ include
+ source.prado.php
+
+
+
+
+
+ prado-tag-generic-attribute
+
+ match
+ \b([a-zA-Z\-:]+)
+ name
+ keyword.other.attribute-name.html
+
+ prado-tag-stuff
+
+ name
+ keyword.prado.tag.stuff
+ patterns
+
+
+ include
+ #prado-tag-generic-attribute
+
+
+ include
+ #string-double-quoted
+
+
+ include
+ #string-single-quoted
+
+
+ include
+ #embedded-code
+
+
+
+ string-double-quoted
+
+ begin
+ "
+ end
+ "
+ name
+ string.quoted.double.html
+ patterns
+
+
+ include
+ #embedded-code
+
+
+ include
+ #entities
+
+
+
+ string-single-quoted
+
+ begin
+ '
+ end
+ '
+ name
+ string.quoted.single.html
+ patterns
+
+
+ include
+ #embedded-code
+
+
+ include
+ #entities
+
+
+
+ tag-generic-attribute
+
+ match
+ \b([a-zA-Z\-:]+)
+ name
+ meta.other.attribute-name.html
+
+ tag-stuff
+
+ patterns
+
+
+ include
+ #tag-generic-attribute
+
+
+ include
+ #string-double-quoted
+
+
+ include
+ #string-single-quoted
+
+
+ include
+ #embedded-code
+
+
+
+
+ scopeName
+ text.html.basic
+ uuid
+ 3E75ACFD-E0F4-4564-9A24-DCB08AD6324D
+
+
diff --git a/editors/Textmate/Prado.tmbundle/info.plist b/editors/Textmate/Prado.tmbundle/info.plist
index 2a65206f..026e3a0c 100644
--- a/editors/Textmate/Prado.tmbundle/info.plist
+++ b/editors/Textmate/Prado.tmbundle/info.plist
@@ -1,7 +1,11 @@
-
+
+ contactEmailRot13
+ ebwneb@tznvy.pbz
+ contactName
+ Robin J. Rogge
deleted
3B4714DB-144B-4102-ACCD-A9D66B676D3C
@@ -9,13 +13,112 @@
9ED62E79-F25A-4BE1-80E9-D0474DD64BB5
9ED62E79-F25A-4BE1-80E9-D0474DD64BB5
+ description
+ Snippets and Syntaxes for the PRADO PHP Framework
+ mainMenu
+
+ items
+
+ 24F6F96C-B3BD-41EA-852D-A1CD51F0723E
+ DBB5D8B9-5DD8-4573-B196-0D37A72AF60B
+
+ submenus
+
+ 24F6F96C-B3BD-41EA-852D-A1CD51F0723E
+
+ items
+
+ 319D66FC-712A-4B09-A1C0-CB741ED9DD4C
+
+ name
+ ActiveControls
+
+ DBB5D8B9-5DD8-4573-B196-0D37A72AF60B
+
+ items
+
+ 110FCD3F-841C-4178-99D8-765C7D382F7D
+ 8D8D94FD-7FD7-442F-A50E-A6A29A4267AE
+ 94E9F86C-36D1-4D5C-808C-E379024299CD
+ 77C53961-0D71-47BB-AE09-87E26F560003
+ 5415E441-A4F5-489B-B4E5-359CBB0BC04D
+ 078B43BF-6A9E-4558-B262-EABEBEF30F9B
+ 2721E2C3-66B7-4486-BF0F-6FA7B274858D
+ 028C538B-4B9C-4820-A284-2C8D5236FED7
+ 76F11AC6-D441-4059-A70A-E3BB739EE515
+ 0DE44657-21AB-4878-93E7-0FD458D8723A
+ CBC6DC68-6819-4905-A6F8-5CDE2FB9614B
+ 37D57B7A-8B55-4C9D-B19B-13000A65739B
+ 7322CD9C-1D5F-4369-9607-A0C564AD077A
+ 3586B543-C92E-4AEB-92A7-20D948EA60DF
+ EB4E1513-2FB7-4111-9430-2606178EA859
+ CA1AE93D-D724-43B0-A3CB-9E584126FB3C
+ 1020E025-E424-40C2-AC76-F90766397290
+ BF6A7ED6-28A0-4165-AA7A-F1F003161AE5
+ D2EAFC46-26B5-40BB-A4B7-8B10C856AF3B
+ 37221294-B588-4D07-9010-2DB7CDBEB6B4
+ 803BFB83-50E8-4121-9866-A25C93979E4B
+ BDF614B5-430B-46AB-B558-B5E0EF97BA17
+ B7E6E873-309E-41E6-AD8A-29EB54781579
+ 17BECED9-79B1-4CD6-9354-E528DA3327AC
+ 5714E730-271D-436E-86DC-04AB0E71ECE0
+ 61E9DF58-07F3-4B99-8B58-53D3049575F3
+ 618046BE-DF8E-489C-A8BC-24A15CF2AD7A
+ 17389BC4-0AF1-4993-B829-5CDC330A6D39
+ 8A274C79-422D-4553-B086-0B553BDABEC7
+ 823B366A-3A40-4875-8A2E-AB901F54D443
+ 13CDBA43-EAA4-4BCD-B9AA-A990B4974496
+ 202F9A01-9B67-4CBD-9289-EE6A98D091D7
+ 84F0B41A-06B1-4A61-98B7-F13D1321C3D0
+ 4E663D10-670D-4526-8848-0AC2666592C0
+ 665F3D21-16F5-40FF-8339-A9A101400D10
+ 0353A694-1EE5-46E0-AC72-2F1631B441CB
+ AB128FBD-1C3E-4FB4-91F5-48B57DC6860F
+ 023BD925-D6F2-4BE1-8973-8B90B3C8858E
+ 7E35FA7C-E390-41BA-A8C5-C1F3B4FAE6A1
+ 53AAABF9-D393-4E5B-83BD-0C4CB15DDCC1
+ 3CFAD67E-EE9F-49F9-B606-D414E73ED8F7
+ AC226362-749C-45C1-86A3-B58379A38A7E
+ 012C556B-6ACB-48F0-8757-CA2E60B06109
+ 0DF11CB4-2813-4CCB-94EA-4A62E25E9EDC
+ BAC66FCD-8C23-48B9-829B-56FE20CCC8E6
+ 92266396-CC97-4F53-B1D3-4DDFD924D8C8
+ 754B2EF6-85D2-4A93-996F-D6D9E8A27F1E
+ BFD8CE92-59C7-47B2-9AE4-1B29ADE3CA0B
+ 8E764E2C-244E-4A93-9C0D-5E25689D1C85
+ C553AAE6-C788-4B2C-A388-18312FC9828B
+ 23B521B1-6EA4-4E5D-9104-940CEDFDFD13
+ 1E598B7B-B754-4C52-B819-39897FE3E07D
+ AD1AB937-AFCD-4656-9882-788B9C6E0D74
+ 23289E12-7A1F-41A3-872C-3E867E696A49
+ 2E67996C-AB51-489A-A30D-D829DF17A7EF
+ 7AF6D08A-9FE4-46B9-8F16-2E26D45715CE
+ CA0CD4CC-D186-4448-8CB3-215E25951FDF
+ 2433B69B-6986-4260-97A3-DE23072D8BC6
+
+ name
+ WebControls
+
+
+
name
Prado
ordering
+ D2EAFC46-26B5-40BB-A4B7-8B10C856AF3B
3E75ACFD-E0F4-4564-9A24-DCB08AD6324D
DDC83EED-168F-4DEB-971D-84A2CF3CB38F
+ 1020E025-E424-40C2-AC76-F90766397290
+ 028C538B-4B9C-4820-A284-2C8D5236FED7
+ 8D8D94FD-7FD7-442F-A50E-A6A29A4267AE
+ CBC6DC68-6819-4905-A6F8-5CDE2FB9614B
+ EB4E1513-2FB7-4111-9430-2606178EA859
+ 37D57B7A-8B55-4C9D-B19B-13000A65739B
+ 7322CD9C-1D5F-4369-9607-A0C564AD077A
+ 77C53961-0D71-47BB-AE09-87E26F560003
94E9F86C-36D1-4D5C-808C-E379024299CD
+ 078B43BF-6A9E-4558-B262-EABEBEF30F9B
+ 5415E441-A4F5-489B-B4E5-359CBB0BC04D
2721E2C3-66B7-4486-BF0F-6FA7B274858D
AC226362-749C-45C1-86A3-B58379A38A7E
BFD8CE92-59C7-47B2-9AE4-1B29ADE3CA0B
--
cgit v1.2.3