Skip to content

Commit 81b6dbe

Browse files
committed
[FIX] backward compatible method call
1 parent 743064b commit 81b6dbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/seesharpsoft/intellij/plugins/csv/annotation/CsvAnnotator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public void annotate(@NotNull final PsiElement element, @NotNull final Annotatio
7171
}
7272

7373
protected TextAttributes getTextAttributes(AnnotationSession annotationSession, CsvColumnInfo<PsiElement> columnInfo) {
74-
EditorColorsScheme editorColorsScheme = EditorColorsManager.getInstance().getSchemeForCurrentUITheme();
74+
EditorColorsScheme editorColorsScheme = EditorColorsManager.getInstance().getGlobalScheme();
7575
Integer maxNoOfDefinedColumnHighlightColors = annotationSession.getUserData(MAX_NO_OF_DEFINED_COLUMN_HIGHLIGHT_COLORS);
7676
if (maxNoOfDefinedColumnHighlightColors == null) {
7777
maxNoOfDefinedColumnHighlightColors = 0;

0 commit comments

Comments
 (0)