void (@NotNull Editor editor, @Nullable PsiFile psiFile) { if (!myProject.isInitialized()) { return; } EditorMarkupModel markup = (EditorMarkupModel) editor.getMarkupModel(); markup.setErrorPanelPopupHandler(new DaemonEditorPopup(myProject, editor)); markup.setErrorStripTooltipRendererProvider(new DaemonTooltipRendererProvider(myProject, editor)); markup.setMinMarkHeight(DaemonCodeAnalyzerSettings.getInstance().getErrorStripeMarkMinHeight()); if (psiFile != null) { setOrRefreshErrorStripeRenderer(markup, psiFile); } }