diff options
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 09dc44f1..c416ddf3 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. |
