WM_CanRevertToSaved Function

Returns whether the chosen editor can be reverted to a previous saved state.

Arguments

Number Type Compulsory Default Description
1 string Yes Editor ID

Argument 1

The ID of the editor to check.

Returns

Return type: boolean

Returns true (1) if the editor can be reverted to a saved state, false (0) otherwise.