Buffer.getUndoManager

Returns the #GtkSourceUndoManager associated with the buffer, see gtksource.buffer.Buffer.setUndoManager. The returned object should not be unreferenced by the user.

Returns

the #GtkSourceUndoManager associated

with the buffer, or null.