Pike v8.1 release 6

Method GTK2.SourceBuffer()->begin_not_undoable_action()


Method begin_not_undoable_action

GTK2.SourceBuffer begin_not_undoable_action()

Description

Marks the beginning of a not undoable action on the buffer, disabling the undo manager. Typically you would call this function before initially setting the contents of the buffer (e.g. when loading a file in a text editor).

You may nest begin_no_undoable_action()/end_not_undoable_action() blocks.