SetMaxUndoSteps

Forms, interaction, edit history

Description

Stores the maximum number of edit history entries retained per active edit

Negative values are raised to zero and values above 10000 are lowered to 10000

After storing the limit the retained history is trimmed immediately, so entries that no longer fit are discarded right away

Declaration

procedure SetMaxUndoSteps(Value: Integer);

Parameters

ValueRequested entry limit, clamped into the range 0 through 10000

See also

MaxUndoSteps, TrimEditHistory, ResetEditHistory, UndoEditCount, RedoEditCount