void () { ReadAction .nonBlocking(() -> createHighlighter(false)) .expireWith(myProject) .expireWhen(() -> (myFile != null && !myFile.isValid()) || myEditor.isDisposed()) .coalesceBy(EditorHighlighterUpdater.class, myEditor) .finishOnUiThread(ModalityState.any(), highlighter -> setupHighlighter(highlighter)) .submit(NonUrgentExecutor.getInstance()); }