{"draft":null,"from":228,"to":229,"files":[{"path":"src/engine/view.ts","added":10,"removed":4,"diff":"--- a/src/engine/view.ts\n+++ b/src/engine/view.ts\n@@ -859,15 +859,17 @@\n \t/** Atom-building line handles; text is loaded only when requested. */\n \tbuildLines(path: string): readonly VisibleLine[] {\n \t\tconst graph = this.graph;\n-\t\tconst vis = this.#file(path).vis;\n+\t\t// Texts the packed layout already holds are not read again (abso Capacity).\n+\t\tconst { vis, visText } = this.#file(path);\n \t\tconst lines: VisibleLine[] = new Array(vis.length);\n \t\tfor (let i = 0; i < vis.length; i++) {\n \t\t\tconst n = vis[i]!;\n+\t\t\tconst packed = visText?.[i];\n \t\t\tlines[i] = {\n \t\t\t\tid: graph.lineIdOf(n),\n \t\t\t\ttextChunks: () => graph.textChunks(n),\n \t\t\t\tget text() {\n-\t\t\t\t\treturn graph.textOf(n);\n+\t\t\t\t\treturn packed ?? graph.textOf(n);\n \t\t\t\t},\n \t\t\t\tatom: graph.idOfSeq(graph.writerSeqOf(n)),\n \t\t\t};\n@@ -879,11 +881,15 @@\n \tlines(path: string): readonly VisibleLine[] {\n \t\tif (this.#linesCache?.path === path) return this.#linesCache.lines;\n \t\tconst graph = this.graph;\n-\t\tconst vis = this.#file(path).vis;\n+\t\tconst { vis, visText } = this.#file(path);\n \t\tconst lines: VisibleLine[] = new Array(vis.length);\n \t\tfor (let i = 0; i < vis.length; i++) {\n \t\t\tconst n = vis[i]!;\n-\t\t\tlines[i] = { id: graph.lineIdOf(n), text: graph.textOf(n), atom: graph.idOfSeq(graph.writerSeqOf(n)) };\n+\t\t\tlines[i] = {\n+\t\t\t\tid: graph.lineIdOf(n),\n+\t\t\t\ttext: visText?.[i] ?? graph.textOf(n),\n+\t\t\t\tatom: graph.idOfSeq(graph.writerSeqOf(n)),\n+\t\t\t};\n \t\t}\n \t\tthis.#linesCache = { path, lines };\n \t\treturn lines;"}],"unmatched":[]}