Update region_ops.txt to match current behaviour, and fix a couple of comments.
authorColin Fletcher <colin.m.fletcher@googlemail.com>
Wed, 3 Apr 2013 22:21:53 +0000 (23:21 +0100)
committerColin Fletcher <colin.m.fletcher@googlemail.com>
Wed, 3 Apr 2013 22:21:53 +0000 (23:21 +0100)
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
gtk2_ardour/editor.cc

index 69851bf3ebdc5494126cf230e9b714c01d0d526c..c6b4ab00e5aeef5745beae30f4a5a28086fb1ed0 100644 (file)
@@ -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.
 
      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.
 
 
 The action handlers call the appropriate method to decide which regions to operate on.
 
index 3b747bd9121a5d921cfec70b772e4f3a0baf2d6c..e38902c2137c66c304d206b179affdfe598c58c7 100644 (file)
@@ -4037,7 +4037,7 @@ Editor::restore_editing_space ()
 
 /**
  *  Make new playlists for a given track and also any others that belong
 
 /**
  *  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.
  */
 
  *  @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
 
 /**
  *  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.
  */
 
  *  @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
 }
 
 /** 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.
  */
 
  *  @param v Track.
  */