Merge pull request #1583 from ajaxorg/autocomplete
improve autocomplete popup
This commit is contained in:
commit
f860b88e51
10 changed files with 267 additions and 122 deletions
|
|
@ -600,7 +600,7 @@ env.editSnippets = function() {
|
|||
editor.on("blur", function() {
|
||||
m.snippetText = editor.getValue();
|
||||
snippetManager.unregister(m.snippets);
|
||||
m.snippets = snippetManager.parseSnippetFile(m.snippetText);
|
||||
m.snippets = snippetManager.parseSnippetFile(m.snippetText, m.scope);
|
||||
snippetManager.register(m.snippets);
|
||||
})
|
||||
sp.$editors[0].once("changeMode", function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue