Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Heydenreich2020-01-19 12:57:06 +0000
committerAndrey Loskutov2020-01-19 15:16:46 +0000
commitabb49b4ffde7627b6bc90c63d16d4da04e4b9437 (patch)
tree8de47f477770289c7f6012e62cc1ffecd1920685
parentff29989bb1381eb910796e0f1bf96239554f964f (diff)
downloadeclipse.platform.text-abb49b4ffde7627b6bc90c63d16d4da04e4b9437.tar.gz
eclipse.platform.text-abb49b4ffde7627b6bc90c63d16d4da04e4b9437.tar.xz
eclipse.platform.text-abb49b4ffde7627b6bc90c63d16d4da04e4b9437.zip
Bug 559093 - [JFace] Completion proposal popup foreground color can beI20200120-0715I20200120-0530
wrong - fixed method calls Change-Id: Ic7882b0afb61ac4404555d3d70f094c6731ec4fe Signed-off-by: Ralf Heydenreich <rheydenr@justmail.de>
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/internal/text/link/contentassist/CompletionProposalPopup2.java2
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/CompletionProposalPopup.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/internal/text/link/contentassist/CompletionProposalPopup2.java b/org.eclipse.jface.text/src/org/eclipse/jface/internal/text/link/contentassist/CompletionProposalPopup2.java
index 8c86f5188a9..292c04a6f8a 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/internal/text/link/contentassist/CompletionProposalPopup2.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/internal/text/link/contentassist/CompletionProposalPopup2.java
@@ -324,7 +324,7 @@ class CompletionProposalPopup2 implements IContentAssistListener2 {
Color foreground= colorRegistry.get(JFacePreferences.CONTENT_ASSIST_FOREGROUND_COLOR);
if (foreground == null) {
- foreground= JFaceColors.getInformationViewerBackgroundColor(Display.getDefault());
+ foreground= JFaceColors.getInformationViewerForegroundColor(Display.getDefault());
}
fProposalShell.setBackground(background);
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/CompletionProposalPopup.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/CompletionProposalPopup.java
index cc928a901e6..32f74603ed5 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/CompletionProposalPopup.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/CompletionProposalPopup.java
@@ -686,7 +686,7 @@ class CompletionProposalPopup implements IContentAssistListener {
Color foreground= getForegroundColor(control);
if (foreground == null) {
- foreground= JFaceColors.getInformationViewerBackgroundColor(Display.getDefault());
+ foreground= JFaceColors.getInformationViewerForegroundColor(Display.getDefault());
}
fProposalShell.setBackground(background);

Back to the top