TextEditorHighlightingPass (@NotNull PsiFile file, @NotNull Editor editor) { long current = PsiModificationTracker.getInstance(file.getProject()).getModificationCount(); boolean iconsEnabled = DocRenderDummyLineMarkerProvider.isGutterIconEnabled(); Long existing = editor.getUserData(MODIFICATION_STAMP); Boolean iconsWereEnabled = editor.getUserData(ICONS_ENABLED); return editor.getProject() == null || existing != null && existing == current && iconsWereEnabled != null && iconsWereEnabled == iconsEnabled ? null : new DocRenderPass(editor, file); }