get_snippet


Description:

public Snippet? get_snippet (string? group, string? language_id, string trigger)

Queries the known snippets for the first matching group, language_id, and/or trigger.

If group or language_id are null, they will be ignored.

Parameters:

this

a SnippetManager

group

a group name or null

language_id

a id or null

trigger

the trigger for the snippet

Returns:

a Snippet or null if no matching snippet was found.




2022 vala-language.org