         self.defaultItemIdentifiers = forPressAndHold ? [.textSizeSlider] : [.textSizeActual, .textSizeSlider]
         
         // observe scale for slider
-        self.scaleObserver = textView.observe(\.scale) { [weak self] (textView, _) in
-            guard let item = self?.item(forIdentifier: .textSizeSlider) as? NSSliderTouchBarItem else { return assertionFailure() }
+        self.scaleObserver = textView.observe(\.scale) { [unowned self] (textView, _) in
+            guard let item = self.item(forIdentifier: .textSizeSlider) as? NSSliderTouchBarItem else { return assertionFailure() }
             
             item.slider.doubleValue = Double(textView.scale)
         }

    }
    
    
    /// "Actaul Size" button was pressed
    @IBAction func resetTextSize(_ sender: Any?) {
        
        self.textView?.setScaleKeepingVisibleArea(1.0)
    }
    
    
    
    // MARK: Private Methods
    
    private var textView: NSTextView? {
        
        return self.textContainer?.textView
    }
    
}

    
    // MARK: Private Properties
    
    private weak var textView: NSTextView?
    private var scaleObserver: NSKeyValueObservation!
    
    
