// SetText sets the Text optional argument. Text as generated by
// processing a virtual key code with a keyboard layout. Not needed for
// for `keyUp` and `rawKeyDown` events (default: "")
436472
func (a *DispatchKeyEventArgs) SetText(text string) *DispatchKeyEventArgs {
	a.Text = &text
	return a
}
959503
func (s *EncryptInput) SetPlaintext(v []byte) *EncryptInput {
	s.Plaintext = v
	return s
}
462842
func (c *CSS) SetMediaText(styleSheetId string, theRange *CSSSourceRange, text string) (*CSSCSSMedia, error) {
	var v CSSSetMediaTextParams
	v.StyleSheetId = styleSheetId
	v.TheRange = theRange
	v.Text = text
	return c.SetMediaTextWithParams(&v)
}
473450
func (s *Block) SetText(v string) *Block {
	s.Text = &v
	return s
}
608854
func (t *TextBar) SetStyle(style tcell.Style) {
	t.initialize()
	t.style = style
}
946520
func (s *BatchDetectKeyPhrasesInput) SetTextList(v []*string) *BatchDetectKeyPhrasesInput {
	s.TextList = v
	return s
}
1202942
func (s *Term) SetSourceText(v string) *Term {
	s.SourceText = &v
	return s
}
598614
func (c *keyValueChanger) SetKey(key string) (string, error) {
	if c.err != nil {
		return "", c.err
	}
	if !c.node.container.duplicates {
		if c.node.hasDuplicateSibling(key) {
			return "", errors.New(ErrDuplicate, errorMessages)
		}
	}
	current := c.node.content.key().(string)
	c.node.content = keyValue{key, c.node.content.value()}
	return current, nil
}
1266074
func (s *SynthesisTask) SetTextType(v string) *SynthesisTask {
	s.TextType = &v
	return s
}
1040462
func (h *Header) SetText(k, v string) {
	h.Set(k, encodeHeader(v))
}
1047706
func (s *DetectEntitiesInput) SetText(v string) *DetectEntitiesInput {
	s.Text = &v
	return s
}
1101492
func (s *SqlInjectionMatchTuple) SetTextTransformation(v string) *SqlInjectionMatchTuple {
	s.TextTransformation = &v
	return s
}
966924
func (s *PasswordData) SetCiphertext(v string) *PasswordData {
	s.Ciphertext = &v
	return s
}
120334
func (s *TextOutput) SetTranslatedText(v string) *TextOutput {
	s.TranslatedText = &v
	return s
}
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,
	})
}
96613
func (e *TextEdit) SetText(text string) {
	e.text.Set([]rune(text))
}
1154174
func (d *domainClient) SetStyleTexts(ctx context.Context, args *SetStyleTextsArgs) (reply *SetStyleTextsReply, err error) {
	reply = new(SetStyleTextsReply)
	if args != nil {
		err = rpcc.Invoke(ctx, "CSS.setStyleTexts", args, reply, d.conn)
	} else {
		err = rpcc.Invoke(ctx, "CSS.setStyleTexts", nil, reply, d.conn)
	}
	if err != nil {
		err = &internal.OpError{Domain: "CSS", Op: "SetStyleTexts", Err: err}
	}
	return
}