Skip to content

Commit d09aeab

Browse files
committed
exthost: fix selection not serializing correctly
1 parent 4f67ddf commit d09aeab

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/vs/editor/common/core/range.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -466,11 +466,6 @@ export class Range {
466466
}
467467

468468
public toJSON(): IRange {
469-
return {
470-
endColumn: this.endColumn,
471-
endLineNumber: this.endLineNumber,
472-
startColumn: this.startColumn,
473-
startLineNumber: this.startLineNumber
474-
};
469+
return this;
475470
}
476471
}

0 commit comments

Comments
 (0)