Text_Buffer module

insert

procedure · 1 overloadsince 0.31.0Source

Insert text at offset (clamped to the text). Recorded for undo; typing one character after another merges into a single undo step.

insert :: (buffer: *Text_Buffer, offset: int, text: string)

Insert text at offset (clamped to the text). Recorded for undo; typing one character after another merges into a single undo step.

Parameters

buffer: *Text_Buffer
offset: int
text: string

See also