TextEditor: Add vim status indicators to the statusbar

When using the VimEditingEngine in the TextEditor, vim's mode and the
previous key are shown in the editor's statusbar.
This commit is contained in:
Zac 2021-01-27 15:49:29 +10:00 committed by Andreas Kling
commit bd6d0d2295
Notes: sideshowbarker 2024-07-18 22:38:32 +09:00
10 changed files with 171 additions and 20 deletions

View file

@ -33,6 +33,8 @@ namespace GUI {
class RegularEditingEngine final : public EditingEngine {
public:
RegularEditingEngine();
virtual CursorWidth cursor_width() const override;
virtual bool on_key(const KeyEvent& event) override;