Duplicate a line
Moderator: kfury77
Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
- Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
- Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
- Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Duplicate a line
CMD+D for example, to replicate a line (when the cursor is in that line-begining) OR a block of code (when this block is marked).
I agree...
I agree: This feature would be "nice" to have. In the mean time, syrupcore's suggestion is a decent work-around.Reuvenm wrote:I ment DUPLICATE a line/block (clone, as copy/paste in one go), nice to have when you lay out variables or repetitive lines with only small differences between them.
-Moe
if, no matter where you go, nothing seems to change, maybe it's time to look at what you're bringing with you.
One feature I've gotten used to in other editors that's similar to what's being discussed in this thread is that the Cut and Copy commands (Ctrl-X and Ctrl-C respectively) will act on the current line if nothing is selected.
So to dup a line is simply: Ctrl-C Ctrl-V
To Cut a line: Ctrl-X
I find this very handly, it would be a nice little addition to WeBuilder.
So to dup a line is simply: Ctrl-C Ctrl-V
To Cut a line: Ctrl-X
I find this very handly, it would be a nice little addition to WeBuilder.
mousing around...
and another idea if you already have one hand on the mouse at the time:
1) highlight the one line to be duplicated (dbl-click inside gutter on that line),
2) hold down ctrl key while clicking inside the highlighted line and
3) drag cursor to the beginning of the next line.
to some, this may be more work. to that i say:
"To each: their own!"
-Moe
1) highlight the one line to be duplicated (dbl-click inside gutter on that line),
2) hold down ctrl key while clicking inside the highlighted line and
3) drag cursor to the beginning of the next line.
to some, this may be more work. to that i say:
"To each: their own!"

-Moe
if, no matter where you go, nothing seems to change, maybe it's time to look at what you're bringing with you.