Snippet.newParsed

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

class Snippet
static
newParsed
(
string text
)

Parameters

text string

the formatted snippet text to parse

Return Value

Type: gtksource.snippet.Snippet

the newly parsed #GtkSourceSnippet, or null upon failure and error is set.