On Wed, 18 Feb 2009 19:46:23 -0800, Bob Snyder bob.snyder@cox.net wrote:
Hey Bob,
According to the manual, dragging selected text is move by default, but copy with the shift key. Indeed that is how it works under Linux. But in Windows, it still has the pre-0.11 behavior: copy by default, move with the shift key.
it's not a bug, it's a feature.
On Linux, the default D'n'D action is to move text. On Windows the default action is to copy text. Don't ask me why these are the defaults but they affect all GTK applications. I.e. dragging in text areas in GTK apps on Windows, will/should always copy the text instead of moving it.
Technically, we could change this in Geany but I really don't want to do this as it would break user interface design by not respecting global standards.
Maybe there is somewhere a preference or setting in GTK to change this though with a quick search I couldn't find anything.
Geany pre-0.11 did break these standards, more exactly Scintilla did. Therefore we discussed this at Scintilla, got it changed in Scintilla and then benefited in Geany by this change.
Regards, Enrico