int get_max_undo_levels()
Determines the number of undo levels the buffer will track for buffer edits.