diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-05 00:08:11 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-05 01:16:28 -0300 |
| commit | e5c10e836cbcc2f3409eb709683aba8a780d7ce7 (patch) | |
| tree | c14a5152167f682853301f69c67ab8974d012ace /src/edit.zig | |
| parent | 8d647e9c9fc747c14a222a53f9e3db1ba7a07d01 (diff) | |
| download | pardes-e5c10e836cbcc2f3409eb709683aba8a780d7ce7.tar.gz pardes-e5c10e836cbcc2f3409eb709683aba8a780d7ce7.zip | |
File, edit: dropped marks go: an edit frees the location rows and pager colours it drops, and an undo back to the same text no longer brings them back (visible: a +Pager or a results buffer undone to its text is shown plain); the pager test in ninep/ctl says so and Stream's no longer asks for the field; File.State's walked shape changes (wire semantics)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/edit.zig')
| -rw-r--r-- | src/edit.zig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/edit.zig b/src/edit.zig index 33b0f050..41859273 100644 --- a/src/edit.zig +++ b/src/edit.zig @@ -532,8 +532,6 @@ fn setEditTextSpan(p: *Pardes, t: *Text, new: []u8, known_end: ?modal.Cursor, sp f.location_rows = &.{}; f.pager_spans = &.{}; panes.File.setContentSpan(p, f, kept, null); - if (f.location_rows.len > 0) @import("locations.zig").freeRows(p.gpa, f.location_rows); - p.gpa.free(f.pager_spans); f.location_rows = rows; f.pager_spans = spans; return; |
