Skip to content

DuplicateLine duplicates current selection if there is text selected#416

Merged
zyedidia merged 1 commit intomicro-editor:masterfrom
jncraton:duplicate-selection
Oct 15, 2016
Merged

DuplicateLine duplicates current selection if there is text selected#416
zyedidia merged 1 commit intomicro-editor:masterfrom
jncraton:duplicate-selection

Conversation

@jncraton
Copy link
Contributor

I'd love to see this functionality merged, but if there is a better place for it, I'm open to suggestions.

I thought about creating a separate action for this (perhaps a DuplicateSelection that works on selections or lines), but that seemed wasteful given that the current DuplicateLine behavior doesn't really make sense when text is selected anyhow and duplicating the selected text seems like the logical thing to do.

@zyedidia zyedidia merged commit 766f836 into micro-editor:master Oct 15, 2016
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.

2 participants