Method
IdeCompletionProvideris_trigger
since: 3.32
Declaration
gboolean
ide_completion_provider_is_trigger (
IdeCompletionProvider* self,
const GtkTextIter* iter,
gunichar ch
)
Description
Completion providers may want to trigger that the completion window is displayed upon insertion of a particular character. For example, a C indenter might want to trigger after -> or . is inserted.
ch is set to the character that was just inserted. If you need something
more complex, copy iter and move it backwards twice to check the character
previous to ch.
Available since: 3.32
Parameters
iter-
Type:
GtkTextIterThe current insertion point.
The data is owned by the caller of the function. ch-
Type:
gunicharThe character that was just inserted.