Gtk.TextBuffer.prototype.insert_at_cursor
function insert_at_cursor(text:String, len:Number):void { // Gjs wrapper for gtk_text_buffer_insert_at_cursor() }
Simply calls Gtk.TextBuffer.prototype.insert, using the current cursor position as the insertion point.
- text
text in UTF-8 format
- len
length of text, in bytes