Gtk.TextIter.prototype.get_chars_in_line

function get_chars_in_line():Number {
    // Gjs wrapper for gtk_text_iter_get_chars_in_line()
}

Returns the number of characters in the line containing iter, including the paragraph delimiters.

Returns

number of characters in the line