Selected matches are unfolded when in project search, buffer search and when hitting `cmd-d` to select the next match.
match_index_for_direction
active_match_index