mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
commentingRangeS
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user