diff options
author | crupest <crupest@outlook.com> | 2021-11-17 19:41:39 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-11-17 19:41:39 +0800 |
commit | 0f3e84f0ef4c62d20e5cb4d9e5677ec39afb894d (patch) | |
tree | d1f4c0686fd12f82b8af5b3ca015b5d995d773ff /include/cru/ui/controls | |
parent | 7be210036e363f2105ace761451448507d4b06d8 (diff) | |
download | cru-0f3e84f0ef4c62d20e5cb4d9e5677ec39afb894d.tar.gz cru-0f3e84f0ef4c62d20e5cb4d9e5677ec39afb894d.tar.bz2 cru-0f3e84f0ef4c62d20e5cb4d9e5677ec39afb894d.zip |
...
Diffstat (limited to 'include/cru/ui/controls')
-rw-r--r-- | include/cru/ui/controls/TextHostControlService.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cru/ui/controls/TextHostControlService.hpp b/include/cru/ui/controls/TextHostControlService.hpp index f63a45c2..1b0908ce 100644 --- a/include/cru/ui/controls/TextHostControlService.hpp +++ b/include/cru/ui/controls/TextHostControlService.hpp @@ -119,6 +119,8 @@ class TextHostControlService : public Object { void SetSelection(gsl::index caret_position); void SetSelection(TextRange selection, bool scroll_to_caret = true); + void SelectAll(); + void ChangeSelectionEnd(gsl::index new_end); void AbortSelection(); |