This commit is contained in:
Johannes Rieken
2018-03-09 08:47:47 +01:00
parent 80be02c64e
commit 5ef4e4e4ed

View File

@@ -405,6 +405,12 @@ export class SuggestModel implements IDisposable {
return;
}
if (ctx.leadingWord.startColumn < this._context.leadingWord.startColumn) {
// happens when the current word gets outdented
this.cancel();
return;
}
if (ctx.column < this._context.column) {
// typed -> moved cursor LEFT -> retrigger if still on a word
if (ctx.leadingWord.word) {