ide-highlight-index

ide-highlight-index

Functions

Object Hierarchy

    GBoxed
    ╰── IdeHighlightIndex

Description

Functions

ide_highlight_index_new ()

IdeHighlightIndex *
ide_highlight_index_new (void);

ide_highlight_index_new_from_variant ()

IdeHighlightIndex *
ide_highlight_index_new_from_variant (GVariant *variant);

ide_highlight_index_ref ()

IdeHighlightIndex *
ide_highlight_index_ref (IdeHighlightIndex *self);

ide_highlight_index_unref ()

void
ide_highlight_index_unref (IdeHighlightIndex *self);

ide_highlight_index_insert ()

void
ide_highlight_index_insert (IdeHighlightIndex *self,
                            const gchar *word,
                            gpointer tag);

ide_highlight_index_lookup ()

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.

Parameters

self

An IdeHighlightIndex.

 

Returns

Highlighter specific tag.

[transfer none][nullable]


ide_highlight_index_dump ()

void
ide_highlight_index_dump (IdeHighlightIndex *self);

ide_highlight_index_to_variant ()

GVariant *
ide_highlight_index_to_variant (IdeHighlightIndex *self);

Creates a variant to represent the index. Useful to transport across IPC boundaries.

Parameters

self

a IdeHighlightIndex

 

Returns

a GVariant.

[transfer full]

Types and Values