forked from eclipse-platform/eclipse.platform.ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use consistent key bindings in FindReplaceOverlay on MacOS eclipse-pl…
…atform#2007 Currently, the opening action for the find/replace overlay uses a key binding with the OS-dependent "modifier 1" (mapping to CTRL on Windows/Linux and CMD on MacOS), while all key bindings within the overlay (such as activating search options) use key bindings with CTRL as a modifier. In order to unify the key bindings, this change adapts the key bindings within the overlay to also use the OS-dependent "modifier 1", such that on MacOS the CMD modifier is used. The change also adapts the shortcuts to be represented as KeyStroke instances and uses them to match actual key combinations as well as to produce the string representation of the shortcuts for the tooltips. Fixes eclipse-platform#2007
- Loading branch information
1 parent
337f4ba
commit ca7b586
Showing
2 changed files
with
128 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters