{"draft":null,"from":265,"to":266,"files":[{"path":"src/engine/view.ts","added":24,"removed":0,"diff":"--- a/src/engine/view.ts\n+++ b/src/engine/view.ts\n@@ -56,6 +56,7 @@\n \t| \"knowPaths\"\n \t| \"laidOut\"\n \t| \"forget\"\n+\t| \"placedDifferently\"\n \t| \"fileOfNumber\"\n \t| \"lineNumberOf\"\n \t| \"visibleWriters\"\n@@ -543,6 +544,29 @@\n \t\treturn parent;\n \t}\n \n+\t/**\n+\t * The files where a moved line sits, in this view or in `other`, when the two place it differently: a different\n+\t * relocation wins, or a different parent (abso Capacity). Besides the files a draft's atoms name, these are the only\n+\t * ones a draft's moves can lay out differently from its base, since a line's descendants follow it. Undefined when\n+\t * either view resolves its moves in scratch, which keeps no map of them to compare.\n+\t */\n+\tplacedDifferently(other: View): Set<string> | undefined {\n+\t\tif (this.#scratchMoves() || other.#scratchMoves()) return undefined;\n+\t\tconst here = this.#hasMoves ? this.#relocationsN() : undefined;\n+\t\tconst there = other.#hasMoves ? other.#relocationsN() : undefined;\n+\t\tconst files = new Set<string>();\n+\t\tconst add = (n: number) => {\n+\t\t\tfiles.add(this.#fileOfN(n));\n+\t\t\tfiles.add(other.#fileOfN(n));\n+\t\t};\n+\t\tfor (const [n, x] of here ?? []) {\n+\t\t\tconst y = there?.get(n);\n+\t\t\tif (!y || y.parent !== x.parent || y.r.atom !== x.r.atom) add(n);\n+\t\t}\n+\t\tfor (const n of there?.keys() ?? []) if (!here?.has(n)) add(n);\n+\t\treturn files;\n+\t}\n+\n \t/** Whether any atom in the set moves lines. */\n \thasMoves(): boolean {\n \t\treturn this.#hasMoves;"}],"unmatched":[]}