Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2017-11-14 14:02:48 +0000
committerLars Vogel2017-11-21 16:38:51 +0000
commitb3b9006b1a0f94086ab1779ab14d8b5ae950b741 (patch)
treec6647b806a2eeb75650d38ed159afb56b085daa6 /org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist
parent10309832835db0363c75027e116d47c7028459c3 (diff)
downloadeclipse.platform.text-b3b9006b1a0f94086ab1779ab14d8b5ae950b741.tar.gz
eclipse.platform.text-b3b9006b1a0f94086ab1779ab14d8b5ae950b741.tar.xz
eclipse.platform.text-b3b9006b1a0f94086ab1779ab14d8b5ae950b741.zip
Bug 527257 - Remove trailing whitespace from org.eclipse.jface.textI20171121-2000
Also activates the save actions to prevent that additional whitespace is created Change-Id: I57e56c08089601072116992032ab5199373a2e4c Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Diffstat (limited to 'org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist')
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/AsyncCompletionProposalPopup.java2
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/ContentAssistant.java8
2 files changed, 5 insertions, 5 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/AsyncCompletionProposalPopup.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/AsyncCompletionProposalPopup.java
index 6d15992a71c..d2cae78bbff 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/AsyncCompletionProposalPopup.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/AsyncCompletionProposalPopup.java
@@ -54,7 +54,7 @@ class AsyncCompletionProposalPopup extends CompletionProposalPopup {
private final int fOffset;
private final int fSize;
private int fRemaining;
-
+
public ComputingProposal(int offset, int size) {
fSize= size;
fRemaining = size;
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/ContentAssistant.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/ContentAssistant.java
index db44bf42c84..b03712c295b 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/ContentAssistant.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/ContentAssistant.java
@@ -89,7 +89,7 @@ import org.eclipse.jface.text.TextUtilities;
/**
* The standard implementation of the {@link IContentAssistant} interface. Usually, clients
* instantiate this class and configure it before using it.
- *
+ *
* Since 3.12, it can compute and display the proposals asynchronously when invoking
* {@link #ContentAssistant(boolean)} with <code>true</code>.
*/
@@ -1054,7 +1054,7 @@ public class ContentAssistant implements IContentAssistant, IContentAssistantExt
/**
* Tells whether this content assistant allows to run asynchronous
- *
+ *
* @since 3.12
*/
private boolean fAsynchronous;
@@ -1076,7 +1076,7 @@ public class ContentAssistant implements IContentAssistant, IContentAssistantExt
* context information above the location at which it was activated. If auto activation will be
* enabled, without further configuration steps, this content assistant is activated after a 500
* milliseconds delay. It uses the default partitioning.
- *
+ *
* @param asynchronous <true> if this content assistant should present the proposals
* asynchronously, <code>false</code> otherwise
* @since 3.12
@@ -1122,7 +1122,7 @@ public class ContentAssistant implements IContentAssistant, IContentAssistantExt
else
fProcessors.put(contentType, Collections.singleton(processor));
}
-
+
/**
* Registers a given content assist processor for a particular content type. If there is already
* a processor registered for this type, it is kept and the new processor is appended to the list

Back to the top