mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 01:59:31 +00:00
Ladybird: Add "Copy" and "Select All" actions to the Edit menu
This commit is contained in:
parent
b79bc25a1f
commit
9c7e26b8d4
Notes:
sideshowbarker
2024-07-17 01:47:52 +09:00
Author: https://github.com/awesomekling
Commit: 9c7e26b8d4
Pull-request: https://github.com/SerenityOS/serenity/pull/16966
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/emanuele6
Reviewed-by: https://github.com/linusg ✅
4 changed files with 45 additions and 1 deletions
|
@ -1120,3 +1120,13 @@ void WebContentView::notify_server_did_get_accessibility_tree(DeprecatedString c
|
|||
{
|
||||
dbgln("TODO: support accessibility tree in Ladybird");
|
||||
}
|
||||
|
||||
DeprecatedString WebContentView::selected_text()
|
||||
{
|
||||
return client().get_selected_text();
|
||||
}
|
||||
|
||||
void WebContentView::select_all()
|
||||
{
|
||||
client().async_select_all();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue