I’m still trying to figure out, if it is possible to run SCI_SELECTIONDUPLICATE from a custom toolbar button (as a workaround), so that you can use that button for SCI_SELECTIONDUPLICATE instead of ctrl+d.ītw: if you want to file this issue to the developers, please read and follow the community guide for bug reports: > FAQ Desk: Feature Request or Bug Report <<< to submit a notepad++ issue at why you don’t simply use the Ctrl + D shortcut ? It quite faster than clicking on any button, anyway -)) It does not trigger the scintilla command SCI_LINEDUPLICATE as it should.Īlso the menu edit > line operation > duplicate current line does not display the shortcut mapped to SCI_LINEDUPLICATE as it is supposed to, but it shows the shortcut mapped to SCI_SELECTIONDUPLICATE. This is a little notepad++ bug (a quite funny one) and here are my test results:Ĭtrl+d is set to the scintilla command SCI_SELECTIONDUPLICATE at the shortcut mapper (default value)
(Sorry that this ended up being in the Plugin Development for your video, it loads fine and explains everything. How do I get Edit->Line Operations->Duplicate Current Line to work like the shortcut key (control-d) that it is assigned to? One advantage I like to using control-d is that I don’t lose what is currently in the clipboard. You can see in the video that control-d works as I described: it uses the selection and doesn’t act on just a single line.
Edit->Line Operations->Duplicate Current Line and the customized toolbar button do work the same, but I would like them to work like the control-d keyboard shortcut assigned to Edit->Line Operations->Duplicate Current Line. I could have sworn that Edit->Line Operations->Duplicate Current Line did what I described, but now it seems to just be control-d. You can apparently use the same extension to view it, but I’ve also successfully downloaded the video file and played it with VLC media player so you don’t need Chrome or the extension to view it. I’ve never used Screencastify before but did so in order to demonstrate the issue.
I used the Chrome extension Screencastify to capture this video.