Pike v8.0 release 1738

Method GTK2.TextBuffer()->delete()


Method delete

GTK2.TextBuffer delete(GTK2.TextIter start, GTK2.TextIter end)

Description

Deletes text between start and end. The order of start and end is not actually relevant; delete() will reorder them. This function actually emits the "delete-range" signal, and the default handler of that signal deletes the text. Because the buffer is modified, all outstanding iterators become invalid after calling this function; however, start and end will be re-initialized to point to the location where text was deleted.