     private func clearMention() -> (Mention?) -> Bool {
         return { mention in
             guard let mention = mention else { return false }
+
             self.mentions = self.mentions |> remove([mention])
+
             let (text, selectedRange) = self.mentionsTextView.attributedText
                 |> apply(self.defaultTextAttributes, range: mention.range)
             self.mentionsTextView.attributedText = text

     */
    public func reset() {
        mentions = []
        mentionsTextView.text = ""
        mentionsTextView.typingAttributes = defaultTextAttributes.dictionary
    }

     */
    public func insertExistingMentions(_ existingMentions: [(CreateMention, NSRange)]) {
        mentions = mentions |> insert(existingMentions)

        let (text, selectedRange) = mentionsTextView.attributedText
            |> apply(attributes: mentionTextAttributes, to: existingMentions)
        mentionsTextView.attributedText = text
        mentionsTextView.selectedRange = selectedRange
    }
