diff options
author | Lars Vogel | 2017-01-11 20:53:52 +0000 |
---|---|---|
committer | Lars Vogel | 2017-01-11 20:53:52 +0000 |
commit | d77b078388163500961bdab34c0248806eb5c208 (patch) | |
tree | 7752a7c9c41d9e379dd3d10ba1e264a51f5adf93 /org.eclipse.jface.text/projection/org/eclipse | |
parent | aed6bdd1b13c0cebea2a20b280911a70d0b226d5 (diff) | |
download | eclipse.platform.text-d77b078388163500961bdab34c0248806eb5c208.tar.gz eclipse.platform.text-d77b078388163500961bdab34c0248806eb5c208.tar.xz eclipse.platform.text-d77b078388163500961bdab34c0248806eb5c208.zip |
Bug 510313 - Remove unnecessary whitespace from org.eclipse.jface.textY20170112-1300Y20170112-1000I20170116-2000I20170115-2000I20170114-2000I20170113-2000I20170112-2000I20170112-0245I20170112-0200I20170111-2000
Change-Id: I19139e6aba0aaa20eb06882a4b721298cdfe138b
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Diffstat (limited to 'org.eclipse.jface.text/projection/org/eclipse')
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; |