     
     init(textView: NSTextView, forPressAndHold: Bool = false) {
         
-        self.textContainer = textView.textContainer
+        self.textView = textView
         
         super.init()
         

        guard let action = item.action else { return false }
        
        switch action {
        case #selector(resetTextSize(_:)):
            return (self.textView?.scale != 1.0)
            
        default:

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