mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:17:34 +00:00
Vim: More correct word jumping (#5090)
Implemented move_to_beginning_of_next(), move_to_end_of_next(), move_to_beginning_of_previous() and move_to_end_of_previous() functions for more correct word jumping than the move_to_xxx_span() methods that were previously used.
This commit is contained in:
parent
0678dab7dc
commit
330ab52ddb
3 changed files with 273 additions and 4 deletions
|
@ -68,6 +68,10 @@ protected:
|
|||
void move_page_down(const KeyEvent& event);
|
||||
void move_to_first_line();
|
||||
void move_to_last_line();
|
||||
void move_to_beginning_of_next_word();
|
||||
void move_to_end_of_next_word();
|
||||
void move_to_end_of_previous_word();
|
||||
void move_to_beginning_of_previous_word();
|
||||
|
||||
void move_up(const KeyEvent& event, double page_height_factor);
|
||||
void move_down(const KeyEvent& event, double page_height_factor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue