{"draft":null,"from":124,"to":318,"files":[{"path":"src/engine/conflicts.ts","added":2,"removed":18,"diff":"--- a/src/engine/conflicts.ts\n+++ b/src/engine/conflicts.ts\n@@ -207,23 +207,7 @@\n function visibleNeighbours(view: View, graph: Graph, line: LineId): LineId[] {\n \tconst info = graph.line(line);\n \tif (!info) return [];\n-\tconst sequence = view.sequence(info.file);\n-\tconst at = view.sequenceIndex(info.file, line);\n-\tif (at < 0) return [];\n-\tconst out: LineId[] = [];\n-\tfor (let i = at - 1; i >= 0; i--) {\n-\t\tif (sequence[i]!.visible) {\n-\t\t\tout.push(sequence[i]!.id);\n-\t\t\tbreak;\n-\t\t}\n-\t}\n-\tfor (let i = at + 1; i < sequence.length; i++) {\n-\t\tif (sequence[i]!.visible) {\n-\t\t\tout.push(sequence[i]!.id);\n-\t\t\tbreak;\n-\t\t}\n-\t}\n-\treturn out;\n+\treturn view.visibleNeighbours(info.file, line);\n }\n \n /**\n@@ -261,7 +245,7 @@\n \tconst seen = new Set<string>();\n \tfor (const a of [...changed].sort(bySeq(graph))) {\n \t\tif (a === atom.id) continue;\n-\t\tfor (const link of graph.togetherLinks(a)) {\n+\t\tfor (const link of graph.eachTogetherLink(a)) {\n \t\t\tconst b = link.other;\n \t\t\tif (b === atom.id || !set.has(b) || acknowledged.has(b)) continue;\n \t\t\tconst tag = `${a} ${b}`;"}],"unmatched":[]}