diff options
author | Robin Gareus <robin@gareus.org> | 2015-10-05 16:17:49 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-10-05 16:17:49 +0200 |
commit | 22b07e0233a29d9633ffa825a79503befaf2e16e (patch) | |
tree | 1d8b06056f8e12197158f5d906319767d3dedda5 /gtk2_ardour/editor_keys.cc | |
parent | e11ba7b79d68bc1070b170236c22123966d7bcc3 (diff) |
NOOP, remove trailing tabs/whitespace.
Diffstat (limited to 'gtk2_ardour/editor_keys.cc')
-rw-r--r-- | gtk2_ardour/editor_keys.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk2_ardour/editor_keys.cc b/gtk2_ardour/editor_keys.cc index 2548a68ab4..a2ee357436 100644 --- a/gtk2_ardour/editor_keys.cc +++ b/gtk2_ardour/editor_keys.cc @@ -45,7 +45,7 @@ Editor::keyboard_selection_finish (bool /*add*/) framepos_t start = selection->time.start(); framepos_t end; - + if ((_edit_point == EditAtPlayhead) && _session->transport_rolling()) { end = _session->audible_frame(); } else { @@ -54,7 +54,7 @@ Editor::keyboard_selection_finish (bool /*add*/) //snap the selection start/end snap_to(start); - + //if no tracks are selected and we're working from the keyboard, enable all tracks (_something_ has to be selected for any range selection) if ( (_edit_point == EditAtPlayhead) && selection->tracks.empty() ) select_all_tracks(); @@ -81,19 +81,19 @@ Editor::keyboard_selection_begin () } else { start = get_preferred_edit_position(); } - + //snap the selection start/end snap_to(start); - + //if there's not already a sensible selection endpoint, go "forever" if ( start > end ) { end = max_framepos; } - + //if no tracks are selected and we're working from the keyboard, enable all tracks (_something_ has to be selected for any range selection) if ( selection->tracks.empty() ) select_all_tracks(); - + selection->set (start, end); //if session is playing a range, cancel that |