Buffer.beginNotUndoableAction
void beginNotUndoableAction()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 [gtksource.buffer.Buffer.beginNotUndoableAction] / [gtksource.buffer.Buffer.endNotUndoableAction] blocks.