SearchContext.forwardFinish

bool forwardFinish(gio.async_result.AsyncResult result, out gtk.text_iter.TextIter matchStart, out gtk.text_iter.TextIter matchEnd, out bool hasWrappedAround)

Finishes a forward search started with [gtksource.search_context.SearchContext.forwardAsync].

See the documentation of [gtksource.search_context.SearchContext.forward] for more details.

Parameters

resulta #GAsyncResult.
matchStartreturn location for start of match, or null.
matchEndreturn location for end of match, or null.
hasWrappedAroundreturn location to know whether the search has wrapped around, or null.

Returns

whether a match was found.

Throws

[ErrorWrap]