FlashTextEditor.undoLevels

Availability

Flash Player 8
Flash Player 9(AS3 version)

Usage

myTextEditor.undoLevels:Number

Description

Property; indicates number of undo levels. The default value is 0.

Note: When working with long text files, be careful not to set this value too high for memory performance reasons.

Example

The following example sets the undoLevels property of component to 5 :

myTextEditor.undoLevels = 5;