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

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

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