Skip to content

Consider aligning duplicate with insert and copy/paste #480

@microbit-matt-hillsdon

Description

@microbit-matt-hillsdon

"Duplicate" is internally implemented as copy then paste, but the effect of the keyboard navigation plugin overrides for copy/paste but not for duplicate is for these two behaviours to drift apart when this plugin is in use.

Copy+paste inserts relative to the current cursor position and on #479 I propose paste should also paste in move mode. Duplicate just drops the block on the workspace offset from the current position.

Not sure if this should be another action override or a different approach that enables core to reuse the plugin's copy/paste behaviours.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions