summaryrefslogtreecommitdiff
path: root/src/Text.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-31 06:28:48 -0300
committerGabriel Schneider <[email protected]>2026-10-31 06:28:48 -0300
commita479792a1ab2b593642d7f648194bfa23ce01dba (patch)
tree96ddee7d879a9084daa07db43b0b7910b072a785 /src/Text.zig
parente179cc44fe5060c76a5b00c41e53f11209f5acd9 (diff)
parent4c761893e5b3fdae422622cfa02104ab36633045 (diff)
downloadpardes-a479792a1ab2b593642d7f648194bfa23ce01dba.tar.gz
pardes-a479792a1ab2b593642d7f648194bfa23ce01dba.zip
Merge the upstream daemon and replicated client/server refactor
Diffstat (limited to 'src/Text.zig')
-rw-r--r--src/Text.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Text.zig b/src/Text.zig
index b57c953a..da4be590 100644
--- a/src/Text.zig
+++ b/src/Text.zig
@@ -49,6 +49,10 @@ pub const SelRange = struct {
sticky: i32 = -1,
};
+/// The replay digest's walk (src/walk.zig) of the histories and the ranges:
+/// as far as they go (the ranges' room is made whole and used `nsel` deep).
+pub const replica = .{ .len = .{ .{ "ed_undo", "ed_undo_len" }, .{ "ed_redo", "ed_redo_len" }, .{ "sels", "nsel" } } };
+
what: What = .body,
/// The characters of a text that holds its own (gpa-owned): everything but
/// a body, which reads its pane's. A tag nobody has changed has none yet and