From cd4a5b991104a2dc96a4bb7390451fb384376a9a Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Mon, 3 Aug 2026 09:35:25 -0300 Subject: add PDF sections output and Look navigation --- src/output_pane.zig | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/output_pane.zig') diff --git a/src/output_pane.zig b/src/output_pane.zig index 4b62a06e..49af86af 100644 --- a/src/output_pane.zig +++ b/src/output_pane.zig @@ -146,12 +146,14 @@ pub fn traits(o: Origin) Traits { // error, and a comptime-false `if` is the one form that is not // even analysed there. // - // Find (file names) and Grep (file contents) both list locations; - // no other builtin opens a buffer, and the day one does it lands - // here rather than in a call site. + // Find (file names), Grep (file contents), and PdfSections all + // list lookable locations. Feature-only rows remain branches so + // builds whose Builtin enum omits them never analyse the field. else => blk: { if (pardes.platform == .gui) if (b == .FontSel) break :blk .{ .name = config.fonts_buffer, .steps = true, .executes = true }; + if (pardes.pdf_enabled) if (b == .PdfSections) + break :blk .{ .name = config.pdf_sections_buffer, .steps = true }; break :blk .{ .name = config.search_buffer, .steps = true }; }, }, -- cgit v1.3