summaryrefslogtreecommitdiff
path: root/test/pdf_sections_bench.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-05 00:35:15 -0300
committerGabriel Schneider <[email protected]>2026-11-05 01:17:28 -0300
commitd5158f6a69ce5a1af6372c140b07379ee0ba2446 (patch)
treeec722719840f59263e4b7dbc740681594b526274 /test/pdf_sections_bench.zig
parent3b31e0484bd06658f10cd9165b76cb1ca3b198bd (diff)
downloadpardes-d5158f6a69ce5a1af6372c140b07379ee0ba2446.tar.gz
pardes-d5158f6a69ce5a1af6372c140b07379ee0ba2446.zip
Text, edit, normal, look, Query and their readers: the second selection form msel (whole rows r0..r1, for search-result highlights) goes; a visited search result and a query preview's place line are an explicit vsel like any other, back from the line's end (to the result's location start, the line's start for ordinary path:line rows; to the start for a preview line), and every msel branch in the edit ops, the drawing, the terminal's position tracking and the chords goes (visible: the result's highlight covers its line's characters and newline cell instead of the whole row width, with the ordinary selection colours; y, d and c on it act on that range as after x, its newline included, so a yanked result pastes as a line); selections.md and the ; Alt-; X Alt-x rows of helix-keys.md no longer describe msel; Text's walked shape changes (wire semantics)
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/pdf_sections_bench.zig')
-rw-r--r--test/pdf_sections_bench.zig2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/pdf_sections_bench.zig b/test/pdf_sections_bench.zig
index 4d0f85de..4ab4b5c4 100644
--- a/test/pdf_sections_bench.zig
+++ b/test/pdf_sections_bench.zig
@@ -298,7 +298,6 @@ fn perturbReopen(prepared: PreparedReopen, operation: usize) void {
output_file.scroll = @intCast(operation % 17 + 1);
prepared.output.body.cur_row = marker;
prepared.output.body.cur_col = marker + 1;
- prepared.output.body.msel.active = true;
prepared.output.body.vsel.active = true;
prepared.output.body.nsel = 1;
prepared.owner.search_pane = null;
@@ -311,7 +310,6 @@ fn observeReopen(prepared: PreparedReopen) u64 {
var observed: u64 = file.scroll;
observed = observed *% 131 +% @as(u64, @intCast(@max(0, prepared.output.body.cur_row)));
observed = observed *% 131 +% @as(u64, @intCast(@max(0, prepared.output.body.cur_col)));
- observed = observed *% 131 +% @intFromBool(prepared.output.body.msel.active);
observed = observed *% 131 +% @intFromBool(prepared.output.body.vsel.active);
observed = observed *% 131 +% prepared.output.body.nsel;
observed = observed *% 131 +% (prepared.owner.search_pane orelse std.math.maxInt(usize));