Skip to content

Commit 1a46aa8

Browse files
Rename
1 parent ae2804b commit 1a46aa8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/SurroundingPairScopeHandler/getDelimiterOccurrences.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import type { LanguageDefinition } from "../../../../languages/LanguageDefinitio
88
import type { QueryCapture } from "../../../../languages/TreeSitterQuery/QueryCapture";
99
import { getDelimiterRegex } from "./getDelimiterRegex";
1010
import { OneWayRangeFinder } from "./OneWayRangeFinder";
11-
import { RangeLookupTree } from "./RangeLookupTree";
11+
import { OneWayNestedRangeFinder } from "./OneWayNestedRangeFinder";
1212
import type { DelimiterOccurrence, IndividualDelimiter } from "./types";
1313

1414
/**
@@ -32,7 +32,7 @@ export function getDelimiterOccurrences(
3232
getSortedCaptures(languageDefinition, document, "disqualifyDelimiter"),
3333
);
3434
// We need a tree for text fragments since they can be nested
35-
const textFragments = new RangeLookupTree(
35+
const textFragments = new OneWayNestedRangeFinder(
3636
getSortedCaptures(languageDefinition, document, "textFragment"),
3737
);
3838

0 commit comments

Comments
 (0)