Snippet.newParsed

gtksource.snippet.Snippet newParsed(string text)

Parses the snippet formatted text into a series of chunks and adds them to a new #GtkSourceSnippet.

Parameters

textthe formatted snippet text to parse

Returns

the newly parsed #GtkSourceSnippet, or null upon

failure and error is set.

Throws

[ErrorWrap]