diff options
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. |
