commentingRangeS

This commit is contained in:
Peng Lyu
2019-03-11 11:41:44 -07:00
parent 65ba7da691
commit 414aa83658
2 changed files with 2 additions and 2 deletions

View File

@@ -108,7 +108,7 @@ export class ExtHostComments implements ExtHostCommentsShape {
const document = this._documents.getDocument(URI.revive(uriComponents));
return asPromise(() => {
return commentController.commentingRangeProvider.provideCommentingRange(document, token);
return commentController.commentingRangeProvider.provideCommentingRanges(document, token);
}).then(ranges => ranges ? ranges.map(extHostTypeConverter.Range.from) : undefined);
}