Color (@Nullable Editor editor) { EditorGutter gutter = editor != null ? editor.getGutter() : null; if (gutter instanceof EditorGutterComponentEx) { return ((EditorGutterComponentEx)gutter).getBackground(); } return getDividerColorFromScheme(editor != null ? editor.getColorsScheme() : EditorColorsManager.getInstance().getGlobalScheme()); }