Sets the document edited flag for the window controller.
- macOS 10.0+
YESif the document has been edited since its last save,
NOif it hasn't.
The window controller uses this flag to control whether its associated window shows up as dirty. You should not call this method directly for window controllers with an associated document; the document calls this method on its window controllers as needed.