From 25aa975c91bee6090a8319490bbe166e51292d9d Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Fri, 23 Oct 2026 14:56:10 +0200 Subject: [PATCH] =?UTF-8?q?Answer=20architecture=20round=202:=200=20?= =?UTF-8?q?=F0=9F=94=B4,=200=20=F0=9F=9F=A1=20(0=20misread);=20heldTextLen?= =?UTF-8?q?gth=20private=20to=20writableContent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/adf/document.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adf/document.ts b/src/adf/document.ts index 544e653..7ee8dc0 100644 --- a/src/adf/document.ts +++ b/src/adf/document.ts @@ -94,7 +94,7 @@ export function identicalMarks(left: readonly AdfMark[], right: readonly AdfMark } // The length of the text the nodes hold, the nodes below them included. -export function heldTextLength(nodes: readonly AdfNode[]): number { +function heldTextLength(nodes: readonly AdfNode[]): number { let length = 0 const pending = [...nodes] for (let node = pending.pop(); node !== undefined; node = pending.pop()) {