From ebb3ccfe5bca2b3f0ac35da22384df965686ddfc Mon Sep 17 00:00:00 2001 From: Konstantin Bulenkov Date: Sat, 24 Oct 2015 12:42:12 +0200 Subject: [PATCH] Show chenched registry values as blue --- .../src/com/intellij/openapi/util/registry/RegistryUi.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/openapi/util/registry/RegistryUi.java b/platform/lang-impl/src/com/intellij/openapi/util/registry/RegistryUi.java index 51ce5d6ee589..57c1529d537e 100644 --- a/platform/lang-impl/src/com/intellij/openapi/util/registry/RegistryUi.java +++ b/platform/lang-impl/src/com/intellij/openapi/util/registry/RegistryUi.java @@ -408,7 +408,7 @@ public class RegistryUi implements Disposable { myLabel.setIcon(null); myLabel.setText(null); myLabel.setHorizontalAlignment(SwingConstants.LEFT); - Color fg = isSelected ? table.getSelectionForeground() : table.getForeground(); + Color fg = isSelected ? table.getSelectionForeground() : v.isChangedFromDefault() ? JBColor.blue : table.getForeground(); Color bg = isSelected ? table.getSelectionBackground() : table.getBackground(); if (v != null) {