summaryrefslogtreecommitdiff
path: root/src/Text.zig
Commit message (Collapse)AuthorAge
* Give a pane's body its own Text holding the cursor, selections, mode and undoGabriel Schneider4 days
acme keeps what edits a text in its Text (dat.h:171-190) and the window holds a body and a tag of that type. The cursor, the selections, the modal state and the edit-buffer undo move off Pane into Text.zig, Pane holds them as its body, and the edit and normal-mode operations take the Text they edit. Nothing changes in behaviour; this is the step that lets the tag become a second Text. Co-Authored-By: Claude Opus 5.5 <[email protected]>