You are here: PSPad forum > English discussion forum > Duplicate Line behavior change

Duplicate Line behavior change

#1 Duplicate Line behavior change

Posted by: massimobalestra | Date: 2017-10-27 18:31 | IP: IP Logged

I saw a change in the Duplicate Line function.

If I select something in a line and I choose Duplicate line (for me it is the shortcut ctrl+D) it duplicates the line without the highlighted part.

This is a change from previous versions: before it simply duplicated the line as it was.

And it is quite annoying for me: I often use to search for something, duplicate the line (as it is) and change few things and go ahead on my search.
Now before duplicating the line I have to be careful that nothing is highlighted before duplicating because otherwise the line is only partially copied (it is not duplicated, it is copied with changes).

Is there a way to go back to the previous behavior? Is there an option "Duplicate line duplicates the line regardless of what is highlighted"?

Thank you

Options: Reply | Quote | Up ^


#2 Re: Duplicate Line behavior change

Posted by: Andreas | Date: 2017-10-29 12:27 | IP: IP Logged

I can not confirm this on 5.0.0 235 32-bit Windows 10.

Options: Reply | Quote | Up ^


#3 Re: Duplicate Line behavior change

Posted by: massimobalestra | Date: 2017-10-30 15:50 | IP: IP Logged

I have Windows 10, PsPad 5.0.0 (251).
As I said it is change in one the latest version, probably the last one.
This behavior was for sure not present in built 235.

Edited 1 time(s). Last edit at 2017-10-30 15:51 by massimobalestra.

Options: Reply | Quote | Up ^


#4 Re: Duplicate Line behavior change

Posted by: Ilya | Date: 2017-10-31 06:34 | IP: IP Logged

I can confirm this on 251 64b.
If you select all characters in the line (or select whole line) then a new empty line is added.

Options: Reply | Quote | Up ^


#5 Re: Duplicate Line behavior change

Posted by: pspad | Date: 2018-02-17 19:23 | IP: IP Logged

Bug fix will be availble in the next build

Options: Reply | Quote | Up ^


#6 Re: Duplicate Line behavior change

Posted by: massimobalestra | Date: 2018-02-18 18:51 | IP: IP Logged

The old behavior is back, now, on build 261.
This works way better for me. If I want to duplicate a line I want to do it regardless of what I have selected.
Thank you very much.

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR