Gtk.CssSection.prototype.get_end_position

function get_end_position():Number {
    // Gjs wrapper for gtk_css_section_get_end_position()
}

Returns the offset in bytes from the start of the current line returned via Gtk.CssSection.prototype.get_end_line. This value may change in future invocations of this function if section is not yet parsed completely. This will for example happen in the GtkCssProvider::parsing-error signal. The end position and line may be identical to the start position and line for sections which failed to parse anything successfully.

Since 3.2

Returns

the offset in bytes from the start of the line.