From 18d89dcedaed1f8437799621675e88ca47d7cdc1 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sat, 24 Oct 2026 10:29:10 -0300 Subject: Search converge 2/6: a pane's places, every match or listed place tinted and ticked on the rail, n/N stepping them silently, shifted by an edit rather than searched again --- src/panes.zig | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/panes.zig') diff --git a/src/panes.zig b/src/panes.zig index 14df07e9..73794b91 100644 --- a/src/panes.zig +++ b/src/panes.zig @@ -187,6 +187,10 @@ pub const Pane = struct { input: Text = .{ .what = .input }, search_pane: ?usize = null, search_row: ?usize = null, + /// Where in this pane's text the current search or list says to look + /// (`/`, `*`, a query pane's rows, n/N): tinted, ticked on the rail, + /// the current one selected (Places.zig). + places: Places = .{}, look_at: ?LookSpot = null, /// `gw`'s words, labelled in order while it waits for a label to be /// typed (gpa-owned); `jump_first` is the label's first letter once typed. @@ -649,6 +653,8 @@ pub const File = @import("File.zig"); pub const Output = @import("Output.zig"); +pub const Places = @import("Places.zig"); + pub const Dir = @import("Dir.zig"); pub const mini = @import("mini.zig"); -- cgit v1.3