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

@@ -1044,9 +1044,9 @@ export interface ExtHostCommentsShape {
$replyToCommentThread(handle: number, document: UriComponents, range: IRange, commentThread: modes.CommentThread, text: string): Promise<modes.CommentThread>;
$editComment(handle: number, document: UriComponents, comment: modes.Comment, text: string): Promise<void>;
$deleteComment(handle: number, document: UriComponents, comment: modes.Comment): Promise<void>;
$startDraft(handle: number): Promise<void>;
$deleteDraft(handle: number): Promise<void>;
$finishDraft(handle: number): Promise<void>;
$startDraft(handle: number, document: UriComponents): Promise<void>;
$deleteDraft(handle: number, document: UriComponents): Promise<void>;
$finishDraft(handle: number, document: UriComponents): Promise<void>;
$provideWorkspaceComments(handle: number): Promise<modes.CommentThread[]>;
}