notepad4 icon indicating copy to clipboard operation
notepad4 copied to clipboard

Drag-Out should Copy rather than Move

Open meteorquake opened this issue 3 years ago • 1 comments

I frequently drag text out of notepad2 into another application, e.g. you can drag a phrase from it into a browser to do a search, which is very convenient as the clipboard remains unaltered (I realise there's an Action on Selection).

Currently doing so does a Move and Ctrl is required to turn it into a copy. I believe it should be the other way round - a Copy is the default but holding shift would turn it into a move - which is how most applications handle drag-outs.

Cheers, David

meteorquake avatar Oct 24 '22 09:10 meteorquake

The move behavior is same as many other editors. https://github.com/zufuliu/notepad2/blob/26d5a52b9555d6e90227bf8e409e7a897b7278b7/scintilla/win32/ScintillaWin.cxx#L3610-L3632

zufuliu avatar Oct 24 '22 10:10 zufuliu