Method GTK2.SourceBuffer()->get_max_undo_levels() Method get_max_undo_levels int get_max_undo_levels() Description Determines the number of undo levels the buffer will track for buffer edits.