Gtk.TextBuffer.prototype.apply_tag

function apply_tag(tag:Gtk.TextTag, start:Gtk.TextIter, end:Gtk.TextIter):void {
    // Gjs wrapper for gtk_text_buffer_apply_tag()
}

Emits the "apply-tag" signal on buffer. The default handler for the signal applies tag to the given range. start and end do not have to be in order.

tag

a Gtk.TextTag

start

one bound of range to be tagged

end

other bound of range to be tagged