Top | ![]() |
![]() |
![]() |
![]() |
IdeHighlightIndex *
ide_highlight_index_new_from_variant (GVariant *variant
);
void ide_highlight_index_insert (IdeHighlightIndex *self
,const gchar *word
,gpointer tag
);
gpointer ide_highlight_index_lookup (IdeHighlightIndex *self
,const gchar *word
);
Gets the pointer tag that was registered for word
, or NULL
. This can be
any arbitrary value. Some highlight engines might use it to point at
internal structures or strings they know about to optimize later work.
Since: 3.32
GVariant *
ide_highlight_index_to_variant (IdeHighlightIndex *self
);
Creates a variant to represent the index. Useful to transport across IPC boundaries.
Since: 3.32