Created
July 3, 2012 20:08
-
-
Save gingi/3042641 to your computer and use it in GitHub Desktop.
BBEdit Script: Duplicate Lines
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "BBEdit" | |
tell window 1 | |
set start_line to startLine of selection | |
set end_line to endLine of selection | |
select (lines start_line thru end_line) | |
set selectionCopy to duplicate selection | |
select insertion point after selection | |
set selection to selectionCopy | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment