Add SetDotColor method

This commit is contained in:
Sasha Koshka 2023-08-07 21:09:58 -04:00
parent dc377c36a5
commit e14bd81c04
1 changed files with 2 additions and 0 deletions

View File

@ -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.