Module: processTargets/modifiers/scopeHandlers/getScopeRelativeToPosition
Functions
getScopeRelativeToPosition
▸ getScopeRelativeToPosition(scopeHandler, editor, position, offset, direction): TargetScope
Runs the scope generator until offset scopes have been yielded and returns
that scope, only yielding scopes that start after or equal position
Parameters
| Name | Type |
|---|---|
scopeHandler | ScopeHandler |
editor | TextEditor |
position | Position |
offset | number |
direction | Direction |
Returns
Defined in
processTargets/modifiers/scopeHandlers/getScopeRelativeToPosition.ts:17