We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16b495e commit d1063d2Copy full SHA for d1063d2
addon/hint/show-hint.js
@@ -98,7 +98,7 @@
98
var pos = this.cm.getCursor(), line = this.cm.getLine(pos.line);
99
if (pos.line != this.startPos.line || line.length - pos.ch != this.startLen - this.startPos.ch ||
100
pos.ch < this.startPos.ch || this.cm.somethingSelected() ||
101
- (pos.ch && this.options.closeCharacters.test(line.charAt(pos.ch - 1)))) {
+ (!pos.ch || this.options.closeCharacters.test(line.charAt(pos.ch - 1)))) {
102
this.close();
103
} else {
104
var self = this;
0 commit comments