Gtk.TextView.prototype.scroll_mark_onscreen

function scroll_mark_onscreen(mark:Gtk.TextMark):void {
    // Gjs wrapper for gtk_text_view_scroll_mark_onscreen()
}

Scrolls text_view the minimum distance such that mark is contained within the visible area of the widget.

mark

a mark in the buffer for text_view