UndoItem.PreEditChangeCount

Syntax

UndoItem.PreEditChangeCount

Data Type

Long

Purpose

Returns the change count of the UndoItem.EditedFile property before the user made the edit this undo item reverts.

Remarks

The UndoItem.Redo method returns a TS_Err_UnexpectedChangeCount error if EditedFile.ChangeCount does not equal the value of this property. The UndoItem.Undo method restores EditedFile.ChangeCount to the value of this property after undoing the edit.

See Also

UndoItem.EditedFile

UndoItem.PostEditChangeCount

UndoItem.Redo

UndoItem.Undo