A provider of folding ranges for editor models.

interface FoldingRangeProvider {
    onDidChange?: IEvent<FoldingRangeProvider>;
    provideFoldingRanges(model, context, token): ProviderResult<FoldingRange[]>;
}

Properties

An optional event to signal that the folding ranges from this provider have changed.

Methods