From 0f3e84f0ef4c62d20e5cb4d9e5677ec39afb894d Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 17 Nov 2021 19:41:39 +0800 Subject: ... --- include/cru/ui/controls/TextHostControlService.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/cru/ui/controls/TextHostControlService.hpp') 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(); -- cgit v1.2.3