with the buffer, or null.
Buffer.getUndoManager
gtksource.undo_manager.UndoManager 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