The previous shortcut CMD+OPT+H is already bound by the system (hide other
windows) and cannot be overridden. This commit changes the shortcut to
CTRL+SHIFT+H on macOS while keeping CTRL+ALT+H on other platforms.
Note that both CTRL+OPT+H (hide cursor) and CTRL+H (delete previous character)
are bound by the system as well and wouldn't have worked as a replacement.
Fixes: vector-im/element-web#16692
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
When moving through the autocomplete selection list distinguish between
the following cases:
1) When there is no autocomplete window open, only open one and select
the first item when the CompleteOrPrevSelection /
CompleteOrNextSelection actions are emitted (e.g. by pressing SHIFT +
TAB, TAB)
2) Otherwise navigate through the selection list (e.g. SHIFT + TAB, TAB,
UP, DOWN)
- Remove references to raw keyboard events in autocomplete.ts
- Clarify the purpose of startSelection (previously onTab)
Signed-off-by: Clemens Zeidler <clemens.zeidler@gmail.com>