(
origin: Point,
readonly viewportWidth: number,
)
| 1789 | diff: Diff = [] |
| 1790 | |
| 1791 | constructor( |
| 1792 | origin: Point, |
| 1793 | readonly viewportWidth: number, |
| 1794 | ) { |
| 1795 | this.cursor = { ...origin } |
| 1796 | } |
| 1797 | |
| 1798 | txn(fn: (prev: Point) => [patches: Diff, next: Delta]): void { |
| 1799 | const [patches, next] = fn(this.cursor) |
nothing calls this directly
no outgoing calls
no test coverage detected