MarkdownTextView icon indicating copy to clipboard operation
MarkdownTextView copied to clipboard

Voice dictation crashes the app when after pressing `Done`

Open kisileno opened this issue 8 years ago • 1 comments

In general looks looks like it is working fine, but just after dictation is over and user presses Done Example app crashes.

kisileno avatar Sep 17 '17 21:09 kisileno

Can be easily fixed by adding:

    open override func replaceCharacters(in range: NSRange, with str: String) {
        replaceCharacters(in: range, with: NSAttributedString(string: str))
    }

to HighlighterTextStorage

kisileno avatar Sep 17 '17 22:09 kisileno