UndoItem.Redo

Syntax

UndoItem.Redo

Purpose

Redoes an edit to the UndoItem.EditedFile property that the UndoItem.Undo method reverted.

Remarks

This method returns a TS_Err_UnexpectedChangeCount error if the change count of the UndoItem.EditedFile property is not equal to the value it was before the user made the edit that this undo item reverts.

Calling this method also restores the change count of the UndoItem.EditedFile property to the value it was after the user made the edit that this undo item reverts, sends a UIMsg_RefreshWindows user interface message to the sequence editor if the UndoItem.RefreshEnabled property is True , and sends a UIMsg_GotoLocation user interface message to the sequence editor to go to the location of the edit if the UndoItem.RefreshEnabled property is True .

See Also

PropertyObjectFile.ChangeCount

UIMessageCodes

UndoItem.CanRedo

UndoItem.EditedFile

UndoItem.RefreshEnabled

UndoItem.Undo