Gtk.TextIter.prototype.get_toggled_tags

function get_toggled_tags(toggled_on:Boolean):[Gtk.TextTag] {
    // Gjs wrapper for gtk_text_iter_get_toggled_tags()
}

Returns a list of Gtk.TextTag that are toggled on or off at this point. (If toggled_on is true, the list contains tags that are toggled on.) If a tag is toggled on at iter, then some non-empty range of characters following iter has that tag applied to it. If a tag is toggled off, then some non-empty range following iter does <emphasis>not</emphasis> have the tag applied to it.

toggled_on

true to get toggled-on tags

Returns

tags toggled at this point