Add document parameter to draft methods on comments provider

This commit is contained in:
Rachel Macfarlane
2018-12-18 14:57:39 -08:00
parent 26084201c8
commit c5c15eb75f
7 changed files with 51 additions and 33 deletions

View File

@@ -54,14 +54,14 @@ export class MainThreadDocumentCommentProvider implements modes.DocumentCommentP
return this._proxy.$deleteComment(this._handle, uri, comment);
}
async startDraft(token): Promise<void> {
return this._proxy.$startDraft(this._handle);
async startDraft(uri, token): Promise<void> {
return this._proxy.$startDraft(this._handle, uri);
}
async deleteDraft(token): Promise<void> {
return this._proxy.$deleteDraft(this._handle);
async deleteDraft(uri, token): Promise<void> {
return this._proxy.$deleteDraft(this._handle, uri);
}
async finishDraft(token): Promise<void> {
return this._proxy.$finishDraft(this._handle);
async finishDraft(uri, token): Promise<void> {
return this._proxy.$finishDraft(this._handle, uri);
}
onDidChangeCommentThreads = null;