add undo to select within (mouse and loop/punch ranges). add right click menu to loop/punch ranges to select all within

git-svn-id: svn://localhost/trunk/ardour2@293 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Nick Mainsbridge
2006-01-23 22:08:41 +00:00
parent 503e32b2a6
commit 3ca8d77dfd
2 changed files with 4 additions and 3 deletions

View File

@@ -1276,13 +1276,13 @@ Editor::select_all_within (jack_nframes_t start, jack_nframes_t end, double top,
}
(*iter)->get_selectables (start, end, top, bot, touched);
}
begin_reversible_command (_("select all within"));
if (add) {
selection->add (touched);
} else {
selection->set (touched);
}
commit_reversible_command ();
return !touched.empty();
}