Runestone icon indicating copy to clipboard operation
Runestone copied to clipboard

`markedRange` is not cleared when multi stage input finished.

Open hstdt opened this issue 2 years ago • 1 comments

What happened?

When I'm dealing with textViewDidChange

CleanShot 2023-09-11 at 16 00 14 It's not the same as what UITextView delegate did.

What are the steps to reproduce?

Finish a multi-stage input.

What is the expected behavior?

When shouldChangeText(in range: NSRange, replacementText text: String) or textViewDidChange(_ textView: TextView) called, textView.markedTextRange should be nil if multi-stage input finished.

hstdt avatar Sep 11 '23 07:09 hstdt

Thanks for opening the issue. I'm working on a refactored version of Runestone and believe that this issue will be solved in that.

simonbs avatar Sep 14 '23 06:09 simonbs