This commit is contained in:
rebornix
2021-10-19 16:37:00 -07:00
parent 286370b347
commit f6de5208d8
5 changed files with 35 additions and 1 deletions

View File

@@ -483,7 +483,16 @@ export function createExtHostComments(mainContext: IMainContext, commands: ExtHo
}
private _threads: Map<number, ExtHostCommentThread> = new Map<number, ExtHostCommentThread>();
commentingRangeProvider?: vscode.CommentingRangeProvider;
private _commentingRangeProvider?: vscode.CommentingRangeProvider;
get commentingRangeProvider(): vscode.CommentingRangeProvider | undefined {
return this._commentingRangeProvider;
}
set commentingRangeProvider(provider: vscode.CommentingRangeProvider | undefined) {
this._commentingRangeProvider = provider;
proxy.$updateCommentingRanges(this.handle);
}
private _reactionHandler?: ReactionHandler;