mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibGUI+Browser: Add UrlBox class
This allows the address bar to "select all" when initially gaining focus as Firefox and Chrome do. A future improvement on this would be for the Widget class to mange and provide focus transition as part of the events instead of the UrlBox class. Currently focus is updated before the event is provided to the UrlBox class.
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 05:32:49 +09:00
Author: https://github.com/robryanx Commit: https://github.com/SerenityOS/serenity/commit/34a64ed25b0 Pull-request: https://github.com/SerenityOS/serenity/pull/9432
@@ -142,6 +142,7 @@ public:
|
||||
void delete_previous_char();
|
||||
void delete_from_line_start_to_cursor();
|
||||
void select_all();
|
||||
void select_current_line();
|
||||
virtual void undo();
|
||||
virtual void redo();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user