Pike v8.1 release 6

Method GTK2.SourceBuffer()->undo()


Method undo

GTK2.SourceBuffer undo()

Description

Undoes the last user action which modified the buffer. Use can_undo() to check whether a call to this function will have any effect.

Actions are defined as groups of operations between a call to GTK2.TextBuffer->begin_user_action() and GTK2.TextBuffer->end_user_action(), or sequences of similar edits (inserts or deletes) on the same line.