synchronizeWindowTitleWithDocumentName()
Synchronizes the displayed window title and the represented filename with the information in the associated document.
Declaration
func synchronizeWindowTitleWithDocumentName()Discussion
Does nothing if the window controller has no associated document or loaded window. This method queries the window controller’s document to get the document’s display name and full filename path, then calls windowTitle(forDocumentDisplayName:) to get the display name to show in the window title.