"undoDepth" - obsolete
    
    This property holds the depth of the undo history. (Obsolete since Version 3.10)
Synopsis
setValue(string shape,"undoDepth",int num);
getValue(string shape,"undoDepth",int &num);
                    shape.undoDepth(intnum);
Parameter
| Parameter | Description | 
|---|---|
| shape | Object name | 
| num | Number of possible undo actions | 
Description
This property holds the depth of the undo history (of a textEdit).
Example
In the following example the number of possible undo actions is set to 5.
main(bool enter)
{
  int numU = 5; //5 steps
  setValue (obj,"undoDepth",numU);
  int us;
  getValue(obj,"undoDepth",us);
  DebugN("Number of undo steps", us);
}
        Assignment
TextEdit
