summaryrefslogtreecommitdiff
path: root/src/pardes.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-05 00:05:42 -0300
committerGabriel Schneider <[email protected]>2026-11-05 01:16:28 -0300
commit8d647e9c9fc747c14a222a53f9e3db1ba7a07d01 (patch)
tree9f935408a95fab551b5882c834fbf19352fdbc67 /src/pardes.zig
parenta92951b11ab3aa2cdf759b3b743f8af006c21b95 (diff)
downloadpardes-8d647e9c9fc747c14a222a53f9e3db1ba7a07d01.tar.gz
pardes-8d647e9c9fc747c14a222a53f9e3db1ba7a07d01.zip
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 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/pardes.zig')
-rw-r--r--src/pardes.zig10
1 files changed, 5 insertions, 5 deletions
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 (`"<reg>`); 0 for the