1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-19 13:27:35 +00:00

GTextEditor: Add select_all() API.

Take the implementation of Ctrl+A and expose it as an API for clients.
This commit is contained in:
Andreas Kling 2019-06-22 10:38:38 +02:00
parent 9ee63ef8b3
commit c31cf907ce
2 changed files with 12 additions and 6 deletions

View file

@ -127,6 +127,7 @@ public:
void paste();
void do_delete();
void delete_current_line();
void select_all();
Function<void()> on_change;
Function<void()> on_return_pressed;