New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix modifier for creating rectangular selections on Windows #2032
Conversation
33dafac restored the pre-Scintilla 3.10 default on non-Windows, but also changed the Windows one. Fix this so the modifier keeps its historical value on Windows as well.
@elextr @eht16 @codebrainz this might be candidate for… a 1.34.1! What do you think? |
Just out of interest, since the variable isn't used anywhere else, why not use the But the idea looks ok, can't test on windows of course :)
|
Ok with me if you want to have a new release. About the change: I'll try to test it on Windows tomorrow. But I'm wondering if we really should keep the historical value of use the chance and unify the modifier on all platforms (including a documentation update). |
Thanks!
Well, Scintilla decided to do that the other way around (with Alt, the default on Windows), and we didn't like it on Linux because we still consider that it's used by a lot of WMs. I'm not sure doing the same the other way around makes much sense. I guess I'd rather introduce a setting allowing to select whichever modifier people like best, and keep the historical defaults for existing users. |
IMO, it's not a bad thing to make things more "native" per platform, if the cost is not high. I think having a setting makes the most sense (all keybindings would ideally be customizable), if anyone is willing to implement it. |
Yes, let's keep it this way: Alt as default on Windows and Ctrl for the rest. Tested the changes on Windows and works as expected when using the mouse to start a selection. |
The idea was just preventing duplicating the call. I don't mind much either way, but that's how I'd write it right now :) |
Fix modifier for creating rectangular selections on Windows
33dafac restored the pre-Scintilla 3.10 default on non-Windows, but also changed the Windows one. Fix this so the modifier keeps its historical value on Windows as well.