diff options
author | ctrlaltca <> | 2012-07-24 18:45:25 +0000 |
---|---|---|
committer | ctrlaltca <> | 2012-07-24 18:45:25 +0000 |
commit | bb1b020a37785acf824c7c76bf5a1f868e826297 (patch) | |
tree | 27ebd8b222f2760cd64d2ed054f3fc50830ba3e9 /editors/Textmate/Prado.tmbundle/Snippets/TAutoComplete.tmSnippet | |
parent | 59ef1ca568d8e20a726e343556113c117ce5022c (diff) |
updated plugin for textmate editor (works on "sublime text editor 2", too): added activecontrols
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> |