diff options
Diffstat (limited to 'editors/Textmate/Prado.tmbundle/Snippets/TAutoComplete.tmSnippet')
-rw-r--r-- | editors/Textmate/Prado.tmbundle/Snippets/TAutoComplete.tmSnippet | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TAutoComplete.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TAutoComplete.tmSnippet new file mode 100644 index 00000000..2e257124 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TAutoComplete.tmSnippet @@ -0,0 +1,26 @@ +<?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><com:TAutoComplete + ID="${1:textbox1}" + OnSuggest="${2:$1_suggestNames}" + OnSuggestionSelected="${3:$1_suggestionSelected1}" + ResultPanel.CssClass="${4:acomplete}" + Suggestions.DataKeyField="${5:id}" +> + <prop:Suggestions.ItemTemplate> + <li><%# ${6:\$this->Data['name']} %></li> + </prop:Suggestions.ItemTemplate> +</com:TAutoComplete>$0</string> + <key>name</key> + <string>TAutoComplete</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TAutoComplete</string> + <key>uuid</key> + <string>49C6A148-2B66-4220-849D-C59A21FF4281</string> +</dict> +</plist> |