| Top |
| IdeSnippetChunk * | ide_snippet_chunk_new () |
| IdeSnippetChunk * | ide_snippet_chunk_copy () |
| IdeSnippetContext * | ide_snippet_chunk_get_context () |
| void | ide_snippet_chunk_set_context () |
| const gchar * | ide_snippet_chunk_get_spec () |
| void | ide_snippet_chunk_set_spec () |
| gint | ide_snippet_chunk_get_tab_stop () |
| void | ide_snippet_chunk_set_tab_stop () |
| const gchar * | ide_snippet_chunk_get_text () |
| void | ide_snippet_chunk_set_text () |
| gboolean | ide_snippet_chunk_get_text_set () |
| void | ide_snippet_chunk_set_text_set () |
The IdeSnippetChunk represents a single chunk of text that may or may not be an edit point within the snippet. Chunks that are an edit point (also called a tab stop) have the “tab-stop” property set.
IdeSnippetChunk *
ide_snippet_chunk_copy (IdeSnippetChunk *chunk);
Copies the source snippet.
Since: 3.32
IdeSnippetContext *
ide_snippet_chunk_get_context (IdeSnippetChunk *chunk);
Gets the context for the snippet insertion.
Since: 3.32
void ide_snippet_chunk_set_context (IdeSnippetChunk *chunk,IdeSnippetContext *context);
void ide_snippet_chunk_set_spec (IdeSnippetChunk *chunk,const gchar *spec);
void ide_snippet_chunk_set_tab_stop (IdeSnippetChunk *chunk,gint tab_stop);
void ide_snippet_chunk_set_text (IdeSnippetChunk *chunk,const gchar *text);
void ide_snippet_chunk_set_text_set (IdeSnippetChunk *chunk,gboolean text_set);
“context” property“context” IdeSnippetContext *
The snippet context.
Owner: IdeSnippetChunk
Flags: Read / Write
“spec” property “spec” gchar *
The specification to expand using the context.
Owner: IdeSnippetChunk
Flags: Read / Write
Default value: NULL
“tab-stop” property “tab-stop” gint
The tab stop for the chunk.
Owner: IdeSnippetChunk
Flags: Read / Write
Allowed values: >= -1
Default value: -1
“text” property “text” gchar *
The text for the chunk.
Owner: IdeSnippetChunk
Flags: Read / Write
Default value: NULL