ends_tag


Description:

public bool ends_tag (TextTag? tag)

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 this function returns true, it means that this is at the end of the tagged range, but that the character at this is outside the tagged range. In other words, unlike [ method@Gtk.TextIter.starts_tag], if this function returns true, [method@Gtk.TextIter.has_tag] will return false for the same parameters.

Parameters:

this

an iterator

tag

a `GtkTextTag`

Returns:

whether this is the end of a range tagged with tag