Method

GtkSourceSearchContextbackward_finish

Declaration [src]

gboolean
gtk_source_search_context_backward_finish (
  GtkSourceSearchContext* search,
  GAsyncResult* result,
  GtkTextIter* match_start,
  GtkTextIter* match_end,
  gboolean* has_wrapped_around,
  GError** error
)

Description [src]

Finishes a backward search started with gtk_source_search_context_backward_async().

See the documentation of gtk_source_search_context_backward() for more details.

Parameters

result GAsyncResult
 

A GAsyncResult.

 The data is owned by the caller of the function.
match_start GtkTextIter
 

Return location for start of match, or NULL.

 The argument will be set by the function.
 The argument can be NULL.
 The data is owned by the caller of the function.
match_end GtkTextIter
 

Return location for end of match, or NULL.

 The argument will be set by the function.
 The argument can be NULL.
 The data is owned by the caller of the function.
has_wrapped_around gboolean*
 

Return location to know whether the search has wrapped around, or NULL.

 The argument will be set by the function.
 The argument can be NULL.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

Whether a match was found.