From c1917b949b9580de8bf0977874a210f0266812da Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 6 Nov 2026 06:24:42 -0300 Subject: kinds #14, the core's PDF code gone: pdf.zig and pdf_view.zig leave and every pdf_enabled branch with them; look, Jump, Recent, dumps (one from before the addon opens as its pane), the watch, mouse, keys, the rail and the tag go through Kind for any kind's pane; test/pdf.zig's behaviours are T1 cases over 9P (addons_pdf.zig) and pane cases (a Shadow over a replica, a file changed under it), the harnesses load pdf.so by path Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- src/surface.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/surface.zig') diff --git a/src/surface.zig b/src/surface.zig index c058e101..15147146 100644 --- a/src/surface.zig +++ b/src/surface.zig @@ -260,9 +260,9 @@ pub const Region = struct { /// A grip's pane has changes it has not saved. dirty: bool = false, /// A rail's thumb: rows from the rail's top, and how many. Zero rows is - /// a rail with no thumb (an image). A native PDF's thumb is measured in - /// document pixels and filled in by Pdf.draw while it paints, so read - /// regions once render has returned. + /// a rail with no thumb (an image). A kind's thumb is where its paint + /// said its window is (`pa_paint.at`, `span`: a PDF's strip), filled in + /// as it paints, so read regions once render has returned. thumb_y: u16 = 0, thumb_h: u16 = 0, /// The same thumb unrounded, for a pixel shell: its top and its length -- cgit v1.3