     }
     
     
-    /// Dispatch an Apple event that notifies the given document was opened
+    /// Dispatch an Apple event that notifies the given document was opened.
     ///
     /// - Parameter document: The document that was opened.
     func dispatchEvent(documentSaved document: Document) {

    
    private let scriptsDirectoryURL: URL
    private var scriptHandlersTable: [ScriptingEventType: [Script]] = [:]
    private var menuBuildingTask: DispatchWorkItem?
    
    
    

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