     
     // MARK: Action Messages
     
+    /// re-color whole document
+    @IBAction func recolorAll(_ sender: Any?) {
+        
+        self.invalidateSyntaxHighlight()
+    }
+    
+    
+    /// set new theme from menu item
+    @IBAction func changeTheme(_ sender: AnyObject?) {
+        
+        guard let name = sender?.title else { return assertionFailure() }
+        
+        self.setTheme(name: name)
+    }
+    
+    
+    /// toggle visibility of navigation bar with fancy animation
+    @IBAction func toggleNavigationBar(_ sender: Any?) {
+        
+        NSAnimationContext.current.withAnimation {
+            self.showsNavigationBar.toggle()
+        }
+        
+        UserDefaults.standard[.showNavigationBar] = self.showsNavigationBar
+    }
+    
+    
+    /// toggle visibility of line number view
+    @IBAction func toggleLineNumber(_ sender: Any?) {
+        
+        self.showsLineNumber.toggle()
+    }
+    
+    
     /// toggle visibility of status bar with fancy animation
     @IBAction func toggleStatusBar(_ sender: Any?) {
         

    @IBAction func toggleLineWrap(_ sender: Any?) {
        
        self.wrapsLines.toggle()
    }
    
    

    }
    
    
    /// split editor view
    @IBAction func openSplitTextView(_ sender: Any?) {
        
