     
     
     /// document updated syntax style
-    func didChangeSyntaxStyle(_ notification: NSNotification?) {
+    func didChangeSyntaxStyle(_ notification: Notification?) {
         
         guard let syntaxStyle = self.syntaxStyle else { return }
         

    // MARK: Notifications
    
    /// selection did change
    func textViewDidChangeSelection(_ notification: NSNotification?) {
        
        // update document information
        self.document?.analyzer.invalidateEditorInfo()

    
    
    /// theme did update
    func didUpdateTheme(_ notification: Notification?) {
        
        guard
            let oldName = notification?.userInfo?[SettingFileManager.NotificationKey.old] as? String,
