Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2017-01-11 20:53:52 +0000
committerLars Vogel2017-01-11 20:53:52 +0000
commitd77b078388163500961bdab34c0248806eb5c208 (patch)
tree7752a7c9c41d9e379dd3d10ba1e264a51f5adf93 /org.eclipse.jface.text/projection/org/eclipse
parentaed6bdd1b13c0cebea2a20b280911a70d0b226d5 (diff)
downloadeclipse.platform.text-d77b078388163500961bdab34c0248806eb5c208.tar.gz
eclipse.platform.text-d77b078388163500961bdab34c0248806eb5c208.tar.xz
eclipse.platform.text-d77b078388163500961bdab34c0248806eb5c208.zip
Change-Id: I19139e6aba0aaa20eb06882a4b721298cdfe138b Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Diffstat (limited to 'org.eclipse.jface.text/projection/org/eclipse')
-rw-r--r--org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/ProjectionViewer.java2
-rw-r--r--org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/SourceViewerInformationControl.java8
2 files changed, 5 insertions, 5 deletions
diff --git a/org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/ProjectionViewer.java b/org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/ProjectionViewer.java
index 6c8cd088658..6455181de60 100644
--- a/org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/ProjectionViewer.java
+++ b/org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/ProjectionViewer.java
@@ -1554,7 +1554,7 @@ public class ProjectionViewer extends SourceViewer implements ITextViewerExtensi
/**
* Deletes the selection and sets the caret before the deleted range.
- *
+ *
* @param selection the selection to delete
* @param textWidget the widget
* @throws BadLocationException on document access failure
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