summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/VimEditingEngine.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGUI/VimEditingEngine.h')
-rw-r--r--Userland/Libraries/LibGUI/VimEditingEngine.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Libraries/LibGUI/VimEditingEngine.h b/Userland/Libraries/LibGUI/VimEditingEngine.h
index 8be34cfbbd..b7216d0892 100644
--- a/Userland/Libraries/LibGUI/VimEditingEngine.h
+++ b/Userland/Libraries/LibGUI/VimEditingEngine.h
@@ -146,7 +146,7 @@ class VimEditingEngine final : public EditingEngine {
public:
virtual CursorWidth cursor_width() const override;
- virtual bool on_key(const KeyEvent& event) override;
+ virtual bool on_key(KeyEvent const& event) override;
private:
enum VimMode {
@@ -184,9 +184,9 @@ private:
void move_to_previous_empty_lines_block();
void move_to_next_empty_lines_block();
- bool on_key_in_insert_mode(const KeyEvent& event);
- bool on_key_in_normal_mode(const KeyEvent& event);
- bool on_key_in_visual_mode(const KeyEvent& event);
+ bool on_key_in_insert_mode(KeyEvent const& event);
+ bool on_key_in_normal_mode(KeyEvent const& event);
+ bool on_key_in_visual_mode(KeyEvent const& event);
virtual EngineType engine_type() const override { return EngineType::Vim; }
};