Macro Reference — Window Object — DiscardUndo Property (Window Object)

# DiscardUndo Property (Window Object)

Returns the flag to indicate whether EmEditor discards undo information to improve the speed of replace, insert or delete.

##

### [JavaScript]

    b =DiscardUndo;
    DiscardUndo = b;

### [VBScript]

    b =DiscardUndo
    DiscardUndo = b

## Version

Supported on EmEditor Professional Version 14.4 or later.