Gtk.TextBuffer::delete-range

function callback(text_buffer, start:Gtk.TextIter, end:Gtk.TextIter, ):void;

The ::delete-range signal is emitted to delete a range from a Gtk.TextBuffer.

Note that if your handler runs before the default handler it must not invalidate the start and end iters (or has to revalidate them). The default signal handler revalidates the start and end iters to both point point to the location where text was deleted. Handlers which run after the default handler (see g_signal_connect_after()) do not have access to the deleted text.

See also: Gtk.TextBuffer.prototype.delete.

text_buffer

instance of Gtk.TextBuffer that is emitting the signal

start

the start of the range to be deleted

end

the end of the range to be deleted