summaryrefslogtreecommitdiff
path: root/src/panes.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-24 10:29:10 -0300
committerGabriel Schneider <[email protected]>2026-10-24 10:29:10 -0300
commit18d89dcedaed1f8437799621675e88ca47d7cdc1 (patch)
tree2cf2e2ae46de1308e5b90aca33413282cdd73e8b /src/panes.zig
parent873f81ccb1449119846de8d4e6e0e8899236100a (diff)
downloadpardes-18d89dcedaed1f8437799621675e88ca47d7cdc1.tar.gz
pardes-18d89dcedaed1f8437799621675e88ca47d7cdc1.zip
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
Diffstat (limited to 'src/panes.zig')
-rw-r--r--src/panes.zig6
1 files changed, 6 insertions, 0 deletions
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");