From ddfc047f0e1578277f8e70c454df7b4f85904ff1 Mon Sep 17 00:00:00 2001 From: Colin Fletcher Date: Wed, 3 Apr 2013 23:21:53 +0100 Subject: [PATCH] Update region_ops.txt to match current behaviour, and fix a couple of comments. Update region_ops.txt to better describe the current behaviour of Editor::get_regions_from_selection_and_edit_point(), and fix a couple of comments that still referred to the no-longer-existing 'edit' property of route groups. --- doc/region_ops.txt | 5 ++--- gtk2_ardour/editor.cc | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/doc/region_ops.txt b/doc/region_ops.txt index 69851bf3eb..c6b4ab00e5 100644 --- a/doc/region_ops.txt +++ b/doc/region_ops.txt @@ -24,9 +24,8 @@ If the edit point is `mouse': if the mouse is over a selected region, or no region, this method returns all selected regions. if the mouse is over an unselected region, just that region is returned. -For other edit points the method returns the selected regions AND those that are both under the edit position -AND on a selected track, or on a track which is in the same active edit-enabled route group as a selected -region. +For other edit points the method returns the selected regions. If no regions are selected, it returns +the regions under the edit position on the selected tracks. The action handlers call the appropriate method to decide which regions to operate on. diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 3b747bd912..e38902c213 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -4037,7 +4037,7 @@ Editor::restore_editing_space () /** * Make new playlists for a given track and also any others that belong - * to the same active route group with the `edit' property. + * to the same active route group with the `select' property. * @param v Track. */ @@ -4053,7 +4053,7 @@ Editor::new_playlists (TimeAxisView* v) /** * Use a copy of the current playlist for a given track and also any others that belong - * to the same active route group with the `edit' property. + * to the same active route group with the `select' property. * @param v Track. */ @@ -4068,7 +4068,7 @@ Editor::copy_playlists (TimeAxisView* v) } /** Clear the current playlist for a given track and also any others that belong - * to the same active route group with the `edit' property. + * to the same active route group with the `select' property. * @param v Track. */