-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Labels
questionFurther information is requestedFurther information is requested
Description
In my app, I use messages to show compilation error. The code parser would throw an Error containing a list of Error instances, each of those contains information necessary to add error messages to the CodeEditor.
When there's an error thrown, messages.insert is used to add all error messages to the messages: Set<TextLocated<Message>> state variable to show the error at the corresponding place on the editor view.
However, sometimes, messages.removeAll() couldn't remove all error shown, even when the messages set is already empty, some previously shown messages would stay.
I couldn't reproduce this in the demo app, I will try to make it happen and update this issue accordingly.
Related: iXORTech/Typstify#5
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested