From 1d7b1f0ef48183e6e16a3937792db83d28f1708c Mon Sep 17 00:00:00 2001 From: Andreas Arvidsson Date: Thu, 26 Dec 2024 15:28:27 +0100 Subject: [PATCH] Added comment --- .../SurroundingPairScopeHandler/createRangeTree.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/SurroundingPairScopeHandler/createRangeTree.ts b/packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/SurroundingPairScopeHandler/createRangeTree.ts index 13b62a1d90..d42610c133 100644 --- a/packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/SurroundingPairScopeHandler/createRangeTree.ts +++ b/packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/SurroundingPairScopeHandler/createRangeTree.ts @@ -3,7 +3,7 @@ import { RangeTreeNode } from "./RangeTreeNode"; /** * Creates a tree of ranges from a list of ranges. This improves containing lookup time. - * @param items The ranges to create a tree from. + * @param items The ranges to create a tree from. They must be sorted in document order. * @returns The root nodes of the tree. */ export function createRangeTree(