Buffer.getUndoManager

gtksource.undo_manager.UndoManager getUndoManager() nothrow

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.