diff options
Diffstat (limited to 'editors/Textmate/Prado.tmbundle/Snippets/TRegularExpressionValidator.tmSnippet')
-rw-r--r-- | editors/Textmate/Prado.tmbundle/Snippets/TRegularExpressionValidator.tmSnippet | 19 |
1 files changed, 19 insertions, 0 deletions
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 @@ +<?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><com:TRegularExpressionValidator + ControlToValidate="${1:controlIDToValidate}" + RegularExpression="${2:\w{5,\}}" + ErrorMessage="${7:mismatch}" />$0</string> + <key>name</key> + <string>TRegularExpressionValidator (TValidator)</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TValidator</string> + <key>uuid</key> + <string>92266396-CC97-4F53-B1D3-4DDFD924D8C8</string> +</dict> +</plist> |