pub fn filtered_recent_indices(app: &AppState) -> Vec<usize>Expand description
What: Produce visible indices into app.recent considering pane-find when applicable.
Inputs:
app: Application state (focus,pane_find, recent list)
Output:
- Vector of indices in ascending order without modifying application state.
ยงPanics
- Panics if
pane_findisSomebut becomesNonebetween the check and theexpectcall (should not happen in single-threaded usage)
Details:
- Applies pane find filtering only when the Recent pane is focused and the finder string is non-empty; otherwise returns the full range.