Skip to content

Commit e509473

Browse files
authored
Update packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/TreeSitterScopeHandler/getQuerySearchRange.ts
1 parent 1322270 commit e509473

File tree

1 file changed

+2
-2
lines changed
  • packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/TreeSitterScopeHandler

1 file changed

+2
-2
lines changed

packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/TreeSitterScopeHandler/getQuerySearchRange.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ function getQuerySearchRangeCore(
7474
const proximalShift = containment === "disallowed" ? 1 : -adjacentShift;
7575

7676
// FIXME: Don't go all the way to end of document when there is no
77-
// distalPosition? Seems wasteful to query all the way to end of document for
78-
// something like "next funk" Might be better to start smaller and
77+
// distalOffset? Seems wasteful to query all the way to end of document for
78+
// something like "next funk". Might be better to start smaller and
7979
// exponentially grow
8080
return direction === "forward"
8181
? {

0 commit comments

Comments
 (0)