Commit Graph

14 Commits

Author SHA1 Message Date
Clemens Zeidler
06181221a1 Add copyright headers 2021-03-07 19:05:36 +13:00
Clemens Zeidler
71d63f016a Fix tests that mock incomplete key events 2021-03-06 14:17:53 +13:00
Clemens Zeidler
dadeb68bbf Fix spelling 2021-03-05 22:02:18 +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
Clemens Zeidler
ef7284e69d Add missing JumpToOldestUnread action 2021-03-01 22:15:05 +13:00
Clemens Zeidler
601be50b71 Split KeyAction into multiple enums
This gives some additional type safety and makes enum member usage more
clear.
2021-03-01 21:43:00 +13:00
Clemens Zeidler
32ec8b7dc8 Add key bindings for RoomList, Room and Navigation 2021-02-28 20:13:34 +13:00
Clemens Zeidler
f29a8ef0f7 Handle shift + letter combos 2021-02-28 20:12:36 +13:00
Clemens Zeidler
54c38844d2 Use key bindings in BasicMessageComposer 2021-02-17 22:00:48 +13:00
Clemens Zeidler
c84ad9bedc Use key binding for cancelling a message reply 2021-02-16 19:12:18 +13:00
Clemens Zeidler
12387b4978 Use the KeyBindingsManager in EditMessageComposer 2021-02-16 19:05:39 +13:00
Clemens Zeidler
4a138f3b84 Only support a single key in the KeyCombo
Keep it simple...
2021-02-15 19:21:08 +13:00
Clemens Zeidler
b4c5dec4e5 Use the KeyBindingsManager for the SendMessageComposer 2021-02-14 15:56:55 +13:00
Clemens Zeidler
c7f9defd12 Add simple implementation of a KeyBindingsManager + match tests 2021-02-12 22:04:33 +13:00