void (@NotNull Project project, @NotNull Document document, int startOffset, int endOffset, @NotNull Collection<? extends HighlightInfo> highlights, @Nullable EditorColorsScheme colorsScheme, // if null, the global scheme will be used int group) { ThreadingAssertions.assertEventDispatchThread(); MarkupModelEx markup = (MarkupModelEx)DocumentMarkupModel.forDocument(document, project, true); setHighlightersToEditor(project, document, startOffset, endOffset, highlights, colorsScheme, group, markup); }