Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

markedRange is not cleared when multi stage input finished. #312

Open
hstdt opened this issue Sep 11, 2023 · 1 comment
Open

markedRange is not cleared when multi stage input finished. #312

hstdt opened this issue Sep 11, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@hstdt
Copy link

hstdt commented Sep 11, 2023

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 hstdt added the bug Something isn't working label Sep 11, 2023
@simonbs
Copy link
Owner

simonbs commented Sep 14, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants