Text_Buffer module

undo

procedure · 1 overloadsince 0.31.0Source

Undo the last step. Returns whether anything was undone and the offset the cursor belongs at.

undo :: (buffer: *Text_Buffer) -> (ok: bool, cursor: int)

Undo the last step. Returns whether anything was undone and the offset the cursor belongs at.

Parameters

buffer: *Text_Buffer

Returns

ok: bool
cursor: int

See also