summaryrefslogtreecommitdiff
path: root/src/pardes.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-24 14:31:04 -0300
committerGabriel Schneider <[email protected]>2026-10-24 15:56:58 -0300
commit349bc6fa736edcebd789c5a39885d08f251713a1 (patch)
treee6855670062ecd46d31085d442ea71ca701eb09a /src/pardes.zig
parent8f5871340b87a0d5399967ccc7eac0d12dc10821 (diff)
downloadpardes-349bc6fa736edcebd789c5a39885d08f251713a1.tar.gz
pardes-349bc6fa736edcebd789c5a39885d08f251713a1.zip
Tables 3/3: what a table costs, an edit's tables shifted by its splice and only its block read again (a fence line in it reads all), a big text read from the top 4 ms a frame (nextWake while busy); Tables.zig's tests registered; an empty delimiter cell's alignment
Diffstat (limited to 'src/pardes.zig')
-rw-r--r--src/pardes.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pardes.zig b/src/pardes.zig
index 7f79f094..79a2e5a5 100644
--- a/src/pardes.zig
+++ b/src/pardes.zig
@@ -494,6 +494,7 @@ test {
_ = @import("Names.zig");
_ = @import("Stream.zig");
_ = @import("Finder.zig");
+ _ = @import("Tables.zig");
}
pub const Builtin = builtins.registry.Builtin();
@@ -7655,6 +7656,8 @@ pub const Pardes = struct {
if (p.chrome_animation.isActive() or p.presentation.animating()) return next;
// Places still to find resume on the next frame.
for (p.panes) |slot| if (slot) |pane| if (pane.places.busy(pane)) return next;
+ // A markdown text's tables still being read from the top (Tables.zig).
+ for (p.panes) |slot| if (slot) |pane| if (pane.file) |f| if (f.tables.busy()) return next;
if (panes.Query.busy(p)) return next;
// A typed Grep waiting out its pause.
const streaming = p.stream.wake(next);