mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:48:11 +00:00
LibGUI: Expose a function to clear GTextEditor selection
This commit is contained in:
parent
9a01e70ff9
commit
5c2ef01f7b
2 changed files with 9 additions and 0 deletions
|
@ -69,6 +69,7 @@ public:
|
|||
bool has_selection() const { return m_selection.is_valid(); }
|
||||
String selected_text() const;
|
||||
void set_selection(const GTextRange&);
|
||||
void clear_selection();
|
||||
bool can_undo() const { return document().can_undo(); }
|
||||
bool can_redo() const { return document().can_redo(); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue