void (@NotNull Editor editor) { ThreadingAssertions.assertEventDispatchThread(); DocRenderItemManager.getInstance().resetToDefaultState(editor); DocRenderPassFactory.forceRefreshOnNextPass(editor); Project project = editor.getProject(); if (project != null) { DaemonCodeAnalyzer.getInstance(project).restart(); } }