TextBuffer.setText

Deletes current contents of buffer, and inserts text instead. If len is -1, text must be nul-terminated. text must be valid UTF-8.

class TextBuffer
void
setText
(
string text
)

Parameters

text string

UTF-8 text to insert