| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
GTK2
GTK2.SourceBuffer

# 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.