This commit is contained in:
Liang Ding 2014-12-30 17:08:15 +08:00
parent 3de0437227
commit 8188d7d89c
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}