Index: Source/devtools/front_end/CodeMirrorTextEditor.js |
diff --git a/Source/devtools/front_end/CodeMirrorTextEditor.js b/Source/devtools/front_end/CodeMirrorTextEditor.js |
index 031948f3a771fe003168e518dc5090976dcf0349..be425e0a8cba7ac39abfea3bbcaf47ac166cb64e 100644 |
--- a/Source/devtools/front_end/CodeMirrorTextEditor.js |
+++ b/Source/devtools/front_end/CodeMirrorTextEditor.js |
@@ -1714,7 +1714,7 @@ WebInspector.CodeMirrorTextEditor.AutocompleteController.prototype = { |
if (!this._suggestBox) |
return; |
var cursor = this._codeMirror.getCursor(); |
- if (cursor.line !== this._prefixRange.startLine || cursor.ch > this._prefixRange.endColumn || cursor.ch < this._prefixRange.startColumn) |
+ if (cursor.line !== this._prefixRange.startLine || cursor.ch > this._prefixRange.endColumn || cursor.ch <= this._prefixRange.startColumn) |
this.finishAutocomplete(); |
}, |