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

fix: keep track of the HighlightingPass #304

Merged

Conversation

gtoison
Copy link
Contributor

@gtoison gtoison commented Aug 2, 2022

Store the pass in the editor instead of calling fileEditor.getBackgroundHighlighter().createPassesForEditor(), that method recreates the passes and must not be called from the EDT while highlightingPass.applyInformationToEditor() must be called from the EDT.

fixes #233
fixes #274

Store the pass in the editor instead of calling
fileEditor.getBackgroundHighlighter().createPassesForEditor(), that
method recreates the passes and must not be called from the EDT while
highlightingPass.applyInformationToEditor() must be called from the EDT.

fixes infinitest#233
fixes infinitest#274
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant