// SetText sets the text content of the entry.
1847
func (e *Entry) SetText(text string) {
	e.text.Set([]rune(text))
	// TODO: Enable when RuneBuf supports cursor movement for CJK.
	// e.ensureCursorIsVisible()
	e.offset = 0
}
243892
func (t *TextView) SetText(text string) *TextView {
	t.Clear()
	fmt.Fprint(t, text)
	return t
}
1101492
func (s *SqlInjectionMatchTuple) SetTextTransformation(v string) *SqlInjectionMatchTuple {
	s.TextTransformation = &v
	return s
}
807993
func (entry *Entry) SetField(name string, value string) {
	entry.fields[name] = value
}
1372712
func (m *OutgoingMessage) SetTextFmt(text string, a ...interface{}) *OutgoingMessage {
	m.Text = fmt.Sprintf(text, a...)
	return m
}
1260393
func (s *CodeContent) SetTextContent(v string) *CodeContent {
	s.TextContent = &v
	return s
}
436472
func (a *DispatchKeyEventArgs) SetText(text string) *DispatchKeyEventArgs {
	a.Text = &text
	return a
}
1320675
func (s *SizeConstraint) SetTextTransformation(v string) *SizeConstraint {
	s.TextTransformation = &v
	return s
}
46255
func (s *BatchDetectDominantLanguageInput) SetTextList(v []*string) *BatchDetectDominantLanguageInput {
	s.TextList = v
	return s
}
1309751
func (s *Content) SetTextList(v []*Text) *Content {
	s.TextList = v
	return s
}
473450
func (s *Block) SetText(v string) *Block {
	s.Text = &v
	return s
}
48189
func (s *DetectSentimentInput) SetText(v string) *DetectSentimentInput {
	s.Text = &v
	return s
}
940119
func (gp *GoPdf) SetTextColor(r uint8, g uint8, b uint8) {
	rgb := Rgb{
		r: r,
		g: g,
		b: b,
	}
	gp.curr.setTextColor(rgb)
}
794973
func (t *Text) SetStyle(style tcell.Style) {
	t.style = style
	for i := 0; i < len(t.text); i++ {
		if t.widths[i] != 0 {
			t.styles[i] = t.style
		}
	}
	t.PostEventWidgetContent(t)
}
1305675
func (s *ByteMatchTuple) SetTextTransformation(v string) *ByteMatchTuple {
	s.TextTransformation = &v
	return s
}
528431
func (s *Lexicon) SetContent(v string) *Lexicon {
	s.Content = &v
	return s
}
237073
func (s *PutLexiconInput) SetContent(v string) *PutLexiconInput {
	s.Content = &v
	return s
}