From 2ddd5bcbe8d470c00b045af5822418fe429357bc Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 6 Nov 2026 15:58:05 -0300 Subject: kinds #37, tests and docs for ABI 3: the image dump tests reopen from the path (through the same /n/os mount, and a file gone waits saying so until a watch or a Look opens it), the PDF view tests assert the art words in every view and each view told, /addons says 3.0 and a 2.2 fake is refused, reference.typ's Addons section and the changelog say ABI 3 Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- test/pdf_scroll_bench.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/pdf_scroll_bench.zig') diff --git a/test/pdf_scroll_bench.zig b/test/pdf_scroll_bench.zig index 93067d03..58e7cfb0 100644 --- a/test/pdf_scroll_bench.zig +++ b/test/pdf_scroll_bench.zig @@ -228,7 +228,7 @@ fn probeTravel(config: Config) Travel { const slot = pdfPane(core).addon.?; if (slot.thumb_span <= 0) fatal("{s}: the strip never laid out", .{config.path}); // The strip is the window over the share of it shown. - const window_px = @as(f64, @floatFromInt(pardes.Kind.viewOf(core, core.view().active).rows)) * @as(f64, @floatFromInt(config.cell.h)); + const window_px = @as(f64, @floatFromInt(pardes.Kind.viewOf(core, core.live, core.view().active).rows)) * @as(f64, @floatFromInt(config.cell.h)); var pages: u32 = 0; const prefix = slot.prefix.slice(); if (std.mem.indexOfScalar(u8, prefix, '/')) |slash| pages = std.fmt.parseInt(u32, prefix[slash + 1 .. prefix.len - 1], 10) catch 0; -- cgit v1.3