Class Snippet

java.lang.Object
All Implemented Interfaces:
Proxy

@Generated("io.github.jwharm.JavaGI") public class Snippet extends GObject
Quick insertion code snippets.

The GtkSourceSnippet represents a series of chunks that can quickly be inserted into the View.

Snippets are defined in XML files which are loaded by the SnippetManager. Alternatively, applications can create snippets on demand and insert them into the View using View.pushSnippet(org.gnome.gtksourceview.Snippet, org.gnome.gtk.TextIter).

Snippet chunks can reference other snippet chunks as well as post-process the values from other chunks such as capitalization.