Documentation Language: Swift

Method

redo()

Redo the most recent undone command.

@MainActor func redo() async throws

Discussion

This method re-executes the most recently undone command, moving it from the redo stack back to the undo stack.