@@ -82,7 +82,7 @@ enum RecentProjectsStore {
8282
8383 let urlToString = url. absoluteString
8484
85- // if file portion of local URL has "/" at the end then it is a folder , files and folders go in two separate lists
85+ // if file portion of local URL has "/" at the end then it is a folder , files and folders go in two separate lists
8686
8787 if urlToString. hasSuffix ( " / " ) {
8888 if let containedIndex = projPaths. firstIndex ( where: { $0. componentCompare ( url) } ) {
@@ -113,7 +113,6 @@ enum RecentProjectsStore {
113113 /// Remove all folder paths in the set.
114114 /// - Parameter paths: The paths to remove.
115115 /// - Returns: The remaining urls in the recent projects list.
116-
117116 static func removeRecentFiles( _ paths: Set < URL > ) -> [ URL ] {
118117 var recentFilePaths = recentFileURLs ( )
119118 recentFilePaths. removeAll ( where: { paths. contains ( $0) } )
@@ -126,9 +125,7 @@ enum RecentProjectsStore {
126125 setFilePaths ( [ ] )
127126 NotificationCenter . default. post ( name: Self . didUpdateNotification, object: nil )
128127 }
129- // TODO do we need to setdocument controller for Projects AND Files????
130- // doesn't seem like it clears in teh finder anyway
131- // ...more testing whcn Cleairng list required.
128+
132129 /// Syncs AppKit's recent documents list with ours, keeping the dock menu and other lists up-to-date.
133130 private static func setDocumentControllerRecents( ) {
134131 CodeEditDocumentController . shared. clearRecentDocuments ( nil )
0 commit comments