TextBuffer.text

string text() const

Gets the buffer's text content.

Returns

The text content
void text(string content)

Sets the buffer's text content.

Parameters

contentNew text content