Fix missing type declaration in text complete strategy

This commit is contained in:
Wu Cheng-Han 2017-02-03 21:59:26 +08:00
parent 8cfbfa4352
commit 0a3baec5b6
1 changed files with 1 additions and 1 deletions

View File

@ -3953,7 +3953,7 @@ $(editor.getInputField())
match: /(?:^|\n|\s)(\>.*|\s|)((\^|)\[(\^|)\](\[\]|\(\)|\:|)\s*\w*)$/, match: /(?:^|\n|\s)(\>.*|\s|)((\^|)\[(\^|)\](\[\]|\(\)|\:|)\s*\w*)$/,
search: function (term, callback) { search: function (term, callback) {
var line = editor.getLine(editor.getCursor().line); var line = editor.getLine(editor.getCursor().line);
quote = line.match(this.match)[1].trim(); var quote = line.match(this.match)[1].trim();
var list = []; var list = [];
if (quote.indexOf('>') == 0) { if (quote.indexOf('>') == 0) {
$.map(supportExtraTags, function (extratag) { $.map(supportExtraTags, function (extratag) {