EditableTextDocument.UndoSizeLimit property
Most recent edits to keep, oldest dropped past it. Negative keeps every edit; zero records none, which is how a control that must not retain what was typed opts out of undo. A group counts as the edits it holds, and the limit never leaves half of one behind.
public int UndoSizeLimit { get; set; }See Also
Section titled “See Also”- class EditableTextDocument
- namespace Aprillz.MewUI.Text.Editing