filtered_recent_indices

Function filtered_recent_indices 

Source
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_find is Some but becomes None between the check and the expect call (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.