This commit is contained in:
parent
3de0437227
commit
8188d7d89c
|
@ -390,7 +390,8 @@ var editors = {
|
||||||
|
|
||||||
CodeMirror.commands.autocompleteAfterDot = function (cm) {
|
CodeMirror.commands.autocompleteAfterDot = function (cm) {
|
||||||
var token = cm.getTokenAt(cm.getCursor());
|
var token = cm.getTokenAt(cm.getCursor());
|
||||||
if ("comment" === token.type) {
|
|
||||||
|
if ("comment" === token.type || "string" === token.type) {
|
||||||
return CodeMirror.Pass;
|
return CodeMirror.Pass;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue