TextIter.insideSentence

Determines whether iter is inside a sentence (as opposed to in between two sentences, e.g. after a period and before the first letter of the next sentence). Sentence boundaries are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango text boundary algorithms).

class TextIter
bool
insideSentence
()

Return Value

Type: bool

TRUE if iter is inside a sentence.