TextIter.insideWord

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 gtk_text_iter_starts_word() returns %TRUE, then this function returns %TRUE too, since @iter points to the first character of the word.

class TextIter
bool
insideWord
()

Return Value

Type: bool

%TRUE if @iter is inside a word

Meta