Implement "multi-paste" for notes, regions, and automation.
authorDavid Robillard <d@drobilla.net>
Sat, 15 Nov 2014 01:04:09 +0000 (20:04 -0500)
committerDavid Robillard <d@drobilla.net>
Sat, 15 Nov 2014 01:04:19 +0000 (20:04 -0500)
commit31acd96384b930de928aa8c7969336ba3401bbed
tree69137126cf3738fb242a7ff1d3875927c82f7541
parentb01d1813f88e303bae724d5bc6f51de0c2fb4e1b
Implement "multi-paste" for notes, regions, and automation.

The idea here is that pasting several times to the same location doesn't make
sense.  Instead, the paste is appended past the last paste, snapped to the
grid.  This make it simple to replicate a given section a number of times,
simply by copying once and pasting several times.

This behaviour only appears when successive pastes are done to the same
location (whatever the edit point is).  When the paste point changes, the
"multi-paste" state is reset.

Boots 'n cats 'n boots 'n cats.
gtk2_ardour/automation_time_axis.cc
gtk2_ardour/automation_time_axis.h
gtk2_ardour/editor.cc
gtk2_ardour/editor.h
gtk2_ardour/editor_ops.cc
gtk2_ardour/midi_region_view.cc
gtk2_ardour/midi_region_view.h
gtk2_ardour/public_editor.h
gtk2_ardour/route_time_axis.cc
gtk2_ardour/route_time_axis.h
gtk2_ardour/time_axis_view.h