Skip to content

EditableTextDocument.ClearUndoHistory method

Drops both stacks, so what is in the document becomes the starting point. A control that must not retain what was typed clears it; setting the text does so implicitly.

public void ClearUndoHistory()