Gtk.TextView.prototype.reset_im_context

function reset_im_context():void {
    // Gjs wrapper for gtk_text_view_reset_im_context()
}

Reset the input method context of the text view if needed.

This can be necessary in the case where modifying the buffer would confuse on-going input method behavior.

Since 2.22