mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 10:47:35 +00:00
VimEditingEngine: Operate on real lines rather than wrapped ones
In the normal editing engine keys like Home, End etc work on visual lines, but vim operates on real ones. Eg if you have a really long line and wrapping is on then in normal editing Home would take you to the beginning of the wrapped line, but 'I' would put you insert mode at the beginning of the real line in vim.
This commit is contained in:
parent
5d1676b05a
commit
a7e7f62d08
3 changed files with 34 additions and 24 deletions
|
@ -48,6 +48,8 @@ protected:
|
|||
void move_one_down(const KeyEvent& event);
|
||||
void move_to_previous_span();
|
||||
void move_to_next_span(const KeyEvent& event);
|
||||
void move_to_logical_line_beginning();
|
||||
void move_to_logical_line_end();
|
||||
void move_to_line_beginning();
|
||||
void move_to_line_end();
|
||||
void move_page_up();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue