summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUILD2
-rw-r--r--src/com/google/devrel/cluestick/studioclient/CodeBrowser.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/BUILD b/BUILD
index a201bef..498f197 100644
--- a/BUILD
+++ b/BUILD
@@ -27,7 +27,7 @@ iml_module(
"//tools/idea/platform/diagnostic:intellij.platform.diagnostic",
"//tools/idea/.idea/libraries:error-prone-annotations",
"//tools/idea/java/ide-resources:intellij.java.ide.resources",
- "//prebuilts/tools/common/m2/repository/com/jetbrains/intellij/documentation/tips-intellij-idea-community/201.8:jar",
+ "//prebuilts/tools/common/m2/repository/com/jetbrains/intellij/documentation/tips-intellij-idea-community/201.11:jar",
"//tools/idea/jvm/jvm-analysis-impl:intellij.jvm.analysis.impl",
"//tools/idea/java/compiler/instrumentation-util-8:intellij.java.compiler.instrumentationUtil.java8",
"//tools/idea/.idea/libraries:precompiled_jshell-frontend",
diff --git a/src/com/google/devrel/cluestick/studioclient/CodeBrowser.java b/src/com/google/devrel/cluestick/studioclient/CodeBrowser.java
index 703efc2..27de8db 100644
--- a/src/com/google/devrel/cluestick/studioclient/CodeBrowser.java
+++ b/src/com/google/devrel/cluestick/studioclient/CodeBrowser.java
@@ -65,7 +65,7 @@ import javax.swing.JPanel;
* CodeBrowser implements Browser to show Cluestick search results containing code.
*/
class CodeBrowser extends JPanel implements Browser, Disposable {
- private static final Color HIGHLIGHT_BACKGROUND = UIUtil.getTreeUnfocusedSelectionBackground();
+ private static final Color HIGHLIGHT_BACKGROUND = UIUtil.getTreeSelectionBackground(false);
private static final TextAttributes HIGHLIGHT_ATTRIBUTES =
new TextAttributes(null, HIGHLIGHT_BACKGROUND, null, EffectType.SEARCH_MATCH, Font.BOLD);
private static final Pattern WHITESPACE_PREFIX = Pattern.compile("^\\s*");