Instance Property

isDocumentEdited

A Boolean value indicating whether the document has changes that have not been saved.

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.

See Also

Managing Document Status

var fileNameExtensionWasHiddenInLastRunSavePanel: Bool

A Boolean value indicating whether the user chose to hide the name extension of the file that was selected in the Save panel for the document.

var isInViewingMode: Bool

A Boolean value indicating whether the document is in read-only mode.