diff options
Diffstat (limited to 'desktop/textarea.h')
-rw-r--r-- | desktop/textarea.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/desktop/textarea.h b/desktop/textarea.h index d01cd12c6..3fedeee35 100644 --- a/desktop/textarea.h +++ b/desktop/textarea.h @@ -198,6 +198,14 @@ bool textarea_mouse_action(struct textarea *ta, browser_mouse_state mouse, int x, int y); /** + * Clear any selection in the textarea. + * + * \param ta textarea widget + * \return true if there was a selection to clear, false otherwise + */ +bool textarea_clear_selection(struct textarea *ta); + +/** * Gets the dimensions of a textarea * * \param ta textarea widget |