boolean (@NotNull PsiFile file, boolean updateWholeFile, @NotNull HighlightInfoHolder holder, @NotNull Runnable action) { myHolder = holder; myRainbowHighlighter = new RainbowHighlighter(myHolder.getColorsScheme()); try { action.run(); } finally { myHolder = null; myRainbowHighlighter = null; } return true; }