Skip to content

SelectionRangeProvider

原文链接

https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.SelectionRangeProvider.html

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

provideSelectionRanges