Skip to content

Commit 3346be5

Browse files
Added doc comment
1 parent 121fda9 commit 3346be5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/common/src/types/ScopeProvider.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ export interface ScopeProvider {
1919
config: ScopeRangeConfig,
2020
) => ScopeRanges[];
2121

22+
/**
23+
* Get the scope ranges for the given editor and range.
24+
* @param editor The editor
25+
* @param scopeType The scope type to get ranges for
26+
* @param range The range to get scope ranges for
27+
* @returns A list of scope ranges
28+
*/
2229
provideScopeRangesForRange(
2330
editor: TextEditor,
2431
scopeType: ScopeType,

0 commit comments

Comments
 (0)