TextIter.endsTag

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 @iter is at the end of the tagged range, but that the character at @iter 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.

class TextIter
bool
endsTag

Parameters

tag TextTag

a GtkTextTag, or %NULL

Return Value

Type: bool

whether @iter is the end of a range tagged with @tag

Meta