From b916a00d0016119c3f0c140ac679e0ad242115ad Mon Sep 17 00:00:00 2001 From: rojaro <> Date: Mon, 2 Nov 2009 03:17:57 +0000 Subject: added old prado textmate bundle --- .gitattributes | 51 + .../Snippets/TActiveButton.tmSnippet | 17 + .../Snippets/TBulletedList.tmSnippet | 19 + .../Prado.tmbundle/Snippets/TButton.tmSnippet | 16 + .../Prado.tmbundle/Snippets/TCheckBox.tmSnippet | 16 + .../Snippets/TCheckBoxList.tmSnippet | 19 + .../Snippets/TCircleHotSpot.tmSnippet | 20 + .../Snippets/TCompareValidator.tmSnippet | 21 + .../Snippets/TCustomValidator.tmSnippet | 20 + .../Prado.tmbundle/Snippets/TDatePicker.tmSnippet | 16 + .../Snippets/TDropDownList.tmSnippet | 19 + .../Snippets/TEmailAddressValidator.tmSnippet | 18 + .../Prado.tmbundle/Snippets/TExpression.tmSnippet | 16 + .../Prado.tmbundle/Snippets/TFileUpload.tmSnippet | 16 + .../Prado.tmbundle/Snippets/TForm.tmSnippet | 18 + .../Prado.tmbundle/Snippets/THtmlArea.tmSnippet | 16 + .../Prado.tmbundle/Snippets/THyperLink.tmSnippet | 16 + .../Prado.tmbundle/Snippets/TImage.tmSnippet | 16 + .../Snippets/TImageButton copy.tmSnippet | 16 + .../Prado.tmbundle/Snippets/TImageMap.tmSnippet | 26 + .../Prado.tmbundle/Snippets/TInlineFrame.tmSnippet | 16 + .../Snippets/TJavascriptLogger.tmSnippet | 16 + .../Prado.tmbundle/Snippets/TLabel.tmSnippet | 16 + .../Prado.tmbundle/Snippets/TListBox.tmSnippet | 19 + .../Snippets/TListControlValidator.tmSnippet | 20 + .../Prado.tmbundle/Snippets/TListItem.tmSnippet | 16 + .../Prado.tmbundle/Snippets/TMultiView.tmSnippet | 23 + .../Prado.tmbundle/Snippets/TPanel.tmSnippet | 18 + .../Prado.tmbundle/Snippets/TPlaceHolder.tmSnippet | 16 + .../Snippets/TPolygonHotSpot.tmSnippet | 20 + .../Prado.tmbundle/Snippets/TRadioButton.tmSnippet | 16 + .../Snippets/TRadioButtonList.tmSnippet | 19 + .../Snippets/TRangeValidator.tmSnippet | 21 + .../Snippets/TRectangleHotSpot.tmSnippet | 20 + .../Snippets/TRegularExpressionValidator.tmSnippet | 19 + .../Snippets/TRequiredFieldValidator.tmSnippet | 18 + .../Snippets/TTabelFooterRow.tmSnippet | 18 + .../Prado.tmbundle/Snippets/TTable.tmSnippet | 25 + .../Prado.tmbundle/Snippets/TTableCell.tmSnippet | 16 + .../Snippets/TTableHeaderCell.tmSnippet | 16 + .../Snippets/TTableHeaderRow.tmSnippet | 19 + .../Prado.tmbundle/Snippets/TTableRow.tmSnippet | 19 + .../Prado.tmbundle/Snippets/TTextBox.tmSnippet | 16 + .../Snippets/TValidationSummary.tmSnippet | 18 + .../Prado.tmbundle/Snippets/TView.tmSnippet | 18 + .../Prado.tmbundle/Snippets/TWizard.tmSnippet | 28 + .../Prado.tmbundle/Snippets/TWizardStep.tmSnippet | 18 + .../Prado.tmbundle/Snippets/untitled 2.tmSnippet | 20 + .../Prado.tmbundle/Snippets/untitled.tmSnippet | 18 + .../Prado.tmbundle/Syntaxes/Prado PHP.tmLanguage | 1261 ++++++++++++++++++++ .../Syntaxes/Prado Template copy.tmLanguage | 670 +++++++++++ editors/Textmate/Prado.tmbundle/info.plist | 70 ++ 52 files changed, 2935 insertions(+) create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TActiveButton.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TBulletedList.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TButton.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TCheckBox.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TCheckBoxList.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TCircleHotSpot.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TCompareValidator.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TCustomValidator.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TDatePicker.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TDropDownList.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TEmailAddressValidator.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TExpression.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TFileUpload.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TForm.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/THtmlArea.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/THyperLink.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TImage.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TImageButton copy.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TImageMap.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TInlineFrame.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TJavascriptLogger.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TLabel.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TListBox.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TListControlValidator.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TListItem.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TMultiView.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TPanel.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TPlaceHolder.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TPolygonHotSpot.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TRadioButton.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TRadioButtonList.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TRangeValidator.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TRectangleHotSpot.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TRegularExpressionValidator.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TRequiredFieldValidator.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TTabelFooterRow.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TTable.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TTableCell.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TTableHeaderCell.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TTableHeaderRow.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TTableRow.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TTextBox.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TValidationSummary.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TView.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TWizard.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/TWizardStep.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/untitled 2.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Snippets/untitled.tmSnippet create mode 100644 editors/Textmate/Prado.tmbundle/Syntaxes/Prado PHP.tmLanguage create mode 100644 editors/Textmate/Prado.tmbundle/Syntaxes/Prado Template copy.tmLanguage create mode 100644 editors/Textmate/Prado.tmbundle/info.plist diff --git a/.gitattributes b/.gitattributes index e44dfaa9..ed889a14 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2038,6 +2038,57 @@ 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/TActiveButton.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TBulletedList.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TButton.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TCheckBox.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TCheckBoxList.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TCircleHotSpot.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TCompareValidator.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TCustomValidator.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TDatePicker.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TDropDownList.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 +editors/Textmate/Prado.tmbundle/Snippets/TForm.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/THtmlArea.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/THyperLink.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TImage.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TImageButton[!!-~]copy.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TImageMap.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TInlineFrame.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TJavascriptLogger.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TLabel.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TListBox.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TListControlValidator.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TListItem.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TMultiView.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TPanel.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TPlaceHolder.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TPolygonHotSpot.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TRadioButton.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TRadioButtonList.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TRangeValidator.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TRectangleHotSpot.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TRegularExpressionValidator.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TRequiredFieldValidator.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TTabelFooterRow.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TTable.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TTableCell.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TTableHeaderCell.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TTableHeaderRow.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TTableRow.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TTextBox.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TValidationSummary.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TView.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TWizard.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/TWizardStep.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/untitled[!!-~]2.tmSnippet -text +editors/Textmate/Prado.tmbundle/Snippets/untitled.tmSnippet -text +editors/Textmate/Prado.tmbundle/Syntaxes/Prado[!!-~]PHP.tmLanguage -text +editors/Textmate/Prado.tmbundle/Syntaxes/Prado[!!-~]Template[!!-~]copy.tmLanguage -text +editors/Textmate/Prado.tmbundle/info.plist -text framework/.htaccess -text framework/3rdParty/FirePHPCore/FirePHP.class.php eol=lf framework/3rdParty/FirePHPCore/FirePHP.class.php4 -text diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveButton.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveButton.tmSnippet new file mode 100644 index 00000000..7a7bbbbc --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveButton.tmSnippet @@ -0,0 +1,17 @@ + + + + + content + <com:TActiveButton ID="${2:button1}" Text="${3:Button 1}" + OnClick="${5:$2_onclick}" OnCallback="${6:$2_oncallback}" />$0 + name + TActiveButton + scope + text.html + tabTrigger + TActiveButton + uuid + 319D66FC-712A-4B09-A1C0-CB741ED9DD4C + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TBulletedList.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TBulletedList.tmSnippet new file mode 100644 index 00000000..0587cd5d --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TBulletedList.tmSnippet @@ -0,0 +1,19 @@ + + + + + content + <com:TBulletedList ID="${1:bulletedList1}"> + ${2:<com:TListItem Value="${3:value 1}" Text="${4:item 1}" /> + <com:TListItem Value="${5:value 2}" Text="${6:item 2}" />}$0 +</com:TBulletedList> + name + TBulletedList + scope + text.html + tabTrigger + TBulletedList + uuid + 110FCD3F-841C-4178-99D8-765C7D382F7D + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TButton.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TButton.tmSnippet new file mode 100644 index 00000000..1b3dab84 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TButton.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TButton ID="${1:button1}" Text="${2:Button Text}" OnClick="${3:${1}_Clicked}" />$0 + name + TButton + scope + text.html + tabTrigger + TButton + uuid + 94E9F86C-36D1-4D5C-808C-E379024299CD + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TCheckBox.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TCheckBox.tmSnippet new file mode 100644 index 00000000..410bca4c --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TCheckBox.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TCheckBox ID="${1:checkBox1}" Text="${2:CheckBox Text}" />$0 + name + TCheckBox + scope + text.html + tabTrigger + TCheckBox + uuid + 2721E2C3-66B7-4486-BF0F-6FA7B274858D + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TCheckBoxList.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TCheckBoxList.tmSnippet new file mode 100644 index 00000000..0534c429 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TCheckBoxList.tmSnippet @@ -0,0 +1,19 @@ + + + + + content + <com:TCheckBoxList ID="${1:checkBoxList1}"> + ${2:<com:TListItem Value="${3:value 1}" Text="${4:item 1}" /> + <com:TListItem Value="${5:value 2}" Text="${6:item 2}" />}$0 +</com:TCheckBoxList> + name + TCheckBoxList + scope + text.html + tabTrigger + TCheckBoxList + uuid + 76F11AC6-D441-4059-A70A-E3BB739EE515 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TCircleHotSpot.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TCircleHotSpot.tmSnippet new file mode 100644 index 00000000..8881dc8d --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TCircleHotSpot.tmSnippet @@ -0,0 +1,20 @@ + + + + + content + <com:TTCircleHotSpot + ${1:HotspotMode="${2:Navigate}" + NavigateUrl="${3:http://www.pradosoft.com}"} + AlternateText="${4:Navigate to pradosoft.com}" + X="${5:80}" Y="${6:80}" Radius="${7:55}" />$0 + name + TCircleHotSpot (THotSpot) + scope + text.html + tabTrigger + THotSpot + uuid + 0DE44657-21AB-4878-93E7-0FD458D8723A + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TCompareValidator.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TCompareValidator.tmSnippet new file mode 100644 index 00000000..a80d8465 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TCompareValidator.tmSnippet @@ -0,0 +1,21 @@ + + + + + content + <com:TCompareValidator + ControlToValidate="${1:controlIDToValidate}" + ${2:ControlToCompare="${3:controlIDToCompareWith}" + DataType="${4:String}" + Operator="${5:Equal}"} + ErrorMessage="${6:value did not match}" />$0 + name + TCompareValidator (TValidator) + scope + text.html + tabTrigger + TValidator + uuid + 3586B543-C92E-4AEB-92A7-20D948EA60DF + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TCustomValidator.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TCustomValidator.tmSnippet new file mode 100644 index 00000000..e543353e --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TCustomValidator.tmSnippet @@ -0,0 +1,20 @@ + + + + + content + <com:TCustomValidator + ControlToValidate="${1:controlIDToValidate}" + OnServerValidate="${2:customValidate}"${3: + ClientValidationFunction="${4:clientSideCustomValidate}"} + ErrorMessage="${6:required}" />$0 + name + TCustomValidator (TValidator) + scope + text.html + tabTrigger + TValidator + uuid + BF6A7ED6-28A0-4165-AA7A-F1F003161AE5 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TDatePicker.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TDatePicker.tmSnippet new file mode 100644 index 00000000..ceb262b7 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TDatePicker.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TDatePicker ID="${1:datePicker1}" DateFormat="${2:dd/MM/yyyy}" ${3:InputMode="${4:DropDownList}"} />$0 + name + TDatePicker + scope + text.html + tabTrigger + TDatePicker + uuid + 37221294-B588-4D07-9010-2DB7CDBEB6B4 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TDropDownList.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TDropDownList.tmSnippet new file mode 100644 index 00000000..581d4ed0 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TDropDownList.tmSnippet @@ -0,0 +1,19 @@ + + + + + content + <com:TDropDownList ID="${1:dropDownList1}"> + ${2:<com:TListItem Value="${3:value 1}" Text="${4:item 1}" /> + <com:TListItem Value="${5:value 2}" Text="${6:item 2}" />}$0 +</com:TDropDownList> + name + TDropDownList + scope + text.html + tabTrigger + TDropDownList + uuid + 803BFB83-50E8-4121-9866-A25C93979E4B + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TEmailAddressValidator.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TEmailAddressValidator.tmSnippet new file mode 100644 index 00000000..fc2dcf61 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TEmailAddressValidator.tmSnippet @@ -0,0 +1,18 @@ + + + + + content + <com:TEmailAddressValidator + ControlToValidate="${1:controlIDToValidate}" + ErrorMessage="${2:email address required}" />$0 + name + TEmailAddressValidator (TValidator) + scope + text.html + tabTrigger + TValidator + uuid + BDF614B5-430B-46AB-B558-B5E0EF97BA17 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TExpression.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TExpression.tmSnippet new file mode 100644 index 00000000..0abab172 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TExpression.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TExpression Expression="${1:\$this->Page->Title}" />$0 + name + TExpression + scope + text.html + tabTrigger + TExpression + uuid + B7E6E873-309E-41E6-AD8A-29EB54781579 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TFileUpload.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TFileUpload.tmSnippet new file mode 100644 index 00000000..31cabd1e --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TFileUpload.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TFileUpload ID="${1:file1}" OnFileUpload="${2:${1}_Uploaded}" />$0 + name + TFileUpload + scope + text.html + tabTrigger + TFileUpload + uuid + 17BECED9-79B1-4CD6-9354-E528DA3327AC + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TForm.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TForm.tmSnippet new file mode 100644 index 00000000..f6041099 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TForm.tmSnippet @@ -0,0 +1,18 @@ + + + + + content + <com:TForm ${1:ID="${2:form1}"}> + $0 +</com:TForm> + name + TForm + scope + text.html + tabTrigger + TForm + uuid + 5714E730-271D-436E-86DC-04AB0E71ECE0 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/THtmlArea.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/THtmlArea.tmSnippet new file mode 100644 index 00000000..75030941 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/THtmlArea.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:THtmlArea ID="${1:htmlArea1}" Width="${2:500px}" Height="${3:250px}" />$0 + name + THtmlArea + scope + text.html + tabTrigger + THtmlArea + uuid + 61E9DF58-07F3-4B99-8B58-53D3049575F3 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/THyperLink.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/THyperLink.tmSnippet new file mode 100644 index 00000000..0c1991e3 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/THyperLink.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:THyperLink NavigateUrl="${1:http://www.pradosoft.com/}" Text="${2:PradoSoft.com}" />$0 + name + THyperLink + scope + text.html + tabTrigger + THyperLink + uuid + 618046BE-DF8E-489C-A8BC-24A15CF2AD7A + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TImage.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TImage.tmSnippet new file mode 100644 index 00000000..0d66e1f7 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TImage.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TImage ImageUrl=<%~ ${1:hello_world.gif} %> AlternateText="${1}" />$0 + name + TImage + scope + text.html + tabTrigger + TImage + uuid + 17389BC4-0AF1-4993-B829-5CDC330A6D39 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TImageButton copy.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TImageButton copy.tmSnippet new file mode 100644 index 00000000..ca1a3297 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TImageButton copy.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/TImageMap.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TImageMap.tmSnippet new file mode 100644 index 00000000..8e307925 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TImageMap.tmSnippet @@ -0,0 +1,26 @@ + + + + + content + <com:TImageMap + ID="${1:imageMap1}" + ImageUrl=<%~ ${2:hotspots.gif} %> + AlternateText="${3:${1}}" + OnClick="${4:${1}_Clicked}"> +${5:<com:TTCircleHotSpot + ${6:HotspotMode="${7:Navigate}" + NavigateUrl="${8:http://www.pradosoft.com}"} + AlternateText="${9:Navigate to pradosoft.com}" + X="${10:80}" Y="${11:80}" Radius="${12:55}" />}$0 +</com:TImageMap> + name + TImageMap + scope + text.html + tabTrigger + TImageMap + uuid + 823B366A-3A40-4875-8A2E-AB901F54D443 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TInlineFrame.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TInlineFrame.tmSnippet new file mode 100644 index 00000000..766c1cb5 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TInlineFrame.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TInlineFrame FrameUrl="${1:http://www.google.com/}" />$0 + name + TInlineFrame + scope + text.html + tabTrigger + TInlineFrame + uuid + 13CDBA43-EAA4-4BCD-B9AA-A990B4974496 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TJavascriptLogger.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TJavascriptLogger.tmSnippet new file mode 100644 index 00000000..5b1fc674 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TJavascriptLogger.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TJavascriptLogger />$0 + name + TJavascriptLogger + scope + text.html + tabTrigger + TJavascriptLogger + uuid + 202F9A01-9B67-4CBD-9289-EE6A98D091D7 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TLabel.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TLabel.tmSnippet new file mode 100644 index 00000000..398c99a2 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TLabel.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TLabel ID="${1:label1}" ${2:Text="${3:Label 1}"} />$0 + name + TLabel + scope + text.html + tabTrigger + TLabel + uuid + 84F0B41A-06B1-4A61-98B7-F13D1321C3D0 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TListBox.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TListBox.tmSnippet new file mode 100644 index 00000000..a450881e --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TListBox.tmSnippet @@ -0,0 +1,19 @@ + + + + + content + <com:TListBox 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:TListBox> + name + TListBox + scope + text.html + tabTrigger + TListBox + uuid + 665F3D21-16F5-40FF-8339-A9A101400D10 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TListControlValidator.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TListControlValidator.tmSnippet new file mode 100644 index 00000000..db2798fe --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TListControlValidator.tmSnippet @@ -0,0 +1,20 @@ + + + + + content + <com:TListControlValidator + ControlToValidate="${1:controlIDToValidate}" + MinSelection="${2:2}"${3: + RequiredSelection="${4:value1}"} + ErrorMessage="${6:selection required}" />$0 + name + TListControlValidator (TValidator) + scope + text.html + tabTrigger + TValidator + uuid + 0353A694-1EE5-46E0-AC72-2F1631B441CB + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TListItem.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TListItem.tmSnippet new file mode 100644 index 00000000..b8337ff9 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TListItem.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TListItem Value="${1:value 1}" Text="${2:item 1}" />$0 + name + TListItem + scope + text.html + tabTrigger + TListItem + uuid + AB128FBD-1C3E-4FB4-91F5-48B57DC6860F + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TMultiView.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TMultiView.tmSnippet new file mode 100644 index 00000000..91812be3 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TMultiView.tmSnippet @@ -0,0 +1,23 @@ + + + + + content + <com:TMultiView 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:TMultiView> + name + TMultiView + scope + text.html + tabTrigger + TMultiView + uuid + 023BD925-D6F2-4BE1-8973-8B90B3C8858E + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TPanel.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TPanel.tmSnippet new file mode 100644 index 00000000..b0a3635c --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TPanel.tmSnippet @@ -0,0 +1,18 @@ + + + + + content + <com:TPanel ID="${1:panel1}"> + $0 +</com:TPanel> + name + TPanel + scope + text.html + tabTrigger + TPanel + uuid + 7E35FA7C-E390-41BA-A8C5-C1F3B4FAE6A1 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TPlaceHolder.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TPlaceHolder.tmSnippet new file mode 100644 index 00000000..9a26b67f --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TPlaceHolder.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TPlaceHolder ID="${1:placeHolder1}" />$0 + name + TPlaceHolder + scope + text.html + tabTrigger + TPlaceHolder + uuid + 53AAABF9-D393-4E5B-83BD-0C4CB15DDCC1 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TPolygonHotSpot.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TPolygonHotSpot.tmSnippet new file mode 100644 index 00000000..d2dfec33 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TPolygonHotSpot.tmSnippet @@ -0,0 +1,20 @@ + + + + + content + <com:TPolygonHotSpot + ${1:HotspotMode="${2:Navigate}" + NavigateUrl="${3:http://www.pradosoft.com}"} + AlternateText="${4:Navigate to pradosoft.com}" + Coordinates="${5:200,137,255}" />$0 + name + TPolygonHotSpot (THotSpot) + scope + text.html + tabTrigger + THotSpot + uuid + 3CFAD67E-EE9F-49F9-B606-D414E73ED8F7 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TRadioButton.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TRadioButton.tmSnippet new file mode 100644 index 00000000..7c77bd67 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TRadioButton.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TRadioButton ID="${1:radioButton1}" Text="${2:RadioButton Text}" />$0 + name + TRadioButton + scope + text.html + tabTrigger + TRadioButton + uuid + AC226362-749C-45C1-86A3-B58379A38A7E + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TRadioButtonList.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TRadioButtonList.tmSnippet new file mode 100644 index 00000000..df6c7ff3 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TRadioButtonList.tmSnippet @@ -0,0 +1,19 @@ + + + + + content + <com:TRadioButtonList ID="${1:radioButtonList1}"> + ${2:<com:TListItem Value="${3:value 1}" Text="${4:item 1}" /> + <com:TListItem Value="${5:value 2}" Text="${6:item 2}" />}$0 +</com:TRadioButtonList> + name + TRadioButtonList + scope + text.html + tabTrigger + TRadioButtonList + uuid + 012C556B-6ACB-48F0-8757-CA2E60B06109 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TRangeValidator.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TRangeValidator.tmSnippet new file mode 100644 index 00000000..c1817894 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TRangeValidator.tmSnippet @@ -0,0 +1,21 @@ + + + + + content + <com:TRangeValidator + ControlToValidate="${1:controlIDToValidate}" + DataType="${2:Integer}" + ${3:MinValue="${4:2}"} + ${5:MaxValue="${6:5}"} + ErrorMessage="${7:out of range}" />$0 + name + TRangeValidator (TValidator) + scope + text.html + tabTrigger + TValidator + uuid + 0DF11CB4-2813-4CCB-94EA-4A62E25E9EDC + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TRectangleHotSpot.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TRectangleHotSpot.tmSnippet new file mode 100644 index 00000000..f0d8c70e --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TRectangleHotSpot.tmSnippet @@ -0,0 +1,20 @@ + + + + + content + <com:TRectangleHotSpot + ${1:HotspotMode="${2:Navigate}" + NavigateUrl="${3:http://www.pradosoft.com}"} + AlternateText="${4:Navigate to pradosoft.com}" + Top="${5:10}" Left="${6:10}" Bottom="${7:110}" Right="${8:110}" />$0 + name + TRectangleHotSpot (THotSpot) + scope + text.html + tabTrigger + THotSpot + uuid + BAC66FCD-8C23-48B9-829B-56FE20CCC8E6 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TRegularExpressionValidator.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TRegularExpressionValidator.tmSnippet new file mode 100644 index 00000000..7d072e95 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TRegularExpressionValidator.tmSnippet @@ -0,0 +1,19 @@ + + + + + content + <com:TRegularExpressionValidator + ControlToValidate="${1:controlIDToValidate}" + RegularExpression="${2:\w{5,\}}" + ErrorMessage="${7:mismatch}" />$0 + name + TRegularExpressionValidator (TValidator) + scope + text.html + tabTrigger + TValidator + uuid + 92266396-CC97-4F53-B1D3-4DDFD924D8C8 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TRequiredFieldValidator.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TRequiredFieldValidator.tmSnippet new file mode 100644 index 00000000..f9f504ae --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TRequiredFieldValidator.tmSnippet @@ -0,0 +1,18 @@ + + + + + content + <com:TRequiredFieldValidator + ControlToValidate="${1:controlIDToValidate}" + ErrorMessage="${2:required}" />$0 + name + TRequiredFieldValidator (TValidator) + scope + text.html + tabTrigger + TValidator + uuid + 754B2EF6-85D2-4A93-996F-D6D9E8A27F1E + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TTabelFooterRow.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TTabelFooterRow.tmSnippet new file mode 100644 index 00000000..620f7adf --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TTabelFooterRow.tmSnippet @@ -0,0 +1,18 @@ + + + + + content + <com:TTableFooterRow> + $0 +</com:TTableFooterRow> + name + TTabelFooterRow + scope + text.html + tabTrigger + TTableFooterRow + uuid + 23B521B1-6EA4-4E5D-9104-940CEDFDFD13 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TTable.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TTable.tmSnippet new file mode 100644 index 00000000..1b4ccc4c --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TTable.tmSnippet @@ -0,0 +1,25 @@ + + + + + content + <com:TTable> + ${1:<com:TTableRow> + <com:TTableHeaderCell Text="${2:header cell 1}" /> + <com:TTableHeaderCell Text="${3:header cell 2}" /> + </com:TTableRow> + <com:TTableRow> + <com:TTableCell>${4:cell 1}</com:TTableCell> + <com:TTableCell>${5:cell 2}$0</com:TTableCell> + </com:TTableRow>} +</com:TTable> + name + TTable + scope + text.html + tabTrigger + TTable + uuid + BFD8CE92-59C7-47B2-9AE4-1B29ADE3CA0B + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TTableCell.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TTableCell.tmSnippet new file mode 100644 index 00000000..9d0e54d1 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TTableCell.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TTableCell>${1:cell 1}</com:TTableCell>$0 + name + TTableCell + scope + text.html + tabTrigger + TTableCell + uuid + 1E598B7B-B754-4C52-B819-39897FE3E07D + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TTableHeaderCell.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TTableHeaderCell.tmSnippet new file mode 100644 index 00000000..5447f324 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TTableHeaderCell.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TTableHeaderCell Text="${1:header text 1}" />$0 + name + TTableHeaderCell + scope + text.html + tabTrigger + TTableHeaderCell + uuid + AD1AB937-AFCD-4656-9882-788B9C6E0D74 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TTableHeaderRow.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TTableHeaderRow.tmSnippet new file mode 100644 index 00000000..774195cc --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TTableHeaderRow.tmSnippet @@ -0,0 +1,19 @@ + + + + + content + <com:TTableHeaderRow> + ${1:<com:TTableHeaderCell Text="${2:header cell 1}" /> + <com:TTableHeaderCell Text="${3:header cell 2}" />}$0 +</com:TTableHeaderRow> + name + TTableHeaderRow + scope + text.html + tabTrigger + TTableHeaderRow + uuid + C553AAE6-C788-4B2C-A388-18312FC9828B + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TTableRow.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TTableRow.tmSnippet new file mode 100644 index 00000000..b40a11a9 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TTableRow.tmSnippet @@ -0,0 +1,19 @@ + + + + + content + <com:TTableRow> + ${1:<com:TTableCell>${2:cell 1}</com:TTableCell> + <com:TTableCell>${3:cell 2}</com:TTableCell>}$0 +</com:TTableRow> + name + TTableRow + scope + text.html + tabTrigger + TTableRow + uuid + 8E764E2C-244E-4A93-9C0D-5E25689D1C85 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TTextBox.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TTextBox.tmSnippet new file mode 100644 index 00000000..030eacb3 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TTextBox.tmSnippet @@ -0,0 +1,16 @@ + + + + + content + <com:TTextBox ID="${1:textbox1}" />$0 + name + TTextBox + scope + text.html + tabTrigger + TTextBox + uuid + 23289E12-7A1F-41A3-872C-3E867E696A49 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TValidationSummary.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TValidationSummary.tmSnippet new file mode 100644 index 00000000..4c494b49 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TValidationSummary.tmSnippet @@ -0,0 +1,18 @@ + + + + + content + <com:TValidationSummary + HeaderText="${1:Validation error}" + Display="${2:Dynamic}" />$0 + name + TValidationSummary + scope + text.html + tabTrigger + TValidationSummary + uuid + 2E67996C-AB51-489A-A30D-D829DF17A7EF + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TView.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TView.tmSnippet new file mode 100644 index 00000000..d4861a4e --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TView.tmSnippet @@ -0,0 +1,18 @@ + + + + + content + <com:TView ID="${1:view1}"> + ${0:<!-- ${1} content -->} +</com:TView> + name + TView + scope + text.html + tabTrigger + TView + uuid + 7AF6D08A-9FE4-46B9-8F16-2E26D45715CE + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TWizard.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TWizard.tmSnippet new file mode 100644 index 00000000..f2c354eb --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TWizard.tmSnippet @@ -0,0 +1,28 @@ + + + + + content + <com:TWizard> + ${1:<com:TWizardStep Title="${2:step 1}" StepType="Start"> + ${3:content in step 1, may contain other controls} + </com:TWizardStep> + + <com:TWizardStep Title="${4:step 2}" StepType="Step"> + ${5:content in step 2, may contain other controls} + </com:TWizardStep> + + <com:TWizardStep Title="${6:finish step}" StepType="Finish"> + ${7:content in finish step, may contain other controls} + </com:TWizardStep>}$0 +</com:TWizard> + name + TWizard + scope + text.html + tabTrigger + TWizard + uuid + CA0CD4CC-D186-4448-8CB3-215E25951FDF + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TWizardStep.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TWizardStep.tmSnippet new file mode 100644 index 00000000..9412ed9b --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TWizardStep.tmSnippet @@ -0,0 +1,18 @@ + + + + + content + <com:TWizardStep Title="${1:step 1}" StepType="${2:Step}"> + $0 +</com:TWizardStep> + name + TWizardStep + scope + text.html + tabTrigger + TWizardStep + uuid + 2433B69B-6986-4260-97A3-DE23072D8BC6 + + diff --git a/editors/Textmate/Prado.tmbundle/Snippets/untitled 2.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/untitled 2.tmSnippet new file mode 100644 index 00000000..74f24624 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/untitled 2.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/untitled.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/untitled.tmSnippet new file mode 100644 index 00000000..82aa3a25 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/untitled.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/Syntaxes/Prado PHP.tmLanguage b/editors/Textmate/Prado.tmbundle/Syntaxes/Prado PHP.tmLanguage new file mode 100644 index 00000000..b2ed6da0 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Syntaxes/Prado PHP.tmLanguage @@ -0,0 +1,1261 @@ + + + + + firstLineMatch + ^#!.*php[0-9]{0,1}\b + foldingStartMarker + (/\*|\{\s*$|<<<HTML) + foldingStopMarker + (\*/|^\s*\}|^HTML;) + name + Prado PHP + patterns + + + begin + (<%(=|#|%)) + captures + + 1 + + name + constant.prado.php.tag + + + end + (%>) + name + variable.prado.php + patterns + + + match + #.*?(?=\?>) + name + comment.line.number-sign.php + + + match + //.*?(?=\?>) + name + comment.line.double-slash.php + + + include + #language + + + + + repository + + language + + patterns + + + begin + (<<<HTML) + captures + + 1 + + name + keyword.other.heredoc + + + contentName + text.html.basic.embedded + end + ^(HTML); + name + meta.scope.heredoc + patterns + + + include + text.html.basic + + + include + #var_global + + + include + #var_global_safer + + + include + #var_basic + + + include + #var_complex_string_heredoc + + + + + begin + (<<<XML) + captures + + 1 + + name + keyword.other.heredoc + + + contentName + text.xml.embedded + end + ^(XML); + name + meta.scope.heredoc + patterns + + + include + text.xml + + + include + #var_global + + + include + #var_global_safer + + + include + #var_basic + + + include + #var_complex_string_heredoc + + + + + begin + (<<<SQL) + captures + + 1 + + name + keyword.other.heredoc + + + contentName + source.sql.embedded + end + ^(SQL); + name + meta.scope.heredoc + patterns + + + include + source.sql + + + include + #var_global + + + include + #var_global_safer + + + include + #var_basic + + + include + #var_complex_string_heredoc + + + + + begin + /\* + end + \*/ + name + comment.block.php + patterns + + + match + \@(a(ccess|uthor)|c(ategory|opyright)|global|link|pa(ckage|ram)|return|s(ee|ince|tatic|ubpackage)|t(hrows|odo)|v(ar|ersion))\b + name + keyword.other.phpdoc.php + + + + + match + //.*$\n? + name + comment.line.double-slash.php + + + match + #.*$\n? + name + comment.line.number-sign.php + + + begin + ^\s*(interface)\s+([a-zA-Z0-9_]+)\s*(extends)?\s* + beginCaptures + + 1 + + name + storage.type.interface.php + + 2 + + name + entity.name.type.interface.php + + 3 + + name + storage.modifier.extends.php + + + end + $ + name + meta.interface.php + patterns + + + match + [a-zA-Z0-9_]+ + name + entity.other.inherited-class.php + + + + + begin + ^\s*(abstract)?\s*(class)\s+([a-zA-Z0-9_]+)\s* + beginCaptures + + 1 + + name + storage.modifier.abstract.php + + 2 + + name + storage.type.class.php + + 3 + + name + entity.name.type.class.php + + + end + $ + name + meta.class.php + patterns + + + captures + + 1 + + name + storage.modifier.extends.php + + 2 + + name + entity.other.inherited-class.php + + + match + (extends)\s+([a-zA-Z0-9_]+)\s* + + + begin + (implements)\s+([a-zA-Z0-9_]+)\s* + beginCaptures + + 1 + + name + storage.modifier.implements.php + + 2 + + name + support.class.implements.php + + + end + (?=\s*\bextends)|$ + patterns + + + captures + + 1 + + name + support.class.implements.php + + + match + ,\s*([a-zA-Z0-9_]+)\s* + + + + + + + match + \b(break|c(ase|ontinue)|d(e(clare|fault)|ie|o)|e(lse(if)?|nd(declare|for(each)?|if|switch|while)|xit)|for(each)?|if|return|switch|use|while)\b + name + keyword.control.php + + + match + \b(require|include)(_once)?\b + name + keyword.control.import.include.php + + + match + \b(catch|try|throw|exception)|([a-zA-Z_]*Exception)\b + name + keyword.control.exception.php + + + begin + (?:^\s*)((?:(?:final|abstract|public|private|protected|static)\s+)*)(function)\s*([&a-zA-Z0-9_]+)\s*\( + captures + + 1 + + name + storage.modifier.php + + 2 + + name + storage.type.function.php + + 3 + + name + entity.name.function.php + + + end + \) + name + meta.function.php + patterns + + + include + #string-double-quoted + + + include + #string-single-quoted + + + include + #var_global + + + include + #var_global_safer + + + include + #var_basic + + + include + #language_constant + + + + + captures + + 1 + + name + storage.modifier.abstract.php + + 2 + + name + storage.modifier.class-or-interface.php + + 3 + + name + entity.name.type.class.php + + 4 + + name + entity.other.inherited-class.php + + + match + (?:^\s*)(abstract)?\s*(class|interface)\s+([a-zA-Z0-9_]+)\s*(extends\s+([a-zA-Z0-9_]+))? + name + meta.class.php + + + match + \b(class|clone|var|function|interface|new|parent|self|__(autoload|c(all|lone|onstruct)|destruct|get|set|sleep|toString|wakeup))\b + name + storage.type.php + + + match + \b(abstract|const|extends|implements|final|p(r(ivate|otected)|ublic)|static)\b + name + storage.modifier.php + + + match + ::|-> + name + keyword.operator.php + + + match + \b(apache_(child_terminate|get(env|_(modules|version))|lookup_uri|note|re(quest_headers|set_timeout|sponse_headers)|setenv)|ascii2ebcdic|ebcdic2ascii|getallheaders|virtual)\b + name + support.function.apache.php + + + match + (=>)|\b(array(|_(c(h(ange_key_case|unk)|ombine|ount_values)|diff(|_(assoc|key|uassoc|ukey))|f(il(l|ter)|lip)|intersect(|_(assoc|key|uassoc|ukey))|key(s|_exists)|m(ap|erge(|_recursive)|ultisort)|p(ad|op|ush)|r(and|educe|everse)|s(earch|hift|lice|plice|um)|u(diff(|_(assoc|uassoc))|intersect(|_(assoc|uassoc))|nique|nshift)|values|walk(|_recursive)))|a(rsort|sort)|c(o(mpact|unt)|urrent)|e(ach|nd|xtract)|in_array|k(ey|rsort|sort)|list|n(at(casesort|sort)|ext)|p(os|rev)|r(ange|eset|sort)|s(huffle|izeof|ort)|u(asort|ksort|sort))\b + name + support.function.array.php + + + match + \b(bc(add|comp|div|mod|mul|pow(|mod)|scale|sqrt|sub))\b + name + support.function.bc.php + + + match + \b(bz(close|compress|decompress|err(no|or|str)|flush|open|read|write))\b + name + support.function.bzip2.php + + + match + \b(cal_(days_in_month|from_jd|info|to_jd)|easter_(date|days)|FrenchToJD|GregorianToJD|JD(DayOfWeek|MonthName|ToFrench|ToGregorian|ToJulian)|jdto(jewish|unix)|JewishToJD|JulianToJD|unixtojd)\b + name + support.function.calendar.php + + + match + \b(classkit_(import|method_(add|copy|redefine|remove|rename)))\b + name + support.function.classkit.php + + + match + \b(call_user_method(|_array)|class_exists|get_(class(|_methods|_vars)|declared_(classes|interfaces)|object_vars|parent_class)|interface_exists|is_(a|subclass_of)|method_exists)\b + name + support.function.classobj.php + + + match + \b(cpdf_(add_(annotation|outline)|arc|begin_text|circle|clip|close(|path(|_fill_stroke|_stroke))|continue_text|curveto|end_text|fill(|_stroke)|finalize(|_page)|global_set_document_limits|import_jpeg|lineto|moveto|newpath|open|output_buffer|page_init|place_inline_image|rect|restore|rlineto|rmoveto|rotate(|_text)|save(|_to_file)|scale|set(dash|flat|gray(|_fill|_stroke)|line(cap|join|width)|miterlimit|rgbcolor(|_fill|_stroke)|_action_url|_char_spacing|_creator|_current_page|_font(|_directories|_map_file)|_horiz_scaling|_keywords|_leading|_page_animation|_subject|_text_(matrix|pos|rendering|rise)|_title|_viewer_preferences|_word_spacing)|show(|_xy)|stringwidth|stroke|text|translate))\b + name + support.function.cpdf.php + + + match + \b(crack_(check|closedict|getlastmessage|opendict))\b + name + support.function.crack.php + + + match + \b(ctype_(al(num|pha)|cntrl|digit|graph|lower|print|punct|space|upper|xdigit))\b + name + support.function.ctype.php + + + match + \b(curl_(close|copy_handle|err(no|or)|exec|getinfo|init|multi_(add_handle|close|exec|getcontent|info_read|init|remove_handle|select)|setopt|version))\b + name + support.function.curl.php + + + match + \b(cyrus_(authenticate|bind|close|connect|query|unbind))\b + name + support.function.cyrus.php + + + match + \b(checkdate|date(|_sunrise|_sunset)|get(date|timeofday)|gm(date|mktime|strftime)|idate|localtime|microtime|mktime|str(ftime|ptime|totime)|time)\b + name + support.function.datetime.php + + + match + \b(dba_(close|delete|exists|fetch|firstkey|handlers|insert|key_split|list|nextkey|op(en|timize)|popen|replace|sync))\b + name + support.function.dba.php + + + match + \b(dbase_(add_record|c(lose|reate)|delete_record|get_(header_info|record(|_with_names))|num(fields|records)|open|pack|replace_record))\b + name + support.function.dbase.php + + + match + \b(dbplus_(a(dd|ql)|c(hdir|lose|urr)|err(code|no)|fi(nd|rst)|flush|free(alllocks|lock|rlocks)|get(lock|unique)|info|l(ast|ockrel)|next|open|prev|r(c(hperm|reate|rtexact|rtlike)|e(solve|storepos)|keys|open|query|rename|secindex|unlink|zap)|s(avepos|etindex(|bynumber)|ql)|t(cl|remove)|un(do(|prepare)|lockrel|select)|update|x(lockrel|unlockrel)))\b + name + support.function.dbplus.php + + + match + \b(dbx_(c(lose|ompare|onnect)|e(rror|scape_string)|fetch_row|query|sort))\b + name + support.function.dbx.php + + + match + \b(dio_(close|fcntl|open|read|seek|stat|t(csetattr|runcate)|write))\b + name + support.function.dio.php + + + match + \b(c(h(dir|root)|losedir)|getcwd|opendir|re(addir|winddir)|scandir)\b + name + support.function.dir.php + + + match + \b(domxml_(new_doc|open_(file|mem)|version|x(mltree|slt_stylesheet(|_doc|_file)))|x(path_(eval(|_expression)|new_context)|ptr_(eval|new_context)))\b + name + support.function.domxml.php + + + match + \b(debug_(backtrace|print_backtrace)|error_(log|reporting)|restore_(error_handler|exception_handler)|set_(error_handler|exception_handler)|trigger_error|user_error)\b + name + support.function.errorfunc.php + + + match + \b(e(scapeshell(arg|cmd)|xec)|p(assthru|roc_(close|get_status|nice|open|terminate))|s(hell_exec|ystem))\b + name + support.function.exec.php + + + match + \b(exif_(imagetype|read_data|tagname|thumbnail)|read_exif_data)\b + name + support.function.exif.php + + + match + \b(fam_(c(ancel_monitor|lose)|monitor_(collection|directory|file)|next_event|open|pending|resume_monitor|suspend_monitor))\b + name + support.function.fam.php + + + match + \b(fbsql_(a(ffected_rows|utocommit)|blob_size|c(hange_user|l(ob_size|ose)|o(mmit|nnect)|reate_(blob|clob|db))|d(ata(base(|_password)|_seek)|b_(query|status)|rop_db)|err(no|or)|fetch_(a(rray|ssoc)|field|lengths|object|row)|field_(flags|len|name|seek|table|type)|free_result|get_autostart_info|hostname|insert_id|list_(dbs|fields|tables)|n(ext_result|um_(fields|rows))|p(assword|connect)|query|r(e(ad_(blob|clob)|sult)|ollback)|s(e(lect_db|t_(lob_mode|password|transaction))|tart_db|top_db)|tablename|username|warnings))\b + name + support.function.fbsql.php + + + match + \b(fdf_(add_(doc_javascript|template)|c(lose|reate)|e(num_values|rr(no|or))|get_(a(p|ttachment)|encoding|f(ile|lags)|opt|status|v(alue|ersion))|header|next_field_name|open(|_string)|remove_item|save(|_string)|set_(ap|encoding|f(ile|lags)|javascript_action|o(n_import_javascript|pt)|s(tatus|ubmit_form_action)|target_frame|v(alue|ersion))))\b + name + support.function.fdf.php + + + match + \b(filepro(|_field(count|name|type|width)|_r(etrieve|owcount)))\b + name + support.function.filepro.php + + + match + \b(basename|c(h(grp|mod|own)|learstatcache|opy)|d(elete|i(rname|sk(freespace|_free_space|_total_space)))|f(close|eof|flush|get(csv|c|ss|s)|ile(|atime|ctime|group|inode|mtime|owner|perms|size|type|_exists|_get_contents|_put_contents)|lock|nmatch|open|passthru|put(csv|s)|read|s(canf|eek|tat)|t(ell|runcate)|write)|glob|is_(dir|executable|file|link|readable|uploaded_file|writable|writeable)|l(ink(|info)|stat)|m(kdir|ove_uploaded_file)|p(a(rse_ini_file|thinfo)|close|open)|r(e(a(d(file|link)|lpath)|name|wind)|mdir)|s(et_file_buffer|tat|ymlink)|t(empnam|mpfile|ouch)|u(mask|nlink))\b + name + support.function.filesystem.php + + + match + \b(ftp_(alloc|c(dup|h(dir|mod)|lose|onnect)|delete|exec|f(get|put)|get(|_option)|login|m(dtm|kdir)|n(b_(continue|fget|fput|get|put)|list)|p(asv|ut|wd)|quit|r(aw(|list)|ename|mdir)|s(et_option|ite|ize|sl_connect|ystype)))\b + name + support.function.ftp.php + + + match + \b(c(all_user_func(|_array)|reate_function)|func(tion_exists|_get_arg(|s)|_num_args)|get_defined_functions|register_(shutdown_function|tick_function)|unregister_tick_function)\b + name + support.function.funchand.php + + + match + \b(bind(textdomain|_textdomain_codeset)|d(c(gettext|ngettext)|gettext|ngettext)|gettext|ngettext|textdomain)\b + name + support.function.gettext.php + + + match + \b(gmp_(a(bs|dd|nd)|c(lrbit|mp|om)|div(|exact|_qr|_q|_r)|fact|gcd(|ext)|hamdist|in(it|tval|vert)|jacobi|legendre|m(od|ul)|neg|or|p(erfect_square|o(pcount|wm|w)|rob_prime)|random|s(can0|can1|etbit|ign|qrt(|rem)|trval|ub)|xor))\b + name + support.function.gmp.php + + + match + \b(header(|s_list|s_sent)|set(cookie|rawcookie))\b + name + support.function.http.php + + + match + \b(ibase_(a(dd_user|ffected_rows)|b(ackup|lob_(add|cancel|close|create|echo|get|import|info|open))|c(lose|ommit(|_ret)|onnect)|d(b_info|elete_user|rop_db)|e(rr(code|msg)|xecute)|f(etch_(assoc|object|row)|ield_info|ree_(event_handler|query|result))|gen_id|m(aintain_db|odify_user)|n(ame_result|um_(fields|params))|p(aram_info|connect|repare)|query|r(estore|ollback(|_ret))|se(rv(er_info|ice_attach|ice_detach)|t_event_handler)|t(imefmt|rans)|wait_event))\b + name + support.function.ibase.php + + + match + \b(iconv(|_get_encoding|_mime_(decode(|_headers)|encode)|_s(et_encoding|tr(len|pos|rpos)|ubstr))|ob_iconv_handler)\b + name + support.function.iconv.php + + + match + \b(id3_(get_(frame_(long_name|short_name)|genre_(id|list|name)|tag|version)|remove_tag|set_tag))\b + name + support.function.id3.php + + + match + \b(ifx(_affected_rows|_b(lobinfile_mode|yteasvarchar)|_c(lose|onnect|opy_blob|reate_(blob|char))|_do|_error(|msg)|_f(etch_row|ield(properties|types)|ree_(blob|char|result))|_get(sqlca|_blob|_char)|_htmltbl_result|_nu(llformat|m_(fields|rows))|_p(connect|repare)|_query|_textasvarchar|_update_(blob|char)|us_(c(lose_slob|reate_slob)|free_slob|open_slob|read_slob|seek_slob|tell_slob|write_slob)))\b + name + support.function.ifx.php + + + match + \b(iis_(add_server|get_(dir_security|s(cript_map|erv(er_(by_(comment|path)|rights)|ice_state)))|remove_server|set_(app_settings|dir_security|script_map|server_rights)|start_(serv(er|ice))|stop_(serv(er|ice))))\b + name + support.function.iisfunc.php + + + match + \b(g(d_info|etimagesize)|image(2wbmp|a(lphablending|ntialias|rc)|char(|up)|color(allocate(|alpha)|at|closest(|alpha|hwb)|deallocate|exact(|alpha)|match|resolve(|alpha)|s(et|forindex|total)|transparent)|copy(|merge(|gray)|re(sampled|sized))|create(|from(gd(|2(|part))|gif|jpeg|png|string|wbmp|xbm|xpm)|truecolor)|d(ashedline|estroy)|ellipse|f(il(l(|ed(arc|ellipse|polygon|rectangle)|toborder)|ter)|ont(height|width)|t(bbox|text))|g(ammacorrect|d(|2)|if)|i(nterlace|struecolor)|jpeg|l(ayereffect|ine|oadfont)|p(alettecopy|ng|olygon|s(bbox|copyfont|encodefont|extendfont|freefont|loadfont|slantfont|text))|r(ectangle|otate)|s(avealpha|et(brush|pixel|style|thickness|tile)|tring(|up)|x|y)|t(ruecolortopalette|tf(bbox|text)|ypes)|wbmp|xbm|_type_to_(extension|mime_type))|iptc(embed|parse)|jpeg2wbmp|png2wbmp)\b + name + support.function.image.php + + + match + \b(imap_(8bit|a(lerts|ppend)|b(ase64|inary|ody(|struct))|c(heck|learflag_full|lose|reatemailbox)|delete(|mailbox)|e(rrors|xpunge)|fetch(body|header|structure|_overview)|get(acl|mailboxes|subscribed|_quota(|root))|header(|info|s)|l(ast_error|ist(|mailbox|scan|subscribed)|sub)|mail(|boxmsginfo|_compose|_copy|_move)|m(ime_header_decode|sgno)|num_(msg|recent)|open|ping|qprint|r(e(namemailbox|open)|fc822_(parse_(adrlist|headers)|write_address))|s(canmailbox|e(arch|t(acl|flag_full|_quota))|ort|tatus|ubscribe)|t(hread|imeout)|u(id|n(delete|subscribe)|tf(7_decode|7_encode|8))))\b + name + support.function.imap.php + + + match + \b(assert(|_options)|dl|extension_loaded|get(env|lastmod|my(gid|inode|pid|uid)|opt|rusage|_c(fg_var|urrent_user)|_defined_constants|_extension_funcs|_include(d_files|_path)|_loaded_extensions|_magic_quotes_(gpc|runtime)|_required_files)|ini_(alter|get(|_all)|restore|set)|m(ain|emory_get_usage)|p(hp(credits|info|version|_ini_scanned_files|_logo_guid|_sapi_name|_uname)|utenv)|restore_include_path|set_(include_path|magic_quotes_runtime|time_limit)|version_compare|zend_(logo_guid|version))\b + name + support.function.info.php + + + match + \b(ircg_(channel_mode|disconnect|eval_ecmascript_params|fetch_error_msg|get_username|html_encode|i(gnore_(add|del)|nvite|s_conn_alive)|join|kick|l(ist|ookup_format_messages|users)|msg|n(ames|ick(|name_(escape|unescape))|otice)|oper|p(art|connect)|register_format_messages|set_(current|file|on_die)|topic|who(|is)))\b + name + support.function.ircg.php + + + match + \b(ldap_(8859_to_t61|add|bind|c(lose|o(mpare|nnect|unt_entries))|d(elete|n2ufn)|e(rr(2str|no|or)|xplode_dn)|f(irst_(attribute|entry|reference)|ree_result)|get_(attributes|dn|entries|option|values(|_len))|list|mod(ify|_add|_del|_replace)|next_(attribute|entry|reference)|parse_(reference|result)|re(ad|name)|s(asl_bind|e(arch|t_(option|rebind_proc))|ort|tart_tls)|t61_to_8859|unbind))\b + name + support.function.ldap.php + + + match + \b(a(bs|cos(|h)|sin(|h)|tan(|h|2))|b(ase_convert|indec)|c(eil|os(|h))|de(c(bin|hex|oct)|g2rad)|exp(|m1)|f(loor|mod)|getrandmax|h(exdec|ypot)|is_(finite|infinite|nan)|l(cg_value|og(|10|1p))|m(ax|in|t_(getrandmax|rand|srand))|octdec|p(i|ow)|r(a(d2deg|nd)|ound)|s(in(|h)|qrt|rand)|tan(|h))\b + name + support.function.math.php + + + match + \b(maxdb_(a(ffected_rows|utocommit)|bind_(param|result)|c(ha(nge_user|racter_set_name)|l(ient_encoding|ose(|_long_data))|o(mmit|nnect(|_err(no|or))))|d(ata_seek|ebug|isable_r(eads_from_master|pl_parse)|ump_debug_info)|e(mbedded_connect|nable_r(eads_from_master|pl_parse)|rr(no|or)|scape_string|xecute)|f(etch(|_array|_assoc|_field(|s|_direct)|_lengths|_resource|_row)|ield_(count|seek|tell)|ree_result)|get_(client_(info|version)|host_info|metadata|proto_info|server_(info|version))|in(fo|it|sert_id)|kill|m(aster_query|ore_results|ulti_query)|n(ext_result|um_(fields|rows))|options|p(aram_count|ing|repare)|query|r(e(al_(connect|escape_string|query)|port)|ollback|pl_(parse_enabled|probe|query_type))|s(e(lect_db|nd_(long_data|query)|rver_(end|init)|t_opt)|qlstate|sl_set|tat|tmt_(affected_rows|bind_(param|result)|close(|_long_data)|data_seek|e(rr(no|or)|xecute)|f(etch|ree_result)|init|num_rows|p(aram_count|repare)|res(et|ult_metadata)|s(end_long_data|qlstate|tore_result))|tore_result)|thread_(id|safe)|use_result|warning_count))\b + name + support.function.maxdb.php + + + match + \b(mb_(convert_(case|encoding|kana|variables)|de(code_(mimeheader|numericentity)|tect_(encoding|order))|e(ncode_(mimeheader|numericentity)|reg(|_match|_replace|_search(|_get(pos|regs)|_init|_pos|_regs|_setpos)|i(|_replace)))|get_info|http_(input|output)|internal_encoding|l(anguage|ist_encodings)|output_handler|p(arse_str|referred_mime_name)|regex_(encoding|set_options)|s(end_mail|plit|tr(cut|imwidth|len|pos|rpos|tolower|toupper|width)|ubs(titute_character|tr|tr_count))))\b + name + support.function.mbstring.php + + + match + \b(mcal_(append_event|c(lose|reate_calendar)|d(a(te_(compare|valid)|y(s_in_month|_of_(week|year)))|elete_(calendar|event))|e(vent_(add_attribute|init|set_(alarm|category|class|description|end|recur_(daily|monthly_mday|monthly_wday|none|weekly|yearly)|start|title))|xpunge)|fetch_(current_stream_event|event)|is_leap_year|list_(alarms|events)|next_recurrence|open|popen|re(name_calendar|open)|s(nooze|tore_event)|time_valid|week_of_year))\b + name + support.function.mcal.php + + + match + \b(mcrypt_(c(bc|fb|reate_iv)|decrypt|e(cb|nc(rypt|_get_(algorithms_name|block_size|iv_size|key_size|modes_name|supported_key_sizes)|_is_block_(algorithm_mode|algorithm|mode)|_self_test))|ge(neric(|_deinit|_end|_init)|t_(block_size|cipher_name|iv_size|key_size))|list_(algorithms|modes)|module_(close|get_(algo_(block_size|key_size)|supported_key_sizes)|is_block_(algorithm(|_mode)|mode)|open|self_test)|ofb)|mdecrypt_generic)\b + name + support.function.mcrypt.php + + + match + \b(mhash(|_count|_get_(block_size|hash_name)|_keygen_s2k))\b + name + support.function.mhash.php + + + match + \b(ming_(set(cubicthreshold|scale)|useswfversion)|SWF(Action|Bitmap|button(|_keypress)|DisplayItem|Font|Gradient|Mo(rph|vie)|S(hape|prite)|Text(|Field(|->addstring))))\b + name + support.function.ming.php + + + match + \b(apd_(breakpoint|callstack|clunk|continue|croak|dump_(function_table|persistent_resources|regular_resources)|echo|get_active_symbols|set_(pprof_trace|session_trace|session|socket_session_trace))|aspell_(check(|_raw)|new|suggest)|bcompiler_(load_exe|load|parse_class|read|write_(class|constant|exe_footer|file|footer|function|functions_from_file|header))|ccvs_(add|auth|command|count|delete|done|init|lookup|new|report|return|reverse|sale|status|textvalue|void)|com_(addref|create_guid|event_sink|get(|_active_object)|invoke|isenum|load(|_typelib)|message_pump|print_typeinfo|propget|propput|propset|release|set)|con(nection_(aborted|status|timeout)|stant)|cybercash_(base64_(decode|encode)|decr|encr)|d(b(list|m(close|delete|exists|fetch|firstkey|insert|nextkey|open|replace))|efine(|d)|om_import_simplexml|otnet_load)|e(val|zmlm_hash)|fribidi_log2vis|get_browser|highlight_(file|string)|i(gnore_user_abort|s_soap_fault)|java_last_exception_(clear|get)|lzf_(compress|decompress|optimized_for)|m(ail|emcache_debug|ime_content_type)|nsapi_(re(quest_headers|sponse_headers)|virtual)|overload|p(ack|hp_(check_syntax|strip_whitespace))|qdom_(error|tree)|r(ar_(close|entry_get|list|open)|ecode(|_file|_string))|s(how_source|leep)|t(cpwrap_check|ime_nanosleep|oken_(get_all|name))|u(n(iqid|pack)|s(e_soap_error_handler|leep)))\b + name + support.function.misc.php + + + match + \b(msql(|_affected_rows|_c(lose|onnect|reate(db|_db))|_d(ata_seek|b(name|_query)|rop_db)|_error|_f(etch_(array|field|object|row)|ield(flags|len|name|table|type|_flags|_len|_name|_seek|_table|_type)|ree_result)|_list_(dbs|fields|tables)|_num(fields|rows|_fields|_rows)|_pconnect|_query|_re(gcase|sult)|_select_db|_tablename))\b + name + support.function.msql.php + + + match + \b(mssql_(bind|c(lose|onnect)|data_seek|execute|f(etch_(array|assoc|batch|field|object|row)|ield_(length|name|seek|type)|ree_(result|statement))|g(et_last_message|uid_string)|init|min_(error_severity|message_severity)|n(ext_result|um_(fields|rows))|pconnect|query|r(esult|ows_affected)|select_db))\b + name + support.function.mssql.php + + + match + \b(mysql_(affected_rows|c(hange_user|l(ient_encoding|ose)|onnect|reate_db)|d(ata_seek|b_(name|query)|rop_db)|e(rr(no|or)|scape_string)|f(etch_(array|assoc|field|lengths|object|row)|ield_(flags|len|name|seek|table|type)|ree_result)|get_(client_info|host_info|proto_info|server_info)|in(fo|sert_id)|list_(dbs|fields|processes|tables)|num_(fields|rows)|p(connect|ing)|query|re(al_escape_string|sult)|s(elect_db|tat)|t(ablename|hread_id)|unbuffered_query))\b + name + support.function.mysql.php + + + match + \b(mysqli_(a(ffected_rows|utocommit)|bind_(param|result)|c(ha(nge_user|racter_set_name)|l(ient_encoding|ose)|o(mmit|nnect(|_err(no|or))))|d(ata_seek|ebug|isable_(reads_from_master|rpl_parse)|ump_debug_info)|e(mbedded_connect|nable_(reads_from_master|rpl_parse)|rr(no|or)|scape_string|xecute)|f(etch(|_array|_assoc|_field(|s|_direct)|_lengths|_object|_row)|ield_(count|seek|tell)|ree_result)|get_(client_(info|version)|host_info|metadata|proto_info|server_(info|version))|in(fo|it|sert_id)|kill|m(aster_query|ore_results|ulti_query)|n(ext_result|um_(fields|rows))|options|p(aram_count|ing|repare)|query|r(e(al_(connect|escape_string|query)|port)|ollback|pl_(parse_enabled|probe|query_type))|s(e(lect_db|nd_(long_data|query)|rver_(end|init)|t_opt)|qlstate|sl_set|tat|tmt_(affected_rows|bind_(param|result)|close|data_seek|e(rr(no|or)|xecute)|f(etch|ree_result)|init|num_rows|p(aram_count|repare)|res(et|ult_metadata)|s(end_long_data|qlstate|tore_result))|tore_result)|thread_(id|safe)|use_result|warning_count))\b + name + support.function.mysqli.php + + + match + \b(c(heckdnsrr|loselog)|d(e(bugger_(off|on)|fine_syslog_variables)|ns_(check_record|get_mx|get_record))|fsockopen|get(hostby(addr|name(|l))|mxrr|protoby(name|number)|servby(name|port))|i(net_(ntop|pton)|p2long)|long2ip|openlog|pfsockopen|s(ocket_(get_status|set_(blocking|timeout))|yslog))\b + name + support.function.network.php + + + match + \b(notes_(body|c(opy_db|reate_(db|note))|drop_db|find_note|header_info|list_msgs|mark_(read|unread)|nav_create|search|unread|version))\b + name + support.function.notes.php + + + match + \b(aggregat(e(|_info|_methods(|_by_(list|regexp))|_properties(|_by_(list|regexp)))|ion_info)|deaggregate)\b + name + support.function.objaggregation.php + + + match + \b(oci(bindbyname|c(ancel|loselob|o(ll(a(ppend|ssign(|elem))|getelem|max|size|trim)|lumn(isnull|name|precision|s(cale|ize)|type(|raw))|mmit))|definebyname|e(rror|xecute)|f(etch(|into|statement)|ree(c(ollection|ursor)|desc|statement))|internaldebug|lo(adlob|go(ff|n))|n(ew(c(ollection|ursor)|descriptor)|logon|umcols)|p(arse|logon)|r(esult|o(llback|wcount))|s(avelob(|file)|e(rverversion|tprefetch)|tatementtype)|write(lobtofile|temporarylob)|_(bind_by_name|c(ancel|lose|o(mmit|nnect))|define_by_name|e(rror|xecute)|f(etch(|_(all|array|assoc|object|row))|ield_(is_null|name|precision|s(cale|ize)|type(|_raw))|ree_statement)|internal_debug|lob_(copy|is_equal)|n(ew_(c(o(llection|nnect)|ursor)|descriptor)|um_(fields|rows))|p(a(rse|ssword_change)|connect)|r(esult|ollback)|s(e(rver_version|t_prefetch)|tatement_type))))\b + name + support.function.oci8.php + + + match + \b(openssl_(csr_(export(|_to_file)|new|sign)|error_string|free_key|get_p(rivatekey|ublickey)|open|p(k(cs7_(decrypt|encrypt|sign|verify)|ey_(export(|_to_file)|get_(private|public)|new))|rivate_(decrypt|encrypt)|ublic_(decrypt|encrypt))|s(eal|ign)|verify|x509_(check(purpose|_private_key)|export(|_to_file)|free|parse|read)))\b + name + support.function.openssl.php + + + match + \b(ora_(bind|c(lose|o(lumn(name|size|type)|mmit(|off|on)))|do|e(rror(|code)|xec)|fetch(|_into)|getcolumn|logo(ff|n)|num(cols|rows)|open|p(arse|logon)|rollback))\b + name + support.function.oracle.php + + + match + \b(flush|o(b_(clean|end_(clean|flush)|flush|get_(clean|contents|flush|length|level|status)|gzhandler|implicit_flush|list_handlers|start|tidyhandler)|utput_(add_rewrite_var|reset_rewrite_vars)))\b + name + support.function.outcontrol.php + + + match + \b(ovrimos_(c(lose|o(mmit|nnect)|ursor)|exec(|ute)|f(etch_(into|row)|ield_(len|name|num|type)|ree_result)|longreadlen|num_(fields|rows)|prepare|r(esult(|_all)|ollback)))\b + name + support.function.ovrimos.php + + + match + \b(parsekit_(compile_(file|string)|func_arginfo))\b + name + support.function.parsekit.php + + + match + \b(pcntl_(alarm|exec|fork|getpriority|setpriority|signal|w(ait(|pid)|exitstatus|if(exited|signaled|stopped)|stopsig|termsig)))\b + name + support.function.pcntl.php + + + match + \b(preg_(grep|match(|_all)|quote|replace(|_callback)|split))\b + name + support.function.pcre.php + + + match + \b(pdf_(a(dd_(annotation|bookmark|launchlink|locallink|note|outline|pdflink|thumbnail|weblink)|rc(|n)|ttach_file)|begin_(pa(ge|ttern)|template)|c(ircle|l(ip|o(se(|path(|_fill_stroke|_stroke)|_(image|pdi(|_page)))))|on(cat|tinue_text)|urveto)|delete|end(path|_(pa(ge|ttern)|template))|fi(ll(|_stroke)|ndfont)|get_(buffer|font(|name|size)|image_(height|width)|m(ajorversion|inorversion)|p(arameter|di_(parameter|value))|value)|initgraphics|lineto|m(akespotcolor|oveto)|new|open(|_(ccitt|file|gif|image(|_file)|jpeg|memory_image|p(di(|_page)|ng)|tiff))|place_(image|pdi_page)|r(e(ct|store)|otate)|s(ave|cale|et(color|dash|f(lat|ont)|gray(|_fill|_stroke)|line(cap|join|width)|m(atrix|iterlimit)|polydash|rgbcolor(|_fill|_stroke)|_(border_(color|dash|style)|char_spacing|duration|font|horiz_scaling|info(|_(author|creator|keywords|subject|title))|leading|parameter|text_(matrix|pos|rendering|rise)|value|word_spacing))|how(|_boxed|_xy)|kew|tr(ingwidth|oke))|translate))\b + name + support.function.pdf.php + + + match + \b(pg_(affected_rows|c(ancel_query|l(ient_encoding|ose)|o(n(nect(|ion_(busy|reset|status))|vert)|py_(from|to)))|d(bname|elete)|e(nd_copy|scape_(bytea|string))|f(etch_(a(ll|rray|ssoc)|object|r(esult|ow))|ield_(is_null|n(ame|um)|prtlen|size|type)|ree_result)|get_(notify|pid|result)|host|insert|l(ast_(error|notice|oid)|o_(c(lose|reate)|export|import|open|read(|_all)|seek|tell|unlink|write))|meta_data|num_(fields|rows)|options|p(arameter_status|connect|ing|ort|ut_line)|query|result_(error|seek|status)|se(lect|nd_query|t_client_encoding)|t(race|ty)|u(n(escape_bytea|trace)|pdate)|version))\b + name + support.function.pgsql.php + + + match + \b(posix_(access|ctermid|get(cwd|e(gid|uid)|g(id|r(gid|nam|oups))|login|p(g(id|rp)|id|pid|w(nam|uid))|rlimit|sid|uid|_last_error)|isatty|kill|mkfifo|s(et(e(gid|uid)|gid|pgid|sid|uid)|trerror)|t(imes|tyname)|uname))\b + name + support.function.posix.php + + + match + \b(printer_(abort|c(lose|reate_(brush|dc|font|pen))|d(elete_(brush|dc|font|pen)|raw_(bmp|chord|elipse|line|pie|r(ectangle|oundrect)|text))|end_(doc|page)|get_option|l(ist|ogical_fontheight)|open|s(e(lect_(brush|font|pen)|t_option)|tart_(doc|page))|write))\b + name + support.function.printer.php + + + match + \b(pspell_(add_to_(personal|session)|c(heck|lear_session|onfig_(create|d(ata_dir|ict_dir)|ignore|mode|personal|r(epl|untogether)|save_repl))|new(|_config|_personal)|s(ave_wordlist|tore_replacement|uggest)))\b + name + support.function.pspell.php + + + match + \b(readline(|_(add_history|c(allback_(handler_(install|remove)|read_char)|lear_history|ompletion_function)|info|list_history|on_new_line|re(ad_history|display)|write_history)))\b + name + support.function.readline.php + + + match + \b(ereg(|_replace|i(|_replace))|s(plit(|i)|ql_regcase))\b + name + support.function.regex.php + + + match + \b(ftok|msg_(get_queue|re(ceive|move_queue)|s(e(nd|t_queue)|tat_queue))|s(em_(acquire|get|re(lease|move))|hm_(attach|detach|get_var|put_var|remove(|_var))))\b + name + support.function.sem.php + + + match + \b(sesam_(affected_rows|co(mmit|nnect)|di(agnostic|sconnect)|e(rrormsg|xecimm)|f(etch_(array|result|row)|ield_(array|name)|ree_result)|num_fields|query|rollback|se(ek_row|ttransaction)))\b + name + support.function.sesam.php + + + match + \b(session_(c(ache_(expire|limiter)|ommit)|de(code|stroy)|encode|get_cookie_params|i(d|s_registered)|module_name|name|re(generate_id|gister)|s(ave_path|et_(cookie_params|save_handler)|tart)|un(register|set)|write_close))\b + name + support.function.session.php + + + match + \b(shmop_(close|delete|open|read|size|write))\b + name + support.function.shmop.php + + + match + \b(simplexml_(import_dom|load_(file|string)))\b + name + support.function.simplexml.php + + + match + \b(snmp(get(|next)|realwalk|set|walk(|oid)|_(get_(quick_print|valueretrieval)|read_mib|set_(enum_print|oid_numeric_print|quick_print|valueretrieval))))\b + name + support.function.snmp.php + + + match + \b(is_soap_fault|use_soap_error_handler)\b + name + support.function.soap.php + + + match + \b(socket_(accept|bind|c(l(ear_error|ose)|onnect|reate(|_listen|_pair))|get(peername|sockname|_option)|l(ast_error|isten)|re(ad|cv(|from))|s(e(lect|nd(|to)|t_(block|nonblock|option))|hutdown|trerror)|write))\b + name + support.function.sockets.php + + + match + \b(class_(implements|parents)|iterator_(count|to_array)|spl_classes)\b + name + support.function.spl.php + + + match + \b(sqlite_(array_query|busy_timeout|c(hanges|lose|olumn|reate_(aggregate|function)|urrent)|e(rror_string|scape_string|xec)|f(actory|etch_(a(ll|rray)|column_types|object|s(ingle|tring))|ield_name)|has_(more|prev)|key|l(ast_(error|insert_rowid)|ib(encoding|version))|n(ext|um_(fields|rows))|open|p(open|rev)|query|rewind|s(eek|ingle_query)|u(df_(decode_binary|encode_binary)|nbuffered_query)|valid))\b + name + support.function.sqlite.php + + + match + \b(ssh2_(auth_(none|password|pubkey_file)|connect|exec|f(etch_stream|ingerprint)|methods_negotiated|s(cp_(recv|send)|ftp(|_(lstat|mkdir|readlink|realpath|rename|rmdir|stat|symlink|unlink))|hell)|tunnel))\b + name + support.function.ssh2.php + + + match + \b(stream_(co(ntext_(create|get_(default|options)|set_(option|params))|py_to_stream)|filter_(append|prepend|re(gister|move))|get_(contents|filters|line|meta_data|transports|wrappers)|register_wrapper|s(e(lect|t_(blocking|timeout|write_buffer))|ocket_(accept|client|enable_crypto|get_name|pair|recvfrom|se(ndto|rver)))|wrapper_(re(gister|store)|unregister)))\b + name + support.function.stream.php + + + match + \b(add(cslashes|slashes)|bin2hex|c(h(op|r|unk_split)|onvert_(cyr_string|uudecode|uuencode)|ount_chars|rc32|rypt)|e(cho|xplode)|fprintf|get_html_translation_table|h(ebrev(|c)|tml(entities|specialchars|_entity_decode))|implode|join|l(evenshtein|ocaleconv|trim)|m(d5(|_file)|etaphone|oney_format)|n(l(2br|_langinfo)|umber_format)|ord|p(arse_str|rint(|f))|quote(d_printable_decode|meta)|rtrim|s(etlocale|ha1(|_file)|imilar_text|oundex|printf|scanf|tr(c(asecmp|hr|mp|oll|spn)|i(p(cslashes|os|slashes|_tags)|str)|len|n(atc(asecmp|mp)|c(asecmp|mp))|p(brk|os)|r(chr|ev|ipos|pos)|s(pn|tr)|t(o(k|lower|upper)|r)|_(ireplace|pad|r(ep(eat|lace)|ot13)|s(huffle|plit)|word_count))|ubstr(|_(compare|count|replace)))|trim|uc(first|words)|v(fprintf|printf|sprintf)|wordwrap)\b + name + support.function.strings.php + + + match + \b(swf_(a(ction(g(eturl|oto(frame|label))|nextframe|p(lay|revframe)|s(ettarget|top)|togglequality|waitforframe)|dd(buttonrecord|color))|closefile|define(bitmap|font|line|poly|rect|text)|end(button|doaction|shape|symbol)|font(size|slant|tracking)|get(bitmapinfo|fontinfo|frame)|l(abelframe|ookat)|m(odifyobject|ulcolor)|nextid|o(ncondition|penfile|rtho(|2))|p(erspective|laceobject|o(larview|pmatrix|sround)|ushmatrix)|r(emoveobject|otate)|s(cale|et(font|frame)|hape(arc|curveto(|3)|fill(bitmap(clip|tile)|off|solid)|line(solid|to)|moveto)|howframe|tart(button|doaction|shape|symbol))|t(extwidth|ranslate)|viewport))\b + name + support.function.swf.php + + + match + \b(sybase_(affected_rows|c(lose|onnect)|d(ata_seek|eadlock_retry_count)|f(etch_(array|assoc|field|object|row)|ield_seek|ree_result)|get_last_message|min_(client_severity|error_severity|message_severity|server_severity)|num_(fields|rows)|pconnect|query|result|se(lect_db|t_message_handler)|unbuffered_query))\b + name + support.function.sybase.php + + + match + \b(tidy_(access_count|c(lean_repair|onfig_count)|diagnose|error_count|get(opt|_(body|config|error_buffer|head|html(|_ver)|output|r(elease|oot)|status))|is_(xhtml|xml)|load_config|parse_(file|string)|re(pair_(file|string)|set_config)|s(ave_config|et(opt|_encoding))|warning_count))\b + name + support.function.tidy.php + + + match + \b(odbc_(autocommit|binmode|c(lose(|_all)|o(lumn(s|privileges)|mmit|nnect)|ursor)|d(ata_source|o)|e(rror(|msg)|xec(|ute))|f(etch_(array|into|object|row)|ield_(len|n(ame|um)|precision|scale|type)|oreignkeys|ree_result)|gettypeinfo|longreadlen|n(ext_result|um_(fields|rows))|p(connect|r(epare|imarykeys|ocedure(columns|s)))|r(esult(|_all)|ollback)|s(etoption|pecialcolumns|tatistics)|table(privileges|s)))\b + name + support.function.odbc.php + + + match + \b(base64_(decode|encode)|get_(headers|meta_tags)|http_build_query|parse_url|rawurl(decode|encode)|url(decode|encode))\b + name + support.function.url.php + + + match + \b(d(ebug_zval_dump|oubleval)|empty|floatval|get(type|_(defined_vars|resource_type))|i(mport_request_variables|ntval|s(set|_(array|bool|callable|double|float|integer|int|long|null|numeric|object|real|resource|scalar|string)))|print_r|s(e(rialize|ttype)|trval)|un(se(rialize|t))|var_(dump|export))\b + name + support.function.var.php + + + match + \b(vpopmail_(a(dd_(alias_(domain_ex|domain)|domain(|_ex)|user)|lias_(add|del(|_domain)|get(|_all))|uth_user)|del_(domain(|_ex)|user)|error|passwd|set_user_quota))\b + name + support.function.vpopmail.php + + + match + \b(w32api_(deftype|in(it_dtype|voke_function)|register_function|set_call_method))\b + name + support.function.w32api.php + + + match + \b(wddx_(add_vars|deserialize|packet_(end|start)|serialize_(value|vars)))\b + name + support.function.wddx.php + + + match + \b(xattr_(get|list|remove|s(et|upported)))\b + name + support.function.xattr.php + + + match + \b(xdiff_(file_(diff(|_binary)|merge3|patch(|_binary))|string_(diff(|_binary)|merge3|patch(|_binary))))\b + name + support.function.xdiff.php + + + match + \b(utf8_(decode|encode)|xml_(error_string|get_(current_(byte_index|column_number|line_number)|error_code)|parse(|r(_create(|_ns)|_free|_get_option|_set_option)|_into_struct)|set_(character_data_handler|default_handler|e(lement_handler|nd_namespace_decl_handler|xternal_entity_ref_handler)|notation_decl_handler|object|processing_instruction_handler|start_namespace_decl_handler|unparsed_entity_decl_handler)))\b + name + support.function.xml.php + + + match + \b(xmlrpc_(decode(|_request)|encode(|_request)|get_type|is_fault|parse_method_descriptions|se(rver_(add_introspection_data|c(all_method|reate)|destroy|register_(introspection_callback|method))|t_type)))\b + name + support.function.xmlrpc.php + + + match + \b(xslt_(backend_(info|name|version)|create|err(no|or)|free|getopt|process|set(opt|_(base|e(ncoding|rror_handler)|log|object|s(ax_(handler(|s))|cheme_(handler(|s)))))))\b + name + support.function.xslt.php + + + match + \b(zip_(close|entry_(c(lose|ompress(edsize|ionmethod))|filesize|name|open|read)|open|read))\b + name + support.function.zip.php + + + match + \b(gz(c(lose|ompress)|deflate|e(ncode|of)|file|get(c|ss|s)|inflate|open|p(assthru|uts)|re(ad|wind)|seek|tell|uncompress|write)|readgzfile|zlib_get_coding_type)\b + name + support.function.zlib.php + + + begin + <<<([a-zA-Z_]+[a-zA-Z0-9_]*) + captures + + 1 + + name + keyword.operator.heredoc.shell + + + end + ^(\1);?$ + name + string.unquoted.heredoc.php + patterns + + + include + #var_complex_string_heredoc + + + + + match + (===|==|!==|!=|<=|>=|<>|<|>) + name + keyword.operator.comparison.php + + + match + (@) + name + keyword.operator.error-control.php + + + match + (\-\-|\+\+) + name + keyword.operator.increment-decrement.php + + + match + (\-|\+|\*|\/|%) + name + keyword.operator.arithmetic.php + + + match + (!|&&|\|\|)|\b(and|or|xor|as)\b + name + keyword.operator.logical.php + + + match + (\.=|\.) + name + keyword.operator.string.php + + + match + \b(instanceof)\b + name + keyword.operator.type.php + + + match + \b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)\b + name + constant.numeric.php + + + include + #string-double-quoted + + + include + #string-single-quoted + + + include + #var_global + + + include + #var_global_safer + + + include + #var_basic + + + captures + + 1 + + name + keyword.operator.php + + 2 + + name + variable.other.property.php + + + match + (?<=[a-zA-Z0-9_\x{7f}-\x{ff}])(->)([a-zA-Z_\x{7f}-\x{ff}][a-zA-Z0-9_\x{7f}-\x{ff}]*?)\b + + + include + #language_constant + + + match + \b(DEFAULT_INCLUDE_PATH|E_(ALL|COMPILE_(ERROR|WARNING)|CORE_(ERROR|WARNING)|ERROR|NOTICE|PARSE|STRICT|USER_(ERROR|NOTICE|WARNING)|WARNING)|PEAR_(EXTENSION_DIR|INSTALL_DIR)|PHP_(BINDIR|CONFIG_FILE_PATH|DATADIR|E(OL|XTENSION_DIR)|L(IBDIR|OCALSTATEDIR)|O(S|UTPUT_HANDLER_CONT|UTPUT_HANDLER_END|UTPUT_HANDLER_START)|SYSCONFDIR|VERSION))\b + name + support.constant.core.php + + + match + \b(A(B(DAY_([1-7])|MON_([0-9]{1,2}))|LT_DIGITS|M_STR|SSERT_(ACTIVE|BAIL|CALLBACK|QUIET_EVAL|WARNING))|C(ASE_(LOWER|UPPER)|HAR_MAX|O(DESET|NNECTION_(ABORTED|NORMAL|TIMEOUT)|UNT_(NORMAL|RECURSIVE))|REDITS_(ALL|DOCS|FULLPAGE|GENERAL|GROUP|MODULES|QA|SAPI)|RNCYSTR|RYPT_(BLOWFISH|EXT_DES|MD5|SALT_LENGTH|STD_DES)|URRENCY_SYMBOL)|D(AY_([1-7])|ECIMAL_POINT|IRECTORY_SEPARATOR|_(FMT|T_FMT))|E(NT_(COMPAT|NOQUOTES|QUOTES)|RA(|_D_FMT|_D_T_FMT|_T_FMT|_YEAR)|XTR_(IF_EXISTS|OVERWRITE|PREFIX_(ALL|IF_EXISTS|INVALID|SAME)|SKIP))|FRAC_DIGITS|GROUPING|HTML_(ENTITIES|SPECIALCHARS)|IN(FO_(ALL|CONFIGURATION|CREDITS|ENVIRONMENT|GENERAL|LICENSE|MODULES|VARIABLES)|I_(ALL|PERDIR|SYSTEM|USER)|T_(CURR_SYMBOL|FRAC_DIGITS))|L(C_(ALL|COLLATE|CTYPE|MESSAGES|MONETARY|NUMERIC|TIME)|O(CK_(EX|NB|SH|UN)|G_(ALERT|AUTH(|PRIV)|CONS|CRIT|CRON|DAEMON|DEBUG|EMERG|ERR|INFO|KERN|LOCAL([0-7])|LPR|MAIL|NDELAY|NEWS|NOTICE|NOWAIT|ODELAY|PERROR|PID|SYSLOG|USER|UUCP|WARNING)))|M(ON_([0-9]{1,2}|DECIMAL_POINT|GROUPING|THOUSANDS_SEP)|YSQL_(ASSOC|BOTH|NUM)|_(1_PI|2_(PI|SQRTPI)|E|L(N10|N2|OG(10E|2E))|PI(|_2|_4)|SQRT1_2|SQRT2))|N(EGATIVE_SIGN|O(EXPR|STR)|_(CS_PRECEDES|SEP_BY_SPACE|SIGN_POSN))|P(ATH(INFO_(BASENAME|DIRNAME|EXTENSION)|_SEPARATOR)|M_STR|OSITIVE_SIGN|_(CS_PRECEDES|SEP_BY_SPACE|SIGN_POSN))|RADIXCHAR|S(EEK_(CUR|END|SET)|ORT_(ASC|DESC|NUMERIC|REGULAR|STRING)|TR_PAD_(BOTH|LEFT|RIGHT))|T(HOUS(ANDS_SEP|EP)|_(FMT(|_AMPM)))|YES(EXPR|STR))\b + name + support.constant.std.php + + + + language_constant + + match + \b(TRUE|true|FALSE|false|NULL|null|__(FILE__|FUNCTION__|CLASS__|METHOD__|LINE__)|ON|OFF|YES|NO|NL|BR|TAB)\b + name + constant.language.php + + string-double-quoted + + begin + " + end + " + name + string.quoted.double.php + patterns + + + match + \\. + name + constant.character.escape.php + + + include + #var_complex_string_heredoc + + + + string-single-quoted + + begin + ' + end + ' + name + string.quoted.single.php + patterns + + + match + \\. + name + constant.character.escape.php + + + + var_basic + + match + \$+[a-zA-Z_\x{7f}-\x{ff}][a-zA-Z0-9_\x{7f}-\x{ff}]*?\b + name + variable.other.php + + var_complex_string_heredoc + + match + (?<regex>(?#simple syntax)\$(?<name>[a-zA-Z_\x{7f}-\x{ff}][a-zA-Z0-9_\x{7f}-\x{ff}]*)(?:\[(?<index>[a-zA-Z0-9_\x{7f}-\x{ff}]+|\$\g<name>)\]|->\g<name>)?|(?#simple syntax with braces)\$\{(?:\g<name>(?<indices>\[(?:\g<index>|'(?:\\.|[^'\\])*'|"(?:\g<regex>|\\.|[^"\\])*")\])?|\g<complex>|\$\{\g<complex>\})\}|(?#complex syntax)\{(?<complex>\$(?<segment>\g<name>\g<indices>*)(?:->\g<segment>)*|\$\g<complex>|\$\{\g<complex>\})\}) + name + variable.other.php + + var_global + + match + \$(_(COOKIE|FILES|GET|POST|REQUEST))\b + name + variable.other.global.php + + var_global_safer + + match + (\$(GLOBALS|_(ENV|SERVER|SESSION)))|\b(global)\b + name + variable.other.global.safer.php + + + scopeName + source.prado.php + uuid + DDC83EED-168F-4DEB-971D-84A2CF3CB38F + + diff --git a/editors/Textmate/Prado.tmbundle/Syntaxes/Prado Template copy.tmLanguage b/editors/Textmate/Prado.tmbundle/Syntaxes/Prado Template copy.tmLanguage new file mode 100644 index 00000000..ca67d3af --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Syntaxes/Prado Template copy.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 new file mode 100644 index 00000000..2a65206f --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/info.plist @@ -0,0 +1,70 @@ + + + + + deleted + + 3B4714DB-144B-4102-ACCD-A9D66B676D3C + 3B4714DB-144B-4102-ACCD-A9D66B676D3C + 9ED62E79-F25A-4BE1-80E9-D0474DD64BB5 + 9ED62E79-F25A-4BE1-80E9-D0474DD64BB5 + + name + Prado + ordering + + 3E75ACFD-E0F4-4564-9A24-DCB08AD6324D + DDC83EED-168F-4DEB-971D-84A2CF3CB38F + 94E9F86C-36D1-4D5C-808C-E379024299CD + 2721E2C3-66B7-4486-BF0F-6FA7B274858D + AC226362-749C-45C1-86A3-B58379A38A7E + 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 + B7E6E873-309E-41E6-AD8A-29EB54781579 + 17BECED9-79B1-4CD6-9354-E528DA3327AC + 61E9DF58-07F3-4B99-8B58-53D3049575F3 + 618046BE-DF8E-489C-A8BC-24A15CF2AD7A + 17389BC4-0AF1-4993-B829-5CDC330A6D39 + 8A274C79-422D-4553-B086-0B553BDABEC7 + 4E663D10-670D-4526-8848-0AC2666592C0 + 823B366A-3A40-4875-8A2E-AB901F54D443 + 0DE44657-21AB-4878-93E7-0FD458D8723A + 3CFAD67E-EE9F-49F9-B606-D414E73ED8F7 + BAC66FCD-8C23-48B9-829B-56FE20CCC8E6 + 37221294-B588-4D07-9010-2DB7CDBEB6B4 + 84F0B41A-06B1-4A61-98B7-F13D1321C3D0 + 13CDBA43-EAA4-4BCD-B9AA-A990B4974496 + 202F9A01-9B67-4CBD-9289-EE6A98D091D7 + 110FCD3F-841C-4178-99D8-765C7D382F7D + 665F3D21-16F5-40FF-8339-A9A101400D10 + 803BFB83-50E8-4121-9866-A25C93979E4B + 76F11AC6-D441-4059-A70A-E3BB739EE515 + 012C556B-6ACB-48F0-8757-CA2E60B06109 + CA1AE93D-D724-43B0-A3CB-9E584126FB3C + 023BD925-D6F2-4BE1-8973-8B90B3C8858E + 7AF6D08A-9FE4-46B9-8F16-2E26D45715CE + 7E35FA7C-E390-41BA-A8C5-C1F3B4FAE6A1 + AB128FBD-1C3E-4FB4-91F5-48B57DC6860F + 53AAABF9-D393-4E5B-83BD-0C4CB15DDCC1 + 23289E12-7A1F-41A3-872C-3E867E696A49 + CA0CD4CC-D186-4448-8CB3-215E25951FDF + 2433B69B-6986-4260-97A3-DE23072D8BC6 + 754B2EF6-85D2-4A93-996F-D6D9E8A27F1E + BDF614B5-430B-46AB-B558-B5E0EF97BA17 + 3586B543-C92E-4AEB-92A7-20D948EA60DF + BF6A7ED6-28A0-4165-AA7A-F1F003161AE5 + 0353A694-1EE5-46E0-AC72-2F1631B441CB + 0DF11CB4-2813-4CCB-94EA-4A62E25E9EDC + 92266396-CC97-4F53-B1D3-4DDFD924D8C8 + 2E67996C-AB51-489A-A30D-D829DF17A7EF + 5714E730-271D-436E-86DC-04AB0E71ECE0 + 319D66FC-712A-4B09-A1C0-CB741ED9DD4C + + uuid + DF5CA8A9-626B-44D2-ACBF-44CCB02810E8 + + -- cgit v1.2.3