     }
     
     
-    /// open script file in an editor
+    /// Open script file in an editor.
     ///
     /// - Throws: `ScriptFileError`
     private func editScript(at url: URL) throws {

        
        // observe for script folder change
        NSFileCoordinator.addFilePresenter(self)
        NotificationCenter.default.addObserver(self, selector: #selector(applicationDidBecomeActive), name: NSApplication.didBecomeActiveNotification, object: NSApp)
    }
    
    
    deinit {
        self.menuBuildingTask?.cancel()
        
        NSFileCoordinator.removeFilePresenter(self)
    }
    

    }
    
    
    /// Reveal script file in Finder.
    ///
    /// - Throws: `ScriptFileError`
    private func revealScript(at url: URL) throws {
