Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/SourceViewerInformationControl.java')
-rw-r--r--org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/SourceViewerInformationControl.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/SourceViewerInformationControl.java b/org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/SourceViewerInformationControl.java
index 8266ab28236..16a68b5f2da 100644
--- a/org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/SourceViewerInformationControl.java
+++ b/org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/SourceViewerInformationControl.java
@@ -72,7 +72,7 @@ class SourceViewerInformationControl implements IInformationControl, IInformatio
private Font fStatusTextFont;
/**
* The color of the optional status text label or <code>null</code> if none.
- *
+ *
* @since 3.6
*/
private Color fStatusTextForegroundColor;
@@ -195,7 +195,7 @@ class SourceViewerInformationControl implements IInformationControl, IInformatio
Assert.isLegal(bg != null);
Assert.isLegal(fg != null);
Assert.isLegal(factor >= 0f && factor <= 1f);
-
+
float complement= 1f - factor;
return new RGB(
(int) (complement * bg.red + factor * fg.red),
@@ -203,7 +203,7 @@ class SourceViewerInformationControl implements IInformationControl, IInformatio
(int) (complement * bg.blue + factor * fg.blue)
);
}
-
+
/**
* @see org.eclipse.jface.text.IInformationControlExtension2#setInput(java.lang.Object)
* @param input the input object
@@ -239,7 +239,7 @@ class SourceViewerInformationControl implements IInformationControl, IInformatio
if (fStatusTextForegroundColor != null && !fStatusTextForegroundColor.isDisposed())
fStatusTextForegroundColor.dispose();
fStatusTextForegroundColor= null;
-
+
fTextFont= null;
fShell= null;
fText= null;

Back to the top