mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 20:29:35 +01:00
Expose cut-copy-section in the editor
This is still a bit of an experiment, there may need to be a dedicated ruler for sections, or a side-bar that allows arranging.
This commit is contained in:
parent
91c0f143ec
commit
a0286f2e6f
4 changed files with 29 additions and 0 deletions
|
|
@ -2708,6 +2708,16 @@ Editor::insert_source_list_selection (float times)
|
|||
commit_reversible_command ();
|
||||
}
|
||||
|
||||
void
|
||||
Editor::cut_copy_section (bool copy)
|
||||
{
|
||||
timepos_t start, end;
|
||||
if (!get_selection_extents (start, end) || !_session) {
|
||||
return;
|
||||
}
|
||||
_session->cut_copy_section (start, end, get_preferred_edit_position(), copy);
|
||||
}
|
||||
|
||||
/* BUILT-IN EFFECTS */
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue