can_insert


Description:

public bool can_insert (bool default_editability)

Considering the default editability of the buffer, and tags that affect editability, determines whether text inserted at this would be editable.

If text inserted at this would be editable then the user should be allowed to insert text at this. [method@Gtk.TextBuffer.insert_interactive] uses this function to decide whether insertions are allowed at a given position.

Parameters:

this

an iterator

default_editability

true if text is editable by default

Returns:

whether text inserted at this would be editable