Skip to content

Commit fa57ab2

Browse files
Update packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/ContiguousScopeHandler.ts
Co-authored-by: Pokey Rule <[email protected]>
1 parent 48c7a65 commit fa57ab2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/ContiguousScopeHandler.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ export class ContiguousScopeHandler extends BaseScopeHandler {
5555
editor: TextEditor,
5656
position: Position,
5757
): Iterable<TargetScope> {
58-
let targetsForward = next(
59-
getTargetsInDirection(this.scopeHandler, editor, position, "forward"),
58+
let targetRangeForward = next(
59+
generateTargetRangesInDirection(this.scopeHandler, editor, position, "forward"),
6060
);
6161

6262
const targetsBackward = getTargetsInDirection(

0 commit comments

Comments
 (0)