Severity: High.
OrgEditor.init calls restyleOutsideEditing(0..<utf16Length) when stars are not hidden, which is the default (Sources/OrgEditorAppKit/OrgEditor.swift:125; hideLeadingStars defaults to false in Sources/OrgApp/UserConfig.swift:163). The chunked styling set up by load two lines earlier is defeated. Opening the gate's 1 MB section takes 560 ms against a 100 ms gate (76 ms on 2026-10-04); all four gate files fail on open; in the app PaneView.makeEditor takes 387 ms for a 1 MB file, 289 ms at this line. Introduced by 265b9d6. Remove the whole-file restyle and let the chunked styling honour indented and hideStars.
From the performance review, docs/review-2026-11-21.md (#96).
Platforms: macOS.
closed by cmc in commit 26d74b83c5: Style only the first chunk when a file opens
2026-11-22 13:14 UTC