extended duplicate line to also duplicate selected text
Merge pull request #196 from nieve/DuplicateText

extended duplicate line to also duplicate selected text