summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/EditingEngine.h
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-04-01 20:58:27 +0300
committerLinus Groh <mail@linusgroh.de>2022-04-01 21:24:45 +0100
commit086969277e74d8ba065bf8145d3aeb0dec0bfee5 (patch)
tree02b3699a66735ef806d9b46353491f18f8e4e7b4 /Userland/Libraries/LibGUI/EditingEngine.h
parent0376c127f6e98e03607700d0b3f5154b7014b2f8 (diff)
downloadserenity-086969277e74d8ba065bf8145d3aeb0dec0bfee5.zip
Everywhere: Run clang-format
Diffstat (limited to 'Userland/Libraries/LibGUI/EditingEngine.h')
-rw-r--r--Userland/Libraries/LibGUI/EditingEngine.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibGUI/EditingEngine.h b/Userland/Libraries/LibGUI/EditingEngine.h
index 3b0e617cc7..bef68b2200 100644
--- a/Userland/Libraries/LibGUI/EditingEngine.h
+++ b/Userland/Libraries/LibGUI/EditingEngine.h
@@ -40,7 +40,7 @@ public:
return *m_editor.unsafe_ptr();
}
- virtual bool on_key(const KeyEvent& event);
+ virtual bool on_key(KeyEvent const& event);
bool is_regular() const { return engine_type() == EngineType::Regular; }
bool is_vim() const { return engine_type() == EngineType::Vim; }
@@ -52,8 +52,8 @@ protected:
void move_one_left();
void move_one_right();
- void move_one_up(const KeyEvent& event);
- void move_one_down(const KeyEvent& event);
+ void move_one_up(KeyEvent const& event);
+ void move_one_down(KeyEvent const& event);
void move_to_previous_span();
void move_to_next_span();
void move_to_logical_line_beginning();