SnippetChunk.getText

string getText()

Gets the gtksource.snippet_chunk.SnippetChunk.text property.

The text property is updated when the user edits the text of the chunk. If it has not been edited, the gtksource.snippet_chunk.SnippetChunk.spec property is returned.

Returns

the text of the chunk