提交 37f14844 编写于 作者: J Johannes Rieken

fix #19493

上级 3af0e9d6
......@@ -114,7 +114,7 @@ export class SuggestModel implements IDisposable {
this.requestPromise = null;
this.completionModel = null;
this.context = null;
this.currentPosition = editor.getPosition();
this.currentPosition = editor.getPosition() || new Position(1, 1);
// wire up various listeners
this.toDispose.push(this.editor.onDidChangeModel(() => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册