TextIter.startsTag

bool startsTag(gtk.text_tag.TextTag tag = null)

Returns true if tag is toggled on at exactly this point.

If tag is null, returns true if any tag is toggled on at this point.

Note that if this function returns true, it means that iter is at the beginning of the tagged range, and that the character at iter is inside the tagged range. In other words, unlike [gtk.text_iter.TextIter.endsTag], if this function returns true, [gtk.text_iter.TextIter.hasTag] will also return true for the same parameters.

Parameters

taga [gtk.text_tag.TextTag]

Returns

whether iter is the start of a range tagged with tag