Skip to content

Add Ctrl+C/V/X/D keyboard shortcuts for Song Editor clips#8428

Open
BernardoMalheiro wants to merge 1 commit into
LMMS:masterfrom
BernardoMalheiro:issue#7630
Open

Add Ctrl+C/V/X/D keyboard shortcuts for Song Editor clips#8428
BernardoMalheiro wants to merge 1 commit into
LMMS:masterfrom
BernardoMalheiro:issue#7630

Conversation

@BernardoMalheiro

Copy link
Copy Markdown
Contributor

Closes #7630

LMMS had no keyboard clipboard shortcuts for clips in the Song Editor. This adds Ctrl+C (copy), Ctrl+V (paste at cursor or default to playhead), Ctrl+X (cut), and Ctrl+D (duplicate in place).

Reuses existing ClipView serialization and TrackContentWidget::pasteSelection infrastructure. createClipDataFiles is promoted from protected to public to allow direct use in SongEditor::keyPressEvent.

Closes LMMS#7630

LMMS had no keyboard clipboard shortcuts for clips in the Song
Editor. This adds Ctrl+C (copy), Ctrl+V (paste at cursor or
playhead), Ctrl+X (cut), and Ctrl+D (duplicate in place).

Reuses existing ClipView serialization and
TrackContentWidget::pasteSelection infrastructure.
createClipDataFiles is promoted from protected to public to
allow direct use in SongEditor::keyPressEvent.

Co-authored-by: Diogo Carreira <diogo.f.carreira@tecnico.ulisboa.pt>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding Ctrl+V to paste song segments

1 participant