From 53c8d3d4c3c9673c0070eceb652326193fb32012 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 4 Nov 2026 23:55:53 -0300 Subject: pdf: searchRows prints each hit's row straight into the caller's buffer, where it printed each (up to 512) into the arena and copied it over; a row that does not fit ends the list as it did, and look.zig no longer hands it an arena Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- src/look.zig | 1 - 1 file changed, 1 deletion(-) (limited to 'src/look.zig') diff --git a/src/look.zig b/src/look.zig index a230d740..a4a64b14 100644 --- a/src/look.zig +++ b/src/look.zig @@ -598,7 +598,6 @@ pub fn runSearch(p: *Pardes, id: usize, pat_raw: []const u8, start: SearchStart, const found = try panes.Pdf.searchRows( &pane.pdf.?, p.pdf_gpa, - arena, pat, start == .cursor, out, -- cgit v1.3