Interface SelectionRangeProvider

interface SelectionRangeProvider {
    provideSelectionRanges(
        model: ITextModel,
        positions: Position[],
        token: CancellationToken,
    ): ProviderResult<SelectionRange[][]>;
}

Methods§

§

provideSelectionRanges(
    model: ITextModel,
    positions: Position[],
    token: CancellationToken,
): ProviderResult<SelectionRange[][]>

Provide ranges that should be selected from the given position.