From 8d647e9c9fc747c14a222a53f9e3db1ba7a07d01 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 5 Nov 2026 00:05:42 -0300 Subject: pardes, normal, edit: multi_on goes: outside a replay the replay state means one range, its first pass (index 0, count 1, first true), so setYank, registerValue, pushUndo and the open-lines and Tab checks read it plainly; Pardes's walked shape changes, so a client and a daemon from either side refuse each other (wire semantics) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- src/pardes.zig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/pardes.zig') diff --git a/src/pardes.zig b/src/pardes.zig index bc0266c5..e46eb5f7 100644 --- a/src/pardes.zig +++ b/src/pardes.zig @@ -3946,12 +3946,12 @@ pub const Pardes = struct { pdf_hover_preview: if (pdf_enabled) ?look.PdfWordPreview else void = if (pdf_enabled) null else {}, wheel_guard: u8 = 0, ctrl_w_pending: bool = false, - multi_on: bool = false, - multi_first: bool = false, + /// While a key is replayed across the ranges (normal.replaySels): which + /// range this pass is, in document order, how many there are, and + /// whether this is the first pass; outside a replay, the one range and + /// its first pass. A register value belongs to its range by this index. + multi_first: bool = true, multi_stop: bool = false, - /// While a key is replayed across the ranges: which range this pass is, - /// in document order, and how many there are. A register value belongs - /// to its range by this index. multi_index: usize = 0, multi_count: usize = 1, /// The register the running normal command names (`"`); 0 for the -- cgit v1.3