// SetText sets the Text field's value.
773341
func (s *TextInput) SetText(v string) *TextInput {
	s.Text = &v
	return s
}
340475
func (s *Button) SetText(v string) *Button {
	s.Text = &v
	return s
}
757963
func (s *Message) SetTitle(v string) *Message {
	s.Title = &v
	return s
}
35621
func (f *Field) SetText(text string) FieldInterface {
	if f.fieldType == formcommon.BUTTON ||
		f.fieldType == formcommon.SUBMIT ||
		f.fieldType == formcommon.RESET ||
		f.fieldType == formcommon.STATIC ||
		f.fieldType == formcommon.TEXTAREA {
		f.additionalData["text"] = text
	}
	return f
}
768956
func (s *SyntaxToken) SetText(v string) *SyntaxToken {
	s.Text = &v
	return s
}
96613
func (e *TextEdit) SetText(text string) {
	e.text.Set([]rune(text))
}
279083
func (s *IndexField) SetTextOptions(v *TextOptions) *IndexField {
	s.TextOptions = v
	return s
}
1000
func (h *TextHandler) SetTextTemplate(t *template.Template) {
	h.mtx.Lock()
	defer h.mtx.Unlock()
	h.template = t
}
886230
func (c *Conn) SendText(text string) (err error) {
	return c._send(TextMessage, []byte(text))
}
879266
func (s *Entity) SetText(v string) *Entity {
	s.Text = &v
	return s
}
606045
func (a *HandleJavaScriptDialogArgs) SetPromptText(promptText string) *HandleJavaScriptDialogArgs {
	a.PromptText = &promptText
	return a
}
577232
func (s *StartSpeechSynthesisTaskInput) SetTextType(v string) *StartSpeechSynthesisTaskInput {
	s.TextType = &v
	return s
}
1266481
func (m *Modal) SetTextColor(color tcell.Color) *Modal {
	m.textColor = color
	return m
}
706605
func (p *parser) addText(text string) {
	if text == "" {
		return
	}

	if p.shouldFosterParent() {
		p.fosterParent(&Node{
			Type: TextNode,
			Data: text,
		})
		return
	}

	t := p.top()
	if n := t.LastChild; n != nil && n.Type == TextNode {
		n.Data += text
		return
	}
	p.addChild(&Node{
		Type: TextNode,
		Data: text,
	})
}
1101492
func (s *SqlInjectionMatchTuple) SetTextTransformation(v string) *SqlInjectionMatchTuple {
	s.TextTransformation = &v
	return s
}
1202942
func (s *Term) SetSourceText(v string) *Term {
	s.SourceText = &v
	return s
}
436472
func (a *DispatchKeyEventArgs) SetText(text string) *DispatchKeyEventArgs {
	a.Text = &text
	return a
}