From 8188d7d89c33d88bab28a128ab08789cef3475c7 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Tue, 30 Dec 2014 17:08:15 +0800 Subject: [PATCH] . --- static/js/editors.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/editors.js b/static/js/editors.js index 536655b..1148766 100644 --- a/static/js/editors.js +++ b/static/js/editors.js @@ -390,7 +390,8 @@ var editors = { CodeMirror.commands.autocompleteAfterDot = function (cm) { var token = cm.getTokenAt(cm.getCursor()); - if ("comment" === token.type) { + + if ("comment" === token.type || "string" === token.type) { return CodeMirror.Pass; }