Gtk.TextView.prototype.move_mark_onscreen

function move_mark_onscreen(mark:Gtk.TextMark):Boolean {
    // Gjs wrapper for gtk_text_view_move_mark_onscreen()
}

Moves a mark within the buffer so that it's located within the currently-visible text area.

mark

a Gtk.TextMark

Returns

true if the mark moved (wasn't already onscreen)