public void Apply(TEXInput input) { input.text = text; input.selectionStart = selectionStart; input.selectionLength = selectionLength; }
public UndoState(TEXInput input) { text = input.text; selectionStart = input.selectionStart; selectionLength = input.selectionLength; }