Commit graph

6 commits

Author SHA1 Message Date
Clemens Zeidler
57cd8afbc4 Split ApplySelection into CompleteOrPrevSelection and CompleteOrNextSelection
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>
2021-03-29 13:38:03 +13:00
Clemens Zeidler
a8a8741c06 Make FocusRoomSearch a NavigationAction 2021-03-12 19:40:28 +13:00
Clemens Zeidler
06181221a1 Add copyright headers 2021-03-07 19:05:36 +13:00
Clemens Zeidler
dadeb68bbf Fix spelling 2021-03-05 22:02:18 +13:00
Clemens Zeidler
7b74085708 Add missing binding + remove invalid note
HOME and END are going back to the start/end of the same line, i.e. they
are different to the other bindings.
2021-03-03 22:08:22 +13:00
Clemens Zeidler
1cfb0e99d4 Add support for multiple key bindings provider
- This can be used to provide custom key bindings
- Move default key bindings into its own file
2021-03-01 22:16:05 +13:00