diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-19 19:55:02 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-19 19:55:02 -0300 |
| commit | 2ab05b536bc3b063666b5aaab497157adc2a9120 (patch) | |
| tree | 4b796e6abaf7658294d2b6cbb5d35e0210b88b40 /core/File.zig | |
| parent | e4f99d2370c8b44e76b541826d91356d86090f53 (diff) | |
| parent | 786cddd24e2be36d30847300075cec8c45d1b0ca (diff) | |
| download | pardes-2ab05b536bc3b063666b5aaab497157adc2a9120.tar.gz pardes-2ab05b536bc3b063666b5aaab497157adc2a9120.zip | |
integration: the regular-expression fixes with the fixes the real loops asked for: pardes-regex-2 (mvzr's reads past a pattern cut short patched as it is fetched; the leak of a pattern that does not compile; the soak's corpus check comparing what is visible) and pardes-draw-2 (a step's notice bands and a markdown text's tables made from the step's own state, never from the last frame; a load under way in another live process no crash; an idle pair silent), merged without a conflict; gates in the coordinator's ledger
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/File.zig')
| -rw-r--r-- | core/File.zig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/File.zig b/core/File.zig index 820447ac..c9ee6b71 100644 --- a/core/File.zig +++ b/core/File.zig @@ -1722,8 +1722,8 @@ fn mapRows(tab: u16, pane: *Pane, f: *State) usize { } /// Everything the geometry is made of, hashed: the text (its revision and -/// length), where it is scrolled, the pane's size, its tables as far as -/// they have been read, its context declarations, the session's view. +/// length), where it is scrolled, the pane's size, its tables, its context +/// declarations, the session's view. fn geometryKey(pane: *const Pane, f: *const State) u64 { const t = &f.tables; const facts = .{ @@ -1732,8 +1732,8 @@ fn geometryKey(pane: *const Pane, f: *const State) u64 { pane.query != null, f.pager, f.mini != null, f.output != null, if (f.output) |o| pardes.walk.digest(Output.Origin, &o.from) else 0, std.hash.Wyhash.hash(0, f.path), f.tree_context, f.context.revision orelse 0, f.context.declarations.len, f.line_starts.len, t.revision orelse 0, t.list.items.len, - if (t.pending) |r| r.at else std.math.maxInt(usize), pane.view.wrap, pane.view.layered, pane.view.body_h, - pane.view.tagline_h, pane.view.rect_h, + pane.view.wrap, pane.view.layered, pane.view.body_h, pane.view.tagline_h, + pane.view.rect_h, }; // One hash of them laid out as words: every reader of the map asks for // this key, a hundred times a frame. |
