forward_find_char


Description:

public bool forward_find_char (TextCharPredicate pred, TextIter? limit)

Advances this, calling pred on each character.

If pred returns true, returns true and stops scanning. If pred never returns true, this is set to limit if limit is non-null, otherwise to the end iterator.

Parameters:

this

a TextIter

pred

a function to be called on each character

limit

search limit, or null for none

user_data

user data for pred

Returns:

whether a match was found