dirty parameter

Use the dirty parameter to determine whether there is an uncompleted change.  The dirty parameter returns on if there is an uncompleted change, or off if there is no uncompleted change.

 

Availability

query command set command

 

Scope

The current view.

 

Syntax

query dirty
set dirty { on | off } 

 

Parameters

on Use the on parameter to force a dirty indication for the document.  This indication will be cleared on a successful save of the document, and can be explicitly reset with the set dirty off, undo resetChanges, and undo clear commands.
off Use the off parameter to no longer force a dirty indication.  This will not clear an actual indication of an uncomplete change in the document.

 

Examples

query dirty 

Related reference
query command
save command
undo command
autoCheck parameter
changes parameter
recording parameter