Method
GtkSourceSearchContextget_occurrence_position
Declaration
gint
gtk_source_search_context_get_occurrence_position (
GtkSourceSearchContext* search,
const GtkTextIter* match_start,
const GtkTextIter* match_end
)
Description
Gets the position of a search occurrence.
If the buffer is not already fully scanned, the position may be unknown,
and -1 is returned. If 0 is returned, it means that this part of the buffer
has already been scanned, and that match_start
and match_end
don’t delimit an occurrence.