TextEditorHighlightingPass (@NotNull PsiFile file, @NotNull Editor editor) { boolean serializeCodeInsightPasses = ((TextEditorHighlightingPassRegistrarImpl)TextEditorHighlightingPassRegistrar.getInstance(file.getProject())).isSerializeCodeInsightPasses(); LineMarkersPass.Mode myMode = serializeCodeInsightPasses ? LineMarkersPass.Mode.FAST : LineMarkersPass.Mode.ALL; return createLineMarkersPass(file, editor, myMode, Pass.LINE_MARKERS); }