pub fn document_edited(window: &NSWindow) -> bool
Whether the document in window has unsaved changes.
window