Neil Hodgson wrote:
Anthony:

In Scintilla you can use the mouse to move text - by basically
grabbing a section - holding the mouse button down and placing it
somewhere else.

Is it possible to disable this action?  If so, how?

   I don't know of any easy way to disable this action. The quickest
solution would probably be to modify the source code.

This may or may not be related, but in the Scintilla [GTK2+] widget on Windows, I find it disconcerting that when clicking to try and make a selection "go away" (or make a new selection elsewhere), I immediately see what I assume to be a "copy cursor" appear...

Looking at this more closely, I observe that this only happens if my new click is somewhere within the same vertical region of the selected line(s). If I click above or below this area, then I get the expected [by me] behavior.

Overall, this just looks like relatively simple (compared to a window manager) logic deciding to initiate a drag operation on button-down, without waiting for some amount of movement first.

Of course, I think you have said that there are complexities with the cross-platform support of treating separately such fine-grain events as button-down and button-up...

Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to