Print Thread
Page 2 of 2 1 2
Re: How to duplicate current line in Editor Window?
patch #57985 05/28/18 07:48 AM
Joined: Jun 2017
Posts: 43
Dresden, Germany
J
Member
Offline
Member
J
Joined: Jun 2017
Posts: 43
Dresden, Germany
Hi, try moving the cursor before paste. I created the macro with Down- (4) and Up-Key (3) between Copy (301) and Paste (303). It works fine.
Regards




Re: How to duplicate current line in Editor Window?
patch #57989 05/29/18 06:27 AM
Joined: Apr 2007
Posts: 96
Germany
B
Member
Offline
Member
B
Joined: Apr 2007
Posts: 96
Germany
Hello Marina,

i have a lot of macros, replacing missing PSD Text manipulating functions.
"Duplicate Line" is one for example, but i have a slightly other definition. maybe you can give it a try.

I found no easy way to export it so here is the text definition:
- 7 Move cursor to beginning of line
- 108 Move cursor and select end of line
- 301 Copy selection to clipboard
- 8 Move Cursor to end of line
- 339 Break line at current position, move caret to new line
- 7 Move cursor to beginning of line
- 303 Paste clipboard to curretn position

Regards Benjamin

Re: How to duplicate current line in Editor Window?
Starina #58079 06/24/18 06:58 PM
Joined: Jan 2015
Posts: 5
Germany
Member
OP Offline
Member
Joined: Jan 2015
Posts: 5
Germany
Writing code using hotkeys is for me the fastest way to get things done.
I would be also glad to see such basic hotkeys like duplicating, swapping lines, deleting current line etc. in basic out-of-the-box PLSQL/Developer functionality.

Re: How to duplicate current line in Editor Window?
Marina Frank #58314 09/12/18 06:31 AM
Joined: Apr 2007
Posts: 96
Germany
B
Member
Offline
Member
B
Joined: Apr 2007
Posts: 96
Germany
Hi Marco,

will there be any of the functions, mentioned by Marina, in PSD 13?

Best Regards Benjamin

Re: How to duplicate current line in Editor Window?
Benjamin L #58317 09/12/18 08:31 AM
Joined: Aug 1999
Posts: 22,228
Member
Offline
Member
Joined: Aug 1999
Posts: 22,228
For version 13.0 there is indeed a "Duplicate line" function.


Marco Kalter
Allround Automations
Page 2 of 2 1 2

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.070s Queries: 15 (0.041s) Memory: 2.5381 MB (Peak: 3.0422 MB) Data Comp: Off Server Time: 2024-06-10 08:44:50 UTC
Valid HTML 5 and Valid CSS