ctrl+drag selection change in behavior

33 views
Skip to first unread message

chinh...@gmail.com

unread,
Jun 13, 2025, 10:46:17 AMJun 13
to scintilla-interest
ctrl key + mouse drag will no longer copy and paste selected text but instead will deselect the text as soon as you click the mouse within the selection. Alt key + drag or Windows key + drag will still move the selected text. I only updated to Scintilla 5 in the past year in Windows and had been using Scintilla 3 until then so I don't know when the behavior changed. Is this a bug or is this change in behavior intentional? I can change the behavior back myself but I want to make sure I'm not breaking something else in the process.

Neil Hodgson

unread,
Jun 14, 2025, 6:54:46 PMJun 14
to scintilla...@googlegroups.com
chinh...:

> ctrl key + mouse drag will no longer copy and paste selected text but instead will deselect the text as soon as you click the mouse within the selection.

This was intentional to allow removing a part of a multiple selection
with the same key as creating a multiple selection Ctrl+Click. It is
only performed when multiple selection is enabled.

An alternative is to start dragging then press Ctrl before dropping the text.

Neil
Reply all
Reply to author
Forward
0 new messages