(
origin: Point,
readonly viewportWidth: number,
)
| 756 | diff: Diff = [] |
| 757 | |
| 758 | constructor( |
| 759 | origin: Point, |
| 760 | readonly viewportWidth: number, |
| 761 | ) { |
| 762 | this.cursor = { ...origin } |
| 763 | } |
| 764 | |
| 765 | txn(fn: (prev: Point) => [patches: Diff, next: Delta]): void { |
| 766 | const [patches, next] = fn(this.cursor) |
nothing calls this directly
no outgoing calls
no test coverage detected