set_max_undo_levels


Description:

public void set_max_undo_levels (uint max_undo_levels)

Sets the maximum number of undo levels to perform.

If 0, unlimited undo actions may be performed. Note that this may have a memory usage impact as it requires storing an additional copy of the inserted or removed text within the text buffer.

Parameters:

this

a `GtkTextBuffer`

max_undo_levels

the maximum number of undo actions to perform




2022 vala-language.org