Repository navigation
Make ctrl+click add a new cursor in Linux and Windows, fixes #2105 - #2246
Conversation
|
Nice commit! Waited to get this feature. |
|
I totally agree on that one. This feature would certainly benefit from reimplementation. However I'm afraid I don't have enough time nor experience to do the change alone. This PR may be rejected in favour of a better implementation, allowing configuration, but at least I've spotted the cause of the issue. |
|
@GeoffreyFrogeye I think the real issue here is how to configure features that include the use of the mouse. So far, as far as I can see, there is no way to customize any of the actions that use the mouse. Maybe a |
Make ctrl+click add a new cursor in Linux and Windows, fixes #2105
|
Thanks for this |
Mind opening a separate issue for this? |
In Chromium the metaKey property of a mousedown event might never get set to true on Linux and Windows as there is no special, well defined meta key on the keyboard (see this issue). Hence I made editor-view.coffee check for e.ctrlKey instead if the platform is not Mac, which makes ctrl+click to add a cursor as desired.