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.
IdeSnippetContext *
ide_snippet_chunk_get_context (IdeSnippetChunk *chunk
);
Gets the context for the snippet insertion.
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
);