starts_tag


Description:

public bool starts_tag (TextTag? tag)

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 this is at the beginning of the tagged range, and that the character at this is inside the tagged range. In other words, unlike [[email protected]_tag], if this function returns true, [[email protected]_tag will also return true for the same parameters.

Parameters:

this

an iterator

tag

a `GtkTextTag`

Returns:

whether this is the start of a range tagged with tag




2022 vala-language.org