TextBuffer.insertInteractiveAtCursor

Calls TextBuffer.insertInteractive at the cursor position.

default_editable indicates the editability of text that doesn't have a tag affecting editability applied to it. Typically the result of TextView.getEditable is appropriate here.

class TextBuffer
bool
insertInteractiveAtCursor
(
string text
,)

Parameters

text string

text in UTF-8 format

defaultEditable bool

default editability of buffer

Return Value

Type: bool

whether text was actually inserted