|
|
@ -20737,13 +20737,11 @@ BI.Trigger = BI.inherit(BI.Single, { |
|
|
|
addMatches(result, search, tables, function(w) {return w}); |
|
|
|
addMatches(result, search, tables, function(w) {return w}); |
|
|
|
addMatches(result, search, defaultTable, function(w) {return w}); |
|
|
|
addMatches(result, search, defaultTable, function(w) {return w}); |
|
|
|
if (!disableKeywords) |
|
|
|
if (!disableKeywords) |
|
|
|
addMatches(result, search, keywords, function(w) {return w;}); |
|
|
|
addMatches(result, search, keywords, function(w, i) { |
|
|
|
// 这边是加tooltip的,现在貌似不要了
|
|
|
|
var isKeyword = i < keywordsCount; |
|
|
|
// addMatches(result, search, keywords, function(w, i) {
|
|
|
|
return { |
|
|
|
// var isKeyword = i < keywordsCount;
|
|
|
|
isKeyword: isKeyword, |
|
|
|
// return {
|
|
|
|
text: w |
|
|
|
// isKeyword: isKeyword,
|
|
|
|
|
|
|
|
// text: w,
|
|
|
|
|
|
|
|
// description: desc[w] || "SQL关键字",
|
|
|
|
// description: desc[w] || "SQL关键字",
|
|
|
|
// className: isKeyword ? "sql-keyword" : "sql-fr-function",
|
|
|
|
// className: isKeyword ? "sql-keyword" : "sql-fr-function",
|
|
|
|
// render: function (Element, self, data) {
|
|
|
|
// render: function (Element, self, data) {
|
|
|
@ -20756,8 +20754,8 @@ BI.Trigger = BI.inherit(BI.Single, { |
|
|
|
// container: "body"
|
|
|
|
// container: "body"
|
|
|
|
// });
|
|
|
|
// });
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// };
|
|
|
|
}; |
|
|
|
// });
|
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return {list: result, from: Pos(cur.line, start), to: Pos(cur.line, end)}; |
|
|
|
return {list: result, from: Pos(cur.line, start), to: Pos(cur.line, end)}; |
|
|
|