summaryrefslogtreecommitdiff
path: root/editors/Textmate/Prado.tmbundle/Snippets/TCompareValidator.tmSnippet
diff options
context:
space:
mode:
Diffstat (limited to 'editors/Textmate/Prado.tmbundle/Snippets/TCompareValidator.tmSnippet')
-rw-r--r--editors/Textmate/Prado.tmbundle/Snippets/TCompareValidator.tmSnippet21
1 files changed, 21 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>&lt;com:TCompareValidator
+ ControlToValidate="${1:controlIDToValidate}"
+ ${2:ControlToCompare="${3:controlIDToCompareWith}"
+ DataType="${4:String}"
+ Operator="${5:Equal}"}
+ ErrorMessage="${6:value did not match}" /&gt;$0</string>
+ <key>name</key>
+ <string>TCompareValidator (TValidator)</string>
+ <key>scope</key>
+ <string>text.html</string>
+ <key>tabTrigger</key>
+ <string>TValidator</string>
+ <key>uuid</key>
+ <string>3586B543-C92E-4AEB-92A7-20D948EA60DF</string>
+</dict>
+</plist>