Skip to content

Commit 4a6aaf1

Browse files
Sorting ports
1 parent 8228fed commit 4a6aaf1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/CollectionItemScopeHandler/CollectionItemTextualScopeHandler.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import type {
1313
ComplexScopeType,
1414
ScopeIteratorRequirements,
1515
} from "../scopeHandler.types";
16+
import { scopeHandlerCache } from "../ScopeHandlerCache";
1617
import type { ScopeHandlerFactory } from "../ScopeHandlerFactory";
1718
import { isEveryScopeModifier } from "../util/isHintsEveryScope";
1819
import { OneWayNestedRangeFinder } from "../util/OneWayNestedRangeFinder";
@@ -21,7 +22,6 @@ import { collectionItemTextualIterationScopeHandler } from "./collectionItemText
2122
import { createTargetScope } from "./createTargetScope";
2223
import { getInteriorRanges } from "./getInteriorRanges";
2324
import { getSeparatorOccurrences } from "./getSeparatorOccurrences";
24-
import { scopeHandlerCache } from "../ScopeHandlerCache";
2525

2626
export class CollectionItemTextualScopeHandler extends BaseScopeHandler {
2727
public scopeType: ScopeType = { type: "collectionItem" };
@@ -49,7 +49,6 @@ export class CollectionItemTextualScopeHandler extends BaseScopeHandler {
4949

5050
if (!scopeHandlerCache.isValid(cacheKey, editor.document)) {
5151
const scopes = this.getsScopes(editor, direction, isEveryScope);
52-
5352
scopeHandlerCache.update(cacheKey, editor.document, scopes);
5453
}
5554

0 commit comments

Comments
 (0)