isDocumentEdited
A Boolean value that indicates whether the document has unsaved changes.
Declaration
var isDocumentEdited: Bool { get }Discussion
The value of this property is true if the document has been edited. The edited status of each document window reflects the document’s edited status.