diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-24 19:37:15 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-24 19:38:18 -0300 |
| commit | 480f36b85299fa7407c20a2d6482dd093f842bf7 (patch) | |
| tree | 5d07c37c3e4eae82ec35ed100799d5810a8912aa /core/File.zig | |
| parent | f44d1b7d040acf674814be3cde336527833450e9 (diff) | |
| parent | 9f63733156853c925c31a948b50d4a3a7b77aa70 (diff) | |
| download | pardes-480f36b85299fa7407c20a2d6482dd093f842bf7.tar.gz pardes-480f36b85299fa7407c20a2d6482dd093f842bf7.zip | |
walk UI wave-2 base: line A items 1-4 (kquzozvs) merged with line B items 1-5 (mqmtqvtt)
Diffstat (limited to 'core/File.zig')
| -rw-r--r-- | core/File.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/File.zig b/core/File.zig index 07dfa52d..2affde32 100644 --- a/core/File.zig +++ b/core/File.zig @@ -1312,6 +1312,8 @@ fn edit(p: *Pardes, f: *State, off: usize, len: usize, bytes_in: []const u8, who } f.revision +%= 1; f.splice = .{ .revision = f.revision, .head = span.head, .tail = span.tail, .old_len = old_len }; + // Edited, a reading pane is held (pick-ui SPEC ยง6.5). + if (how == .edit) pardes.Trail.edited(p, f); if (!told) { // The file's text is as it was: as clean as it was, its // declarations still its own. |
