Skip to content

Commit 97ea33a

Browse files
Merge branch 'pythonArguments' of github.com:cursorless-dev/cursorless into pythonArguments
2 parents 5390679 + a77845d commit 97ea33a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/util/getCollectionItemRemovalRange.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ import type { Range, TextEditor } from "@cursorless/common";
33
import { getRangeLength } from "../../../../util/rangeUtils";
44

55
/**
6-
* We have both leading and trailing delimiter ranges
7-
* If the leading one is longer/more specific, prefer to use that for removal;
8-
* otherwise use undefined to fallback to the default behavior (often trailing)
6+
* Picks which of the leading and trailing delimiter ranges to use for removal when both are present.
7+
*
8+
* If the leading one is longer/more specific, prefer to use that for removal; otherwise,
9+
* use undefined to force a fallback to the default behavior (often trailing)
910
*/
1011
export function getCollectionItemRemovalRange(
1112
isEveryScope: boolean,

0 commit comments

Comments
 (0)