Function
addChangedCells
(previous: Set<string>, next: Set<string>, changed: Set<string>)
Source from the content-addressed store, hash-verified
| 155 | } |
| 156 | |
| 157 | function addChangedCells(previous: Set<string>, next: Set<string>, changed: Set<string>) { |
| 158 | for (const cellId of previous) { |
| 159 | if (!next.has(cellId)) changed.add(cellId); |
| 160 | } |
| 161 | for (const cellId of next) { |
| 162 | if (!previous.has(cellId)) changed.add(cellId); |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | function cloneCellStyleState( |
| 167 | unlocked: Set<string>, |
Tested by
no test coverage detected