Method

GtkSourceCompletionContextget_word

Declaration

char*
gtk_source_completion_context_get_word (
  GtkSourceCompletionContext* self
)

Description

Gets the word that is being completed up to the position of the insert mark.

Return value

Returns: char*
 

A string containing the current word.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The string is a NUL terminated UTF-8 string.