void () { ApplicationManager.getApplication().assertReadAccessAllowed(); if (myEditor.isDisposed()) return; while (!myQueue.isEmpty()) { HighlighterJob highlighter = myQueue.peek(); if (!DumbService.isDumbAware(highlighter.filter) && DumbService.isDumb(highlighter.myProject)) return; while (highlighter.hasUnprocessedLines()) { ProgressManager.checkCanceled(); addLineResult(highlighter.analyzeNextLine()); } LOG.assertTrue(highlighter == myQueue.remove()); } }