mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:38:10 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -773,7 +773,7 @@ CursorWidth VimEditingEngine::cursor_width() const
|
|||
return m_vim_mode == VimMode::Insert ? CursorWidth::NARROW : CursorWidth::WIDE;
|
||||
}
|
||||
|
||||
bool VimEditingEngine::on_key(const KeyEvent& event)
|
||||
bool VimEditingEngine::on_key(KeyEvent const& event)
|
||||
{
|
||||
switch (m_vim_mode) {
|
||||
case (VimMode::Insert):
|
||||
|
@ -789,7 +789,7 @@ bool VimEditingEngine::on_key(const KeyEvent& event)
|
|||
return false;
|
||||
}
|
||||
|
||||
bool VimEditingEngine::on_key_in_insert_mode(const KeyEvent& event)
|
||||
bool VimEditingEngine::on_key_in_insert_mode(KeyEvent const& event)
|
||||
{
|
||||
if (EditingEngine::on_key(event))
|
||||
return true;
|
||||
|
@ -819,7 +819,7 @@ bool VimEditingEngine::on_key_in_insert_mode(const KeyEvent& event)
|
|||
return false;
|
||||
}
|
||||
|
||||
bool VimEditingEngine::on_key_in_normal_mode(const KeyEvent& event)
|
||||
bool VimEditingEngine::on_key_in_normal_mode(KeyEvent const& event)
|
||||
{
|
||||
// Ignore auxiliary keypress events.
|
||||
if (event.key() == KeyCode::Key_LeftShift
|
||||
|
@ -1102,7 +1102,7 @@ bool VimEditingEngine::on_key_in_normal_mode(const KeyEvent& event)
|
|||
return true;
|
||||
}
|
||||
|
||||
bool VimEditingEngine::on_key_in_visual_mode(const KeyEvent& event)
|
||||
bool VimEditingEngine::on_key_in_visual_mode(KeyEvent const& event)
|
||||
{
|
||||
// If the motion state machine requires the next character, feed it.
|
||||
if (m_motion.should_consume_next_character()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue