-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LibWeb: Update editable node selections with arrow/home/end keys
When an editable node is focused and one of the arrow/home/end keys are pressed while shift is held, we will now create or update the document's selection. There is a bit of nuance to the behavior here, which matches how the cursor behaves in other engines. We will of course want to abstract this in the future to extend any non- editable node text selections. This also does not implement holding ctrl to jump by word, rather than grapheme. (cherry picked from commit 1240aaa294991b66a04a5ac5e7efcfa494d01d78)
- Loading branch information
Showing
1 changed file
with
73 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters