         translatedTextView.textContainer?.lineFragmentPadding = 0
         
         overrideTextView.textContainerInset = NSSize(width: 0, height: 3)
+        overrideTextView.textStorage?.delegate = self
         
         if viewModel != nil {
             updateUI()

            return
        }
        
        viewModel.updateOverrideText(overrideTextView.textStorage?.string ?? "")
    }
    
}

        setOverridePluralsVisible(viewModel.showsOverridePlurals)

        let range = NSRange(location: 0, length: (overrideTextView.string ?? "").length)
        let formattedText = NSAttributedString(string: viewModel.overrideText).applyingTokenMarkup
        overrideTextView.textStorage?.replaceCharacters(in: range, with: formattedText)
        overrideRemovePluralRuleButton.isEnabled = viewModel.canRemoveSelectedOverridePluralRule
        
        overridePluralRuleSelector.segmentCount = viewModel.overridePluralRuleNames.count
