summaryrefslogtreecommitdiff
path: root/src/look.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-04 23:55:53 -0300
committerGabriel Schneider <[email protected]>2026-11-05 01:02:08 -0300
commit53c8d3d4c3c9673c0070eceb652326193fb32012 (patch)
tree72ed465ea94f54d19505300f1bfdf0cc075ba16a /src/look.zig
parentaac802c58937053a200b0392843195b128a21172 (diff)
downloadpardes-53c8d3d4c3c9673c0070eceb652326193fb32012.tar.gz
pardes-53c8d3d4c3c9673c0070eceb652326193fb32012.zip
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 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/look.zig')
-rw-r--r--src/look.zig1
1 files changed, 0 insertions, 1 deletions
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,