Module: processTargets/modifiers/getContainingScope
Functions
getContainingScope
▸ getContainingScope(scopeHandler, editor, position, direction): undefined | TargetScope
Gets the smallest containing scope, preferring scopes in direction {@link direction}
Parameters
| Name | Type |
|---|---|
scopeHandler | ScopeHandler |
editor | TextEditor |
position | Position |
direction | Direction |
Returns
undefined | TargetScope
Defined in
processTargets/modifiers/getContainingScope.ts:14