-
Notifications
You must be signed in to change notification settings - Fork 25
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
Retrieve latest input #210
Comments
I have tried to avoid keystrokes being tied to
Then you can keep a buffer like
and in the fall-thru case at the end you can report the
This would require a new case on the Swift side in FWIW I recently noticed the fall-thru case I have for keydown to always cancel the search mode:
is causing a callback on every keystroke that I'd like to avoid, so I may be doing something about that issue fairly soon. |
Thanks a lot for your quick and detailed answer ! |
Hello,
First thanks for this library !
It handles everything I need except for one use case. I would need to add some mention (@ausername) to specific users from my app. It should work exactly as a mention in a GitHub message.
To implement it I would need to know when the user starts typing an @ and retrieve the data until the next space. With this piece of data, I can then display a list of relevant user.
I'm not entirely sure how to proceed. Should I be looking for an @ after every input in
getHtml()
? But it seems quite overkilled. Or maybe you have an other idea to only retrieve the latest input ?Thanks a lot for your help and have a great day !
The text was updated successfully, but these errors were encountered: