From e14bd81c042af57fe939ae3325ca0a3eb4391047 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Mon, 7 Aug 2023 21:09:58 -0400 Subject: [PATCH] Add SetDotColor method --- object.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/object.go b/object.go index 96e06b2..f62aa2e 100644 --- a/object.go +++ b/object.go @@ -238,6 +238,8 @@ type TextBox interface { // SetSelectable sets whether or not the text content can be // highlighted/selected. SetSelectable (bool) + // SetDotColor sets the highlight color of selected text. + SetDotColor (color.Color) // Select sets the text cursor or selection. Select (text.Dot) // Dot returns the text cursor or selection.