diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-01 20:50:11 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 20:50:11 -0300 |
| commit | 081e1b9ab9d3bb8afaae8ea040c7767cb6e4f863 (patch) | |
| tree | 8184d5f206b00c8e5e18445e1626e360b11ed65f /src/gui.zig | |
| parent | 4bdeee602d1e642582ce91fdbd0da210797894e9 (diff) | |
| download | pardes-081e1b9ab9d3bb8afaae8ea040c7767cb6e4f863.tar.gz pardes-081e1b9ab9d3bb8afaae8ea040c7767cb6e4f863.zip | |
Undo after Get file or Edit's e puts the old name back with the old text and its clean state, so a Save or Putall after it writes nothing over the loaded file; a Get file that fails, or is asked about unsaved edits, renames nothing; Get file in a directory pane is refused with how to open it
ctl.getFile is the one load-under-a-name path: it reads first, then makes
one undo step (whose snapshot now keeps the name and its saved state),
renames and loads, and leaves the pane clean.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/gui.zig')
0 files changed, 0 insertions, 0 deletions
