Gtk.TextBuffer.prototype.remove_all_tags

function remove_all_tags(start:Gtk.TextIter, end:Gtk.TextIter):void {
    // Gjs wrapper for gtk_text_buffer_remove_all_tags()
}

Removes all tags in the range between start and end. Be careful with this function; it could remove tags added in code unrelated to the code you're currently writing. That is, using this function is probably a bad idea if you have two or more unrelated code sections that add tags.

start

one bound of range to be untagged

end

other bound of range to be untagged