RichText.Undo

RichText.Undo ( 

string ObjectName )

Example 1

-- Check if an undo can be performed.
if (RichText.CanUndo("RichText1")) then
    -- Undo the last operation.
    RichText.Undo("RichText1");
end

Determines if an undo can be performed using the RichText.CanUndo action, and performs an undo on the last operation for the "RichText1" object.

See also:  Related Actions