提交 5819ecc8 编写于 作者: A Alex Dima

Fixes #18296: Cannot read property 'positionLineNumber' of undefined

上级 4eef9fab
......@@ -425,7 +425,7 @@ export class Cursor extends EventEmitter {
}
private _interpretCommandResult(cursorState: Selection[]): boolean {
if (!cursorState) {
if (!cursorState || cursorState.length === 0) {
return false;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册