Top | ![]() |
![]() |
![]() |
![]() |
IdeSourceSnippetChunk *
ide_source_snippet_chunk_copy (IdeSourceSnippetChunk *chunk
);
Copies the source snippet.
IdeSourceSnippetContext *
ide_source_snippet_chunk_get_context (IdeSourceSnippetChunk *chunk
);
Gets the context for the snippet insertion.
void ide_source_snippet_chunk_set_context (IdeSourceSnippetChunk *chunk
,IdeSourceSnippetContext *context
);
const gchar *
ide_source_snippet_chunk_get_spec (IdeSourceSnippetChunk *chunk
);
void ide_source_snippet_chunk_set_spec (IdeSourceSnippetChunk *chunk
,const gchar *spec
);
gint
ide_source_snippet_chunk_get_tab_stop (IdeSourceSnippetChunk *chunk
);
void ide_source_snippet_chunk_set_tab_stop (IdeSourceSnippetChunk *chunk
,gint tab_stop
);
const gchar *
ide_source_snippet_chunk_get_text (IdeSourceSnippetChunk *chunk
);
void ide_source_snippet_chunk_set_text (IdeSourceSnippetChunk *chunk
,const gchar *text
);
gboolean
ide_source_snippet_chunk_get_text_set (IdeSourceSnippetChunk *chunk
);
void ide_source_snippet_chunk_set_text_set (IdeSourceSnippetChunk *chunk
,gboolean text_set
);
#define IDE_TYPE_SOURCE_SNIPPET_CHUNK (ide_source_snippet_chunk_get_type())
“spec”
property“spec” gchar *
The specification to expand using the context.
Flags: Read / Write
Default value: NULL
“tab-stop”
property“tab-stop” gint
The tab stop for the chunk.
Flags: Read / Write
Allowed values: >= -1
Default value: -1
“text-set”
property“text-set” gboolean
If the text property has been manually set.
Flags: Read / Write
Default value: FALSE