get_max_undo_levels


Description:

public int get_max_undo_levels ()

Determines the number of undo levels the buffer will track for buffer edits.

Parameters:

this

a SourceBuffer.

Returns:

the maximum number of possible undo levels or -1 if no limit is set.