summaryrefslogtreecommitdiff
path: root/editors/Textmate/Prado.tmbundle/Snippets/TReCaptcha.tmSnippet
diff options
context:
space:
mode:
authorctrlaltca <>2012-07-24 17:28:14 +0000
committerctrlaltca <>2012-07-24 17:28:14 +0000
commit59ef1ca568d8e20a726e343556113c117ce5022c (patch)
treeeaeeb5b386281a3c82afe2fe6d237bc03646a7f5 /editors/Textmate/Prado.tmbundle/Snippets/TReCaptcha.tmSnippet
parent255db529c49ae00f5e8defb14c77461582edfd39 (diff)
updated plugin for textmate editor (works on "sublime text editor 2", too):
- updated prado syntax to the php's and html's current versions - added missing webcontrols (activecontrols still missing)
Diffstat (limited to 'editors/Textmate/Prado.tmbundle/Snippets/TReCaptcha.tmSnippet')
-rw-r--r--editors/Textmate/Prado.tmbundle/Snippets/TReCaptcha.tmSnippet18
1 files changed, 18 insertions, 0 deletions
diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TReCaptcha.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TReCaptcha.tmSnippet
new file mode 100644
index 00000000..2fe59b81
--- /dev/null
+++ b/editors/Textmate/Prado.tmbundle/Snippets/TReCaptcha.tmSnippet
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>&lt;com:TReCaptcha ID="${1:captcha1}" /&gt;
+&lt;com:TTextBox ID="${1}input" /&gt;
+&lt;com:TReCaptchaValidator CaptchaControl="${1}" ControlToValidate="${1}input" ErrorMessage="${2:You are challenged!}" /&gt;$0</string>
+ <key>name</key>
+ <string>TReCaptcha</string>
+ <key>scope</key>
+ <string>text.html</string>
+ <key>tabTrigger</key>
+ <string>TReCaptcha</string>
+ <key>uuid</key>
+ <string>2B964B74-45B4-45A7-87D5-A1B85F1870EF</string>
+</dict>
+</plist>