TextIter.endsTag

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

Returns true if tag is toggled off at exactly this point. If tag is null, returns true if any tag is toggled off at this point.

Note that if [gtk.text_iter.TextIter.endsTag] returns true, it means that iter is at the end of the tagged range, but that the character at iter is outside the tagged range. In other words, unlike [gtk.text_iter.TextIter.startsTag], if [gtk.text_iter.TextIter.endsTag] returns true, [gtk.text_iter.TextIter.hasTag] will return false for the same parameters.

Parameters

taga #GtkTextTag, or null

Returns

whether iter is the end of a range tagged with tag