diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-01 19:50:32 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 19:57:27 -0300 |
| commit | dce94f4453735a6f71385cc020ee79c7604609e7 (patch) | |
| tree | 266e031b92a282187467f5e35c1b0824b4b7a5f2 /src/macos/Sources/ScenePostprocessor.swift | |
| parent | 2868516c215a96d9e1e933ded7ac5744ec16c368 (diff) | |
| download | pardes-dce94f4453735a6f71385cc020ee79c7604609e7.tar.gz pardes-dce94f4453735a6f71385cc020ee79c7604609e7.zip | |
Zerox opens a second pane on a file pane's buffer: one text, undo and unsaved state, a scroll and a cursor each; an edit in either is spliced into both at File.setContentSpan, O(the edit) more, and what a Save, a get, the disk watch or a rename changes on one is copied to the rest after each step
Twins share the content buffer, the History and, while it is one, the line
index; the other twin's cursor and scroll move past the splice as acme
moves a clone's q0. Del of one twin asks nothing while another holds the
text, Exit lists the text once, and a closed twin keeps a copy of its own
until it is torn down. Both are in the index, each its serial, one name.
An event reader on one hears no edit made through another (first cut).
A dump keeps the twins as two panes on the file, not linked again.
perf: edit-twin, typing beside a twin of the 50k-line file, gated within
3x of edit-char in the same run; the three baselines re-recorded for it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/macos/Sources/ScenePostprocessor.swift')
0 files changed, 0 insertions, 0 deletions
