Selection-after-split behavior (gtk2 part)
authorBen Loftis <ben@harrisonconsoles.com>
Tue, 12 Feb 2019 16:29:03 +0000 (10:29 -0600)
committerBen Loftis <ben@harrisonconsoles.com>
Tue, 12 Feb 2019 17:35:39 +0000 (11:35 -0600)
commit22deebb42fa32e618ddfb9fbdaa93449a57b1717
treebf065434fce64d46801a46853249fec733034f6e
parent37d28c63db9d10e50fc34bbedea016e3949227b1
Selection-after-split behavior (gtk2 part)

*  When splitting in MouseObject, entered_region should get priority over selected regions.
    This fixes the unexpected case where you try to split an unselected a region, but
       a)  nothing happens  OR
       b)  some other region (maybe off-screen) is split

*  Range mode now has its own option for splits, which can be:
     Clear:  the selection is cleared.
     Preserve:  the selection is left as-is. (default)
     Force:  all the regions that resulted from the split are selected (forcing a tool change).

*  Un-hid the additional config options to select only the regions BEFORE or AFTER a split.

*  Note:  splits made with Cut Tool should be unaffected by these changes.
gtk2_ardour/editor_ops.cc
gtk2_ardour/rc_option_editor.cc