forward


Description:

[ Version ( deprecated = true , deprecated_since = "3.22" , since = "3.10" ) ]
public bool forward (TextIter iter, out TextIter match_start, out TextIter match_end)

Warning: forward is deprecated since 3.22.

Synchronous forward search.

Note:

Use forward2 instead.

It is recommended to use the asynchronous functions instead, to not block the user interface. However, if you are sure that the buffer is small, this function is more convenient to use.

Parameters:

this

a SourceSearchContext.

iter

start of search.

match_start

return location for start of match, or null.

match_end

return location for end of match, or null.

Returns:

whether a match was found.