Page 1 of 1

Advanced duplicate ctrl+d

Posted: 26.04.2020 08:59
by wibotwi
I first saw it in IntelliJ IDEA somewhere in 2006
Notepad++ did not have it originally, but they added it.
Can you also add it to CudaText?

The idea is:
1) no selection -> duplicate current line
2) some text is selected -> duplicate the selected text


Thank you

Posted: 27.04.2020 02:52
by wibotwi
Oh. I found out existing keybinding called "advanced duplicate".
I deleted ctrl+d from original and mapped it to this guy.
And now it works as I want it to work.

Why you need two actions? And why most obvious action is not default?

Posted: 27.04.2020 03:41
by wibotwi
ups
just found out another strangeness, move line up is alt+up instead of ctrl+shift+up
yes, it all can be fixed in settings, but why CudaText wants to be so unfriendly to newcomers?

Posted: 27.04.2020 05:04
by wibotwi
Another problem: links are highlighted, but double clicking on them does not open browser.
I tried everything: alt+click, alt+double+click, same with ctrl, same with shift
nothing opens link :(

Posted: 27.04.2020 05:15
by wibotwi
found some open URL plugin, it does not work :(
it opens urls on first mouse click, as a result you cannot select text anymore or edit it, you immediately redirected to browser :(

Posted: 28.04.2020 13:26
by Alexey
"Open URL" plugin: this is valid report. better to handle double click. plugin is changed. it uses dbl-click now. use "plugins / adddon manager / update".

hotkey for Move-line-up/down. I agree. will talk with @kvichans if we will change them.

Posted: 28.04.2020 13:29
by Alexey
"duplicate line (advanced)" is not default. it is plugin based, so does not work without python.

Posted: 28.04.2020 13:54
by Alexey
hotkey for Move-line-up/down. Ctrl+Shift+Up/Down is bisy for other work. so won't change hotkeys.

Posted: 30.04.2020 17:31
by wibotwi
More questions:

1) How to make F3 continue to search from top of file when bottom of file is reached?
2) How to force single instance of CudaText? Now when I click in Windows "open with" and select CudaText.exe -> it opens new CudaText window. And the most frustrating -> it loads previous session into it. So some files I now have opened twice in old and in new window. This makes a lot of confusion.

Posted: 01.05.2020 07:43
by Alexey
(I don't do replies to user questions. it is not easy task. pls someone see it.)