mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-19 16:59:47 +00:00
LibWeb: Invoke correct word-jumping method in EditingHostManager
Some checks are pending
CI / macOS, arm64, Sanitizer, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer, Clang (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
Some checks are pending
CI / macOS, arm64, Sanitizer, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer, Clang (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
This commit is contained in:
parent
97548f48de
commit
c566cc5024
Notes:
github-actions[bot]
2025-07-25 16:58:06 +00:00
Author: https://github.com/trflynn89
Commit: c566cc5024
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5605
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ void EditingHostManager::increment_cursor_position_to_next_word(CollapseSelectio
|
||||||
auto selection = m_document->get_selection();
|
auto selection = m_document->get_selection();
|
||||||
if (!selection)
|
if (!selection)
|
||||||
return;
|
return;
|
||||||
selection->move_offset_to_next_character(collapse == CollapseSelection::Yes);
|
selection->move_offset_to_next_word(collapse == CollapseSelection::Yes);
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditingHostManager::decrement_cursor_position_to_previous_word(CollapseSelection collapse)
|
void EditingHostManager::decrement_cursor_position_to_previous_word(CollapseSelection collapse)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue