Determines whether the character pointed by iter is part of a natural-language word (as opposed to say inside some whitespace). Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms).

Note that if TextIter.startsWord returns TRUE, then this function returns TRUE too, since iter points to the first character of the word.

class TextIter

Return Value

Type: bool

TRUE if iter is inside a word