Boxer has a command to duplicate a line. You press F2 anywhere on the line. Is there a way to to that in Textpad with F2 or any other key / combination? A macro?
-- Ken
Duplicate a line
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Re: Duplicate a line
Record the following keys:
End, Right, Shift-Up, Ctrl-C, Left, Ctrl-V
End + Right positions to the beginning of next line (more safe than Pos1 as Pos1 jumps to First-Non-Blank or First-Char).
Shift-Up then selects the original line,
Ctrl-C puts it to the clipboard,
Left de-selects the line and positions cursor on its beginning
Ctrl-V gets copy of line from clipboard.
HTH
Andreas
End, Right, Shift-Up, Ctrl-C, Left, Ctrl-V
End + Right positions to the beginning of next line (more safe than Pos1 as Pos1 jumps to First-Non-Blank or First-Char).
Shift-Up then selects the original line,
Ctrl-C puts it to the clipboard,
Left de-selects the line and positions cursor on its beginning
Ctrl-V gets copy of line from clipboard.
HTH
Andreas
Re: Duplicate a line
I've created a macro that you can download from this site. I also requested to implement an internal command for this action
The macro uses the EditCopyLine command.
Regards,
Frank
The macro uses the EditCopyLine command.
Regards,
Frank
Re: Duplicate a line
Where is the file on the site? I didn't see it in the downloads section? Am I not looking carefully?
-- Ken
-- Ken
Re: Duplicate a line
Where is the file on the site? I didn't see it in the downloads section? Am I not looking carefully?
-- Ken
-- Ken