add API to fetch all regionviews after a given position

This commit is contained in:
Paul Davis 2021-06-20 16:50:45 -06:00
parent a1ef870866
commit 12b536d8f2
7 changed files with 33 additions and 0 deletions

View file

@ -2257,6 +2257,14 @@ Editor::select_all_selectables_between (bool within)
commit_reversible_selection_op ();
}
void
Editor::get_regionviews_at_or_after (samplepos_t pos, RegionSelection& regions)
{
for (TrackViewList::iterator iter = track_views.begin(); iter != track_views.end(); ++iter) {
(*iter)->get_regionviews_at_or_after (pos, regions);
}
}
void
Editor::select_range_between ()
{