mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:07:45 +00:00
LibLine: Implement internal functions to jump cursor over non-space word
Two new internal functions `cursor_left_nonspace_word()` (`Ctrl+Alt+B`) and `cursor_right_nonspace_word()` (`Ctrl+Alt+F`) that jump the cursor left or right until a non-space character. Same implementation as the alphanumeric word jump functions `cursor_left_word()` (`Alt+B`) and `cursor_right_word()` (`Alt+F`).
This commit is contained in:
parent
a6ce86a4b3
commit
97bcdba2a5
3 changed files with 39 additions and 0 deletions
|
@ -105,8 +105,10 @@ struct Configuration {
|
|||
M(clear_screen) \
|
||||
M(cursor_left_character) \
|
||||
M(cursor_left_word) \
|
||||
M(cursor_left_nonspace_word) \
|
||||
M(cursor_right_character) \
|
||||
M(cursor_right_word) \
|
||||
M(cursor_right_nonspace_word) \
|
||||
M(enter_search) \
|
||||
M(erase_character_backwards) \
|
||||
M(erase_character_forwards) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue