Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2019-11-14 08:32:31 +0000
committerLars Vogel2019-11-14 08:32:31 +0000
commit7be790e400bb2d02a352e9b9b36313497e43b527 (patch)
treee13dfc273d32cd7a2e8291b334a14ca888f9a556
parentf287323df9eee66578972d2fe839c1967723855b (diff)
downloadeclipse.platform.text-7be790e400bb2d02a352e9b9b36313497e43b527.tar.gz
eclipse.platform.text-7be790e400bb2d02a352e9b9b36313497e43b527.tar.xz
eclipse.platform.text-7be790e400bb2d02a352e9b9b36313497e43b527.zip
Whitespace removal for plug-ins in platform.text
Done via running the cleanup action on the code base Change-Id: Ia04eb1b87ab8e9b66125c646fca817a193851e85 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/IInformationControlExtension5.java2
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/TextAttribute.java2
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/codemining/LineContentCodeMining.java2
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/codemining/LineHeaderCodeMining.java2
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/reconciler/IReconcileStep.java2
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/DefaultEncodingSupport.java2
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/EditorsUI.java6
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/EncodingActionGroup.java2
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/FileBufferOperationAction.java2
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/FileBufferOperationHandler.java2
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/ITextEditorHelpContextIds.java2
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/TextEditor.java2
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/templates/ContributionContextTypeRegistry.java4
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/ConvertLineDelimitersAction.java6
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/QuickDiffConfigurationBlock.java4
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesBlock.java8
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesDialog.java4
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorDefaultsPreferencePage.java10
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/internal/texteditor/SourceViewerInformationControl.java8
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AbstractDecoratedTextEditor.java52
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AbstractDecoratedTextEditorPreferenceConstants.java42
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/ChangeEncodingAction.java4
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/SelectMarkerRulerAction.java2
-rw-r--r--org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/AnnotationHoverDelegate.java2
-rw-r--r--org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/AutoEditStrategyRegistry.java4
-rw-r--r--org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/CharacterPairMatcherRegistry.java4
-rw-r--r--org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/CompositeContentAssistProcessor.java2
-rw-r--r--org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/CompositeQuickAssistProcessor.java2
-rw-r--r--org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/ContentAssistProcessorRegistry.java4
-rw-r--r--org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/ExtensionBasedTextEditor.java6
-rw-r--r--org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/GenericContentTypeRelatedExtension.java2
-rw-r--r--org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/GenericEditorPlugin.java2
-rw-r--r--org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/PresentationReconcilerRegistry.java4
-rw-r--r--org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/QuickAssistProcessorRegistry.java2
-rw-r--r--org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/ReconcilerRegistry.java6
-rw-r--r--org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/folding/IndentFoldingStrategy.java24
-rw-r--r--org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/hover/CompositeInformationControlCreator.java2
-rw-r--r--org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/markers/MarkerResoltionQuickAssistProcessor.java2
-rw-r--r--org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/preferences/GenericEditorPreferenceConstants.java8
-rw-r--r--org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/BasicTextEditorActionContributor.java2
-rw-r--r--org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/ITextEditorActionDefinitionIds.java2
41 files changed, 126 insertions, 126 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/IInformationControlExtension5.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/IInformationControlExtension5.java
index e4c1223f023..11a0d5a4f33 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/IInformationControlExtension5.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/IInformationControlExtension5.java
@@ -38,7 +38,7 @@ import org.eclipse.jface.resource.JFaceResources;
* <pre>
* return fShell.getDisplay().getActiveShell() == fShell
* </pre>
- *
+ *
* Likewise, {@link IInformationControl#addFocusListener(org.eclipse.swt.events.FocusListener)}
* should install listeners for {@link SWT#Activate} and {@link SWT#Deactivate} on the shell and
* forward events to the focus listeners. Clients are encouraged to subclass
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/TextAttribute.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/TextAttribute.java
index bff933aaed1..0bda43e1042 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/TextAttribute.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/TextAttribute.java
@@ -36,7 +36,7 @@ public class TextAttribute {
/**
* Text attribute for underline style. (value <code>1 &lt;&lt; 30</code>)
- *
+ *
* @since 3.1
*/
public static final int UNDERLINE= 1 << 30;
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/codemining/LineContentCodeMining.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/codemining/LineContentCodeMining.java
index 634c546bc30..edd4c2265bb 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/codemining/LineContentCodeMining.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/codemining/LineContentCodeMining.java
@@ -21,7 +21,7 @@ import org.eclipse.jface.text.Position;
/**
* Abstract class for line content code mining.
- *
+ *
* @since 3.13
*
*/
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/codemining/LineHeaderCodeMining.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/codemining/LineHeaderCodeMining.java
index 9073b55e93b..b36131a4e4a 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/codemining/LineHeaderCodeMining.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/codemining/LineHeaderCodeMining.java
@@ -23,7 +23,7 @@ import org.eclipse.jface.text.source.inlined.Positions;
/**
* Abstract class for line header code mining.
- *
+ *
* @since 3.13
*
*/
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/reconciler/IReconcileStep.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/reconciler/IReconcileStep.java
index 14fb8ec53cb..0a523b4712a 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/reconciler/IReconcileStep.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/reconciler/IReconcileStep.java
@@ -53,7 +53,7 @@ import org.eclipse.jface.text.IRegion;
* <p>
* This interface must be implemented by clients.
* </p>
- *
+ *
* @since 3.0
*/
public interface IReconcileStep {
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/DefaultEncodingSupport.java b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/DefaultEncodingSupport.java
index fd6172f4b4a..7d71655c7a9 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/DefaultEncodingSupport.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/DefaultEncodingSupport.java
@@ -99,7 +99,7 @@ public class DefaultEncodingSupport implements IEncodingSupport {
}
}
};
-
+
prefs.addPreferenceChangeListener(fPreferenceChangeListener);
}
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/EditorsUI.java b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/EditorsUI.java
index 95c092604f0..ae54de33dde 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/EditorsUI.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/EditorsUI.java
@@ -93,7 +93,7 @@ public final class EditorsUI {
* To access the general preference from another plug-in use a
* {@link org.eclipse.ui.texteditor.ChainedPreferenceStore}:
* </p>
- *
+ *
* <pre>
* List stores= new ArrayList(3);
* stores.add(YourPlugin.getDefault().getPreferenceStore());
@@ -118,7 +118,7 @@ public final class EditorsUI {
* To access the general preference from another plug-in use a
* {@link org.eclipse.ui.texteditor.ChainedPreferenceStore}:
* </p>
- *
+ *
* <pre>
* List stores= new ArrayList(3);
* stores.add(YourPlugin.getDefault().getPreferenceStore());
@@ -146,7 +146,7 @@ public final class EditorsUI {
/**
* Returns the preferences of this plug-in.
- *
+ *
* @return the plug-in preferences
* @see org.eclipse.core.runtime.Plugin#getPluginPreferences()
* @deprecated As of 3.5, replaced by {@link #getPreferenceStore()}
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/EncodingActionGroup.java b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/EncodingActionGroup.java
index 01eb46f7207..7ef3e03c31f 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/EncodingActionGroup.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/EncodingActionGroup.java
@@ -48,7 +48,7 @@ import org.eclipse.ui.texteditor.TextEditorAction;
/**
* Action group for encoding actions.
- *
+ *
* @since 2.0
* @deprecated As of 3.1, encoding needs to be changed via properties dialog. This class is planned
* for removal after March 2021 (see bug#544309 for details).
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/FileBufferOperationAction.java b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/FileBufferOperationAction.java
index c2798ab3430..8d240930f15 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/FileBufferOperationAction.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/FileBufferOperationAction.java
@@ -152,7 +152,7 @@ public class FileBufferOperationAction extends Action implements IWorkbenchWindo
/**
* Collect the files to process. This method may show a dialog to ask the user.
* Subclasses may extend or reimplement.
- *
+ *
* @param resources selected resources
* @return the files to process, can be <code>null</code>
*/
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/FileBufferOperationHandler.java b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/FileBufferOperationHandler.java
index b092b806f3c..a7c000ab478 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/FileBufferOperationHandler.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/FileBufferOperationHandler.java
@@ -60,7 +60,7 @@ import org.eclipse.ui.PlatformUI;
* @since 3.1
*/
public class FileBufferOperationHandler extends AbstractHandler {
-
+
private IFileBufferOperation fFileBufferOperation;
private IWorkbenchWindow fWindow;
private IResource[] fResources;
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/ITextEditorHelpContextIds.java b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/ITextEditorHelpContextIds.java
index 4cbd745c3a6..22c9f54c897 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/ITextEditorHelpContextIds.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/ITextEditorHelpContextIds.java
@@ -75,5 +75,5 @@ public interface ITextEditorHelpContextIds extends IAbstractTextEditorHelpContex
* @since 3.6
*/
String ACCESSIBILITY_PREFERENCE_PAGE= PREFIX + "accessibility_preference_page_context"; //$NON-NLS-1$
-
+
}
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/TextEditor.java b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/TextEditor.java
index ab09e71a1cf..20e252f1eb6 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/TextEditor.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/TextEditor.java
@@ -55,7 +55,7 @@ public class TextEditor extends AbstractDecoratedTextEditor {
/**
* Creates a new text editor.
- *
+ *
* @see #initializeEditor()
* @see #initializeKeyBindingScopes()
*/
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/templates/ContributionContextTypeRegistry.java b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/templates/ContributionContextTypeRegistry.java
index 4c2ac4fe7f4..1852d2c32b7 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/templates/ContributionContextTypeRegistry.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/templates/ContributionContextTypeRegistry.java
@@ -62,7 +62,7 @@ public class ContributionContextTypeRegistry extends ContextTypeRegistry {
/**
* Creates a new context type registry and registers all context types contributed for the given
* registry ID.
- *
+ *
* @param registryId the registry ID
* @since 3.5
*/
@@ -81,7 +81,7 @@ public class ContributionContextTypeRegistry extends ContextTypeRegistry {
/**
* Registers all context types contributed for the given registry ID.
- *
+ *
* @param registryId the registry ID
* @since 3.5
*/
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/ConvertLineDelimitersAction.java b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/ConvertLineDelimitersAction.java
index a0b6eea45d4..6c984ce70b0 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/ConvertLineDelimitersAction.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/ConvertLineDelimitersAction.java
@@ -101,7 +101,7 @@ public class ConvertLineDelimitersAction extends FileBufferOperationAction {
@Override
protected Composite createSelectionButtonGroup(Composite parent) {
Composite buttonGroup= super.createSelectionButtonGroup(parent);
-
+
final Button button = new Button(buttonGroup, SWT.CHECK);
((GridLayout) buttonGroup.getLayout()).numColumns++;
button.setText(TextEditorMessages.ConvertLineDelimitersAction_show_only_text_files);
@@ -114,7 +114,7 @@ public class ConvertLineDelimitersAction extends FileBufferOperationAction {
refresh();
}
});
-
+
return buttonGroup;
}
};
@@ -126,7 +126,7 @@ public class ConvertLineDelimitersAction extends FileBufferOperationAction {
}
return null;
}
-
+
private String getDialogTitle() {
return NLSUtility.format(TextEditorMessages.ConvertLineDelimitersAction_dialog_title, fLabel);
}
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/QuickDiffConfigurationBlock.java b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/QuickDiffConfigurationBlock.java
index c3f5fec0a20..83ab9a36ba0 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/QuickDiffConfigurationBlock.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/QuickDiffConfigurationBlock.java
@@ -214,7 +214,7 @@ class QuickDiffConfigurationBlock implements IPreferenceConfigurationBlock {
messageLabel.setFont(font);
return messageComposite;
}
-
+
/**
* Creates page for hover preferences.
*
@@ -350,7 +350,7 @@ class QuickDiffConfigurationBlock implements IPreferenceConfigurationBlock {
}
});
-
+
fQuickDiffProviderNote= createNoteComposite(parent.getFont(), editorComposite, TextEditorMessages.QuickDiffConfigurationBlock_referenceProviderNoteTitle,
TextEditorMessages.QuickDiffConfigurationBlock_referenceProviderNoteMessage);
gd= new GridData(SWT.BEGINNING, SWT.FILL, false, true);
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesBlock.java b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesBlock.java
index fe63c93786c..8a757b5574f 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesBlock.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesBlock.java
@@ -255,7 +255,7 @@ class SelectResourcesBlock implements ICheckStateListener, ISelectionChangedList
gc.dispose();
return width;
}
-
+
/**
* Returns a boolean indicating whether the passed tree element should be at
* LEAST gray-checked. Note that this method does not consider whether it
@@ -677,7 +677,7 @@ class SelectResourcesBlock implements ICheckStateListener, ISelectionChangedList
listViewer.setAllChecked(selection);
});
}
-
+
public void refresh() {
//Potentially long operation - show a busy cursor
BusyIndicator.showWhile(treeViewer.getControl().getDisplay(), () -> {
@@ -851,13 +851,13 @@ class SelectResourcesBlock implements ICheckStateListener, ISelectionChangedList
// Update the store before the hierarchy to prevent updating parents
// before all of the children are done
-
+
for (Entry<IContainer, List<Object>> entry : items.entrySet()) {
Object key = entry.getKey();
primeHierarchyForSelection(key, selectedNodes);
checkedStateStore.put(key, entry.getValue());
}
-
+
// Update the checked tree items. Since each tree item has a selected
// item, all the tree items will be gray checked.
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesDialog.java b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesDialog.java
index eece2dcc2ac..11f4c4c1f46 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesDialog.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesDialog.java
@@ -91,7 +91,7 @@ class SelectResourcesDialog extends Dialog {
fResourceGroup.refresh();
setSelection(fInput, fAcceptableLocationsFilter);
}
-
+
public IResource[] getSelectedResources() {
List<Object> items= fResourceGroup.getAllCheckedListItems();
return items.toArray(new IResource[items.size()]);
@@ -221,7 +221,7 @@ class SelectResourcesDialog extends Dialog {
selectTypesButton.addSelectionListener(listener);
selectTypesButton.setFont(font);
setButtonLayoutData(selectTypesButton);
-
+
return buttonComposite;
}
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorDefaultsPreferencePage.java b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorDefaultsPreferencePage.java
index 426e158375a..a5aae89e351 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorDefaultsPreferencePage.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorDefaultsPreferencePage.java
@@ -578,7 +578,7 @@ public class TextEditorDefaultsPreferencePage extends PreferencePage implements
/**
* Sets or clears the error message. If not <code>null</code>, the OK button is disabled.
- *
+ *
* @param errorMessage the error message, or <code>null</code> to clear
* @since 3.0
*/
@@ -880,7 +880,7 @@ public class TextEditorDefaultsPreferencePage extends PreferencePage implements
final IntegerDomain printMarginDomain= new IntegerDomain(20, 200);
final Control[] printMarginControls= addTextField(appearanceComposite, printMarginColumn, printMarginDomain, 15, 20);
createDependency(showPrintMarginButton, showPrintMargin, printMarginControls);
-
+
label= TextEditorMessages.TextEditorPreferencePage_printMarginAllowOverride;
Preference printMarginAllowOverride= new Preference(AbstractDecoratedTextEditorPreferenceConstants.EDITOR_PRINT_MARGIN_ALLOW_OVERRIDE, label, null);
final Button showPrintMarginAllowOverride= addCheckBox(appearanceComposite, printMarginAllowOverride, new BooleanDomain(), 0);
@@ -962,7 +962,7 @@ public class TextEditorDefaultsPreferencePage extends PreferencePage implements
Preference maxCodeMinings= new Preference(AnnotationCodeMiningPreferenceConstants.SHOW_ANNOTATION_CODE_MINING_MAX, label, description);
IntegerDomain maxCodeMiningsDomain= new IntegerDomain(0, 99999);
Control[] maxCodeMiningsControls= addTextField(appearanceComposite, maxCodeMinings, maxCodeMiningsDomain, 15, 20);
-
+
final SelectionListener codeMiningsListener= new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
@@ -1091,7 +1091,7 @@ public class TextEditorDefaultsPreferencePage extends PreferencePage implements
int dimensions= 10;
Image image= new Image(tableComposite.getParent().getDisplay(), dimensions, dimensions);
GC gc= new GC(image);
- // Draw color preview
+ // Draw color preview
gc.setBackground(color);
gc.fillRectangle(0, 0, dimensions, dimensions);
// Draw outline around color preview
@@ -1460,7 +1460,7 @@ public class TextEditorDefaultsPreferencePage extends PreferencePage implements
/**
* Returns the currently selected item in the Appearance Color Options Table.
- *
+ *
* @return {@link ColorEntry} the ColorEntry representing the currently selected item in the
* table
*/
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/texteditor/SourceViewerInformationControl.java b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/texteditor/SourceViewerInformationControl.java
index 604865342e1..645b72b2ec7 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/texteditor/SourceViewerInformationControl.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/texteditor/SourceViewerInformationControl.java
@@ -81,7 +81,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;
@@ -208,7 +208,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),
@@ -216,7 +216,7 @@ class SourceViewerInformationControl implements IInformationControl, IInformatio
(int) (complement * bg.blue + factor * fg.blue)
);
}
-
+
/*
* @see org.eclipse.jface.text.IInformationControlExtension2#setInput(java.lang.Object)
*/
@@ -256,7 +256,7 @@ class SourceViewerInformationControl implements IInformationControl, IInformatio
if (fStatusTextForegroundColor != null && !fStatusTextForegroundColor.isDisposed())
fStatusTextForegroundColor.dispose();
fStatusTextForegroundColor= null;
-
+
fTextFont= null;
fShell= null;
fText= null;
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AbstractDecoratedTextEditor.java b/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AbstractDecoratedTextEditor.java
index bccb48b91a2..bda3e236bd4 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AbstractDecoratedTextEditor.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AbstractDecoratedTextEditor.java
@@ -226,7 +226,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor {
/**
* Preference key that controls whether to use saturated colors in the overview ruler.
- *
+ *
* @since 3.8
*/
private static final String USE_SATURATED_COLORS_IN_OVERVIEW_RULER= AbstractDecoratedTextEditorPreferenceConstants.USE_SATURATED_COLORS_IN_OVERVIEW_RULER;
@@ -314,7 +314,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor {
* @since 3.6
*/
private boolean fIsComingFromGotoMarker= false;
-
+
/**
* Tells whether editing the current derived editor input is allowed.
* @since 3.3
@@ -342,7 +342,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor {
/**
* Creates a new text editor.
- *
+ *
* @see #initializeEditor()
* @see #initializeKeyBindingScopes()
*/
@@ -655,7 +655,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor {
/**
* Checks if the preference to use saturated colors is enabled for the overview ruler.
- *
+ *
* @return <code>true</code> if the saturated colors preference is enabled, <code>false</code>
* otherwise
* @since 3.8
@@ -962,7 +962,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor {
if (fSourceViewerDecorationSupport == null) {
fSourceViewerDecorationSupport= new SourceViewerDecorationSupport(viewer, getOverviewRuler(), getAnnotationAccess(), getSharedColors());
configureSourceViewerDecorationSupport(fSourceViewerDecorationSupport);
-
+
// Fix for overridden print margin column, see https://bugs.eclipse.org/468307
if (!getPreferenceStore().getBoolean(PRINT_MARGIN_ALLOW_OVERRIDE))
fSourceViewerDecorationSupport.setMarginPainterPreferenceKeys(PRINT_MARGIN, PRINT_MARGIN_COLOR, PRINT_MARGIN_COLUMN);
@@ -1268,7 +1268,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor {
// Override print action to provide additional options
if (getAction(ITextEditorActionConstants.PRINT).isEnabled() && getSourceViewer() instanceof ITextViewerExtension8)
createPrintAction();
-
+
action= new ResourceAction(TextEditorMessages.getBundleForConstructedKeys(), "Editor.ShowChangeRulerInformation.", IAction.AS_PUSH_BUTTON) { //$NON-NLS-1$
@Override
public void run() {
@@ -1291,27 +1291,27 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor {
/**
* Opens a sticky change ruler hover for the caret line. Does nothing if no change hover is
* available.
- *
+ *
* @since 3.5
*/
private void showChangeRulerInformation() {
IVerticalRuler ruler= getVerticalRuler();
if (!(ruler instanceof CompositeRuler) || fLineColumn == null)
return;
-
+
CompositeRuler compositeRuler= (CompositeRuler)ruler;
// fake a mouse move (some hovers rely on this to determine the hovered line):
int x= fLineColumn.getControl().getLocation().x;
-
+
ISourceViewer sourceViewer= getSourceViewer();
StyledText textWidget= sourceViewer.getTextWidget();
int caretOffset= textWidget.getCaretOffset();
int caretLine= textWidget.getLineAtOffset(caretOffset);
int y= textWidget.getLinePixel(caretLine);
-
+
compositeRuler.setLocationOfLastMouseButtonActivity(x, y);
-
+
IAnnotationHover hover= fLineColumn.getHover();
showFocusedRulerHover(hover, sourceViewer, caretOffset);
}
@@ -1319,39 +1319,39 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor {
/**
* Opens a sticky annotation ruler hover for the caret line. Does nothing if no annotation hover
* is available.
- *
+ *
* @since 3.6
*/
private void showRulerAnnotationInformation() {
ISourceViewer sourceViewer= getSourceViewer();
IAnnotationHover hover= getSourceViewerConfiguration().getAnnotationHover(sourceViewer);
int caretOffset= sourceViewer.getTextWidget().getCaretOffset();
-
+
showFocusedRulerHover(hover, sourceViewer, caretOffset);
}
/**
* Shows a focused hover at the specified offset.
* Does nothing if <code>hover</code> is <code>null</code> or cannot be shown.
- *
+ *
* @param hover the hover to be shown, can be <code>null</code>
* @param sourceViewer the source viewer
* @param caretOffset the caret offset
- *
+ *
* @since 3.6
*/
private void showFocusedRulerHover(IAnnotationHover hover, ISourceViewer sourceViewer, int caretOffset) {
if (hover == null)
return;
-
+
int modelCaretOffset= widgetOffset2ModelOffset(sourceViewer, caretOffset);
if (modelCaretOffset == -1)
return;
-
+
IDocument document= sourceViewer.getDocument();
if (document == null)
return;
-
+
try {
int line= document.getLineOfOffset(modelCaretOffset);
if (fInformationPresenter == null) {
@@ -1639,7 +1639,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor {
* Overrides the default behavior by showing a more advanced error dialog in case of encoding
* problems.
* </p>
- *
+ *
* @param title the dialog title
* @param message the message to display
* @param exception the exception to handle
@@ -1657,7 +1657,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor {
final int saveAsUTF8ButtonId= IDialogConstants.OK_ID + IDialogConstants.CANCEL_ID + 1;
final int selectUnmappableCharButtonId= saveAsUTF8ButtonId + 1;
final Charset charset= getCharset();
-
+
ErrorDialog errorDialog= new ErrorDialog(getSite().getShell(), title, message, status, IStatus.ERROR) {
@Override
@@ -1721,7 +1721,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor {
/**
* Returns the charset of the current editor input.
- *
+ *
* @return the charset of the current editor input or <code>null</code> if it fails
* @since 3.6
*/
@@ -2023,7 +2023,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor {
/**
* Selects and reveals the given offset and length in the given editor part.
- *
+ *
* @param editor the editor part
* @param offset the offset
* @param length the length
@@ -2105,7 +2105,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor {
/**
* Returns the Show In target list
- *
+ *
* @return the IShowInTargetList adapter, or <code>null</code> if no targets are listed
*/
private IShowInTargetList getShowInTargetList() {
@@ -2122,7 +2122,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor {
* <p>
* Subclasses may extend or replace.
* </p>
- *
+ *
* @return the preference page ids to show, may be empty
* @since 3.1
*/
@@ -2146,7 +2146,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor {
* <p>
* Subclasses may extend or replace.
* </p>
- *
+ *
* @return the preference page ids to show, may be empty
* @since 3.1
*/
@@ -2164,7 +2164,7 @@ public abstract class AbstractDecoratedTextEditor extends StatusTextEditor {
* <p>
* Subclasses may extend or replace.
* </p>
- *
+ *
* @return the preference page ids to show, may be empty
* @since 3.4
*/
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AbstractDecoratedTextEditorPreferenceConstants.java b/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AbstractDecoratedTextEditorPreferenceConstants.java
index e896f53dfba..9aba18eb126 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AbstractDecoratedTextEditorPreferenceConstants.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AbstractDecoratedTextEditorPreferenceConstants.java
@@ -98,7 +98,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants {
* Value is of type <code>Boolean</code>. If <code>true</code>, the editor removes multiple
* spaces.
* </p>
- *
+ *
* @since 3.13
*/
public final static String EDITOR_DELETE_SPACES_AS_TABS= "removeSpacesAsTabs"; //$NON-NLS-1$
@@ -149,7 +149,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants {
* <p>
* The preference value is of type <code>boolean</code>.
* </p>
- *
+ *
* @noreference This field is not intended to be referenced by clients.
*/
public final static String EDITOR_PRINT_MARGIN_ALLOW_OVERRIDE= "printMarginAllowOverride"; //$NON-NLS-1$
@@ -215,7 +215,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants {
* <p>
* The preference value is of type <code>Boolean</code>.
* </p>
- *
+ *
* @since 3.12
*/
public final static String EDITOR_SHOW_CARET_OFFSET= AbstractTextEditor.PREFERENCE_SHOW_CARET_OFFSET;
@@ -226,7 +226,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants {
* <p>
* The preference value is of type <code>Boolean</code>.
* </p>
- *
+ *
* @since 3.12
*/
public final static String EDITOR_SHOW_SELECTION_SIZE= AbstractTextEditor.PREFERENCE_SHOW_SELECTION_SIZE;
@@ -238,7 +238,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants {
* The preference value is of type <code>String</code>. A RGB color value encoded as a string
* using class <code>PreferenceConverter</code>.
* </p>
- *
+ *
* @see org.eclipse.jface.resource.StringConverter
* @see PreferenceConverter
* @see #EDITOR_LINE_NUMBER_RULER
@@ -311,7 +311,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants {
* <p>
* Value is of type <code>Boolean</code>. If <code>true</code>, saturated colors are used
* </p>
- *
+ *
* @since 3.8
* @see org.eclipse.jface.text.source.IOverviewRulerExtension#setUseSaturatedColors(boolean)
*/
@@ -412,7 +412,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants {
* <p>
* The preference value is of type <code>Boolean</code>.
* </p>
- *
+ *
* @since 3.5
*/
public final static String EDITOR_HYPERLINK_COLOR_SYSTEM_DEFAULT= DefaultHyperlinkPresenter.HYPERLINK_COLOR_SYSTEM_DEFAULT;
@@ -458,7 +458,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants {
* <p>
* Value is of type <code>Boolean</code>.
* </p>
- *
+ *
* <p>
* The following preferences can be used for fine-grained configuration when enabled.
* </p>
@@ -476,7 +476,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants {
* <li>{@link #EDITOR_SHOW_LINE_FEED}</li>
* <li>{@link #EDITOR_WHITESPACE_CHARACTER_ALPHA_VALUE}</li>
* </ul>
- *
+ *
* @since 3.3
*/
public static final String EDITOR_SHOW_WHITESPACE_CHARACTERS= AbstractTextEditor.PREFERENCE_SHOW_WHITESPACE_CHARACTERS;
@@ -487,7 +487,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants {
* <p>
* Value is of type <code>Boolean</code>.
* </p>
- *
+ *
* @since 3.7
*/
public static final String EDITOR_SHOW_LEADING_SPACES= AbstractTextEditor.PREFERENCE_SHOW_LEADING_SPACES;
@@ -498,7 +498,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants {
* <p>
* Value is of type <code>Boolean</code>.
* </p>
- *
+ *
* @since 3.7
*/
public static final String EDITOR_SHOW_ENCLOSED_SPACES= AbstractTextEditor.PREFERENCE_SHOW_ENCLOSED_SPACES;
@@ -509,7 +509,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants {
* <p>
* Value is of type <code>Boolean</code>.
* </p>
- *
+ *
* @since 3.7
*/
public static final String EDITOR_SHOW_TRAILING_SPACES= AbstractTextEditor.PREFERENCE_SHOW_TRAILING_SPACES;
@@ -521,7 +521,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants {
* <p>
* Value is of type <code>Boolean</code>.
* </p>
- *
+ *
* @since 3.7
*/
public static final String EDITOR_SHOW_LEADING_IDEOGRAPHIC_SPACES= AbstractTextEditor.PREFERENCE_SHOW_LEADING_IDEOGRAPHIC_SPACES;
@@ -533,7 +533,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants {
* <p>
* Value is of type <code>Boolean</code>.
* </p>
- *
+ *
* @since 3.7
*/
public static final String EDITOR_SHOW_ENCLOSED_IDEOGRAPHIC_SPACES= AbstractTextEditor.PREFERENCE_SHOW_ENCLOSED_IDEOGRAPHIC_SPACES;
@@ -545,7 +545,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants {
* <p>
* Value is of type <code>Boolean</code>.
* </p>
- *
+ *
* @since 3.7
*/
public static final String EDITOR_SHOW_TRAILING_IDEOGRAPHIC_SPACES= AbstractTextEditor.PREFERENCE_SHOW_TRAILING_IDEOGRAPHIC_SPACES;
@@ -556,7 +556,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants {
* <p>
* Value is of type <code>Boolean</code>.
* </p>
- *
+ *
* @since 3.7
*/
public static final String EDITOR_SHOW_LEADING_TABS= AbstractTextEditor.PREFERENCE_SHOW_LEADING_TABS;
@@ -567,7 +567,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants {
* <p>
* Value is of type <code>Boolean</code>.
* </p>
- *
+ *
* @since 3.7
*/
public static final String EDITOR_SHOW_ENCLOSED_TABS= AbstractTextEditor.PREFERENCE_SHOW_ENCLOSED_TABS;
@@ -578,7 +578,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants {
* <p>
* Value is of type <code>Boolean</code>.
* </p>
- *
+ *
* @since 3.7
*/
public static final String EDITOR_SHOW_TRAILING_TABS= AbstractTextEditor.PREFERENCE_SHOW_TRAILING_TABS;
@@ -589,7 +589,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants {
* <p>
* Value is of type <code>Boolean</code>.
* </p>
- *
+ *
* @since 3.7
*/
public static final String EDITOR_SHOW_CARRIAGE_RETURN= AbstractTextEditor.PREFERENCE_SHOW_CARRIAGE_RETURN;
@@ -600,7 +600,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants {
* <p>
* Value is of type <code>Boolean</code>.
* </p>
- *
+ *
* @since 3.7
*/
public static final String EDITOR_SHOW_LINE_FEED= AbstractTextEditor.PREFERENCE_SHOW_LINE_FEED;
@@ -611,7 +611,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants {
* <p>
* Value is of type <code>Integer</code>.
* </p>
- *
+ *
* @since 3.7
*/
public static final String EDITOR_WHITESPACE_CHARACTER_ALPHA_VALUE= AbstractTextEditor.PREFERENCE_WHITESPACE_CHARACTER_ALPHA_VALUE;
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/ChangeEncodingAction.java b/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/ChangeEncodingAction.java
index 36515a9e052..6ae21ad81bf 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/ChangeEncodingAction.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/ChangeEncodingAction.java
@@ -64,7 +64,7 @@ public class ChangeEncodingAction extends TextEditorAction {
/**
* Creates a new action for the given text editor.
- *
+ *
* @param editor the text editor
* @see TextEditorAction#TextEditorAction(ResourceBundle, String, ITextEditor)
* @since 3.5
@@ -76,7 +76,7 @@ public class ChangeEncodingAction extends TextEditorAction {
/**
* Creates a new action for the given text editor. The action configures its visual
* representation from the given resource bundle.
- *
+ *
* @param bundle the resource bundle
* @param prefix a prefix to be prepended to the various resource keys (described in
* <code>ResourceAction</code> constructor), or <code>null</code> if none
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/SelectMarkerRulerAction.java b/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/SelectMarkerRulerAction.java
index d4079afe78f..0a9ea8f372f 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/SelectMarkerRulerAction.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/SelectMarkerRulerAction.java
@@ -59,7 +59,7 @@ import org.eclipse.ui.views.markers.MarkerViewUtil;
* <p>
* This class may be instantiated but is not intended for sub-classing.
* </p>
- *
+ *
* @since 2.0, allowed to be subclassed since 3.5
*/
public class SelectMarkerRulerAction extends ResourceAction implements IUpdate {
diff --git a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/AnnotationHoverDelegate.java b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/AnnotationHoverDelegate.java
index 0655bc2629a..eb9998f4fbf 100644
--- a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/AnnotationHoverDelegate.java
+++ b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/AnnotationHoverDelegate.java
@@ -28,7 +28,7 @@ import org.eclipse.ui.texteditor.MarkerAnnotation;
* constructor.
*/
public class AnnotationHoverDelegate implements ITextHover {
-
+
private DefaultTextHover delegate;
private ISourceViewer viewer;
diff --git a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/AutoEditStrategyRegistry.java b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/AutoEditStrategyRegistry.java
index 1b26affd30e..a68e467ed5c 100644
--- a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/AutoEditStrategyRegistry.java
+++ b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/AutoEditStrategyRegistry.java
@@ -35,7 +35,7 @@ import org.eclipse.ui.texteditor.ITextEditor;
* A registry of auto edit strategies provided by extension
* <code>org.eclipse.ui.genericeditor.autoEditStrategy</code>. Those extensions
* are specific to a given {@link IContentType}.
- *
+ *
* @since 1.1
*/
public class AutoEditStrategyRegistry {
@@ -60,7 +60,7 @@ public class AutoEditStrategyRegistry {
/**
* Get the contributed {@link IAutoEditStrategy}s that are relevant to hook
* on source viewer according to document content types.
- *
+ *
* @param sourceViewer
* the source viewer we're hooking completion to.
* @param editor the text editor
diff --git a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/CharacterPairMatcherRegistry.java b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/CharacterPairMatcherRegistry.java
index c18e2173f67..b0e4ec3a0f8 100644
--- a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/CharacterPairMatcherRegistry.java
+++ b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/CharacterPairMatcherRegistry.java
@@ -32,7 +32,7 @@ import org.eclipse.ui.texteditor.ITextEditor;
* A registry of character pair matchers provided by extension
* <code>org.eclipse.ui.genericeditor.characterPairMatchers</code>. Those
* extensions are specific to a given {@link IContentType}.
- *
+ *
* @since 1.2
*/
public class CharacterPairMatcherRegistry {
@@ -57,7 +57,7 @@ public class CharacterPairMatcherRegistry {
/**
* Get the contributed {@link IPresentationReconciliers}s that are relevant to
* hook on source viewer according to document content types.
- *
+ *
* @param sourceViewer the source viewer we're hooking completion to.
* @param editor the text editor
* @param contentTypes the content types of the document we're editing.
diff --git a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/CompositeContentAssistProcessor.java b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/CompositeContentAssistProcessor.java
index 963accbf6ad..2df42cd38b5 100644
--- a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/CompositeContentAssistProcessor.java
+++ b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/CompositeContentAssistProcessor.java
@@ -29,7 +29,7 @@ import org.eclipse.jface.text.contentassist.IContextInformationValidator;
* A content assist processor that delegates all content assist
* operations to children provided in constructor and aggregates
* the results.
- *
+ *
* @since 1.0
*/
public class CompositeContentAssistProcessor implements IContentAssistProcessor {
diff --git a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/CompositeQuickAssistProcessor.java b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/CompositeQuickAssistProcessor.java
index c1fcd0815de..4fac97407aa 100644
--- a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/CompositeQuickAssistProcessor.java
+++ b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/CompositeQuickAssistProcessor.java
@@ -26,7 +26,7 @@ import org.eclipse.jface.text.source.Annotation;
* A quick assist processor that delegates all content assist
* operations to children provided in constructor and aggregates
* the results.
- *
+ *
* @since 1.0
*/
public class CompositeQuickAssistProcessor implements IQuickAssistProcessor {
diff --git a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/ContentAssistProcessorRegistry.java b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/ContentAssistProcessorRegistry.java
index 8b350588317..38f8f869609 100644
--- a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/ContentAssistProcessorRegistry.java
+++ b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/ContentAssistProcessorRegistry.java
@@ -42,7 +42,7 @@ import org.eclipse.ui.texteditor.ITextEditor;
/**
* A registry of content assist processors provided by extension <code>org.eclipse.ui.genericeditor.contentAssistProcessors</code>.
* Those extensions are specific to a given {@link IContentType}.
- *
+ *
* @since 1.0
*/
public class ContentAssistProcessorRegistry {
@@ -147,7 +147,7 @@ public class ContentAssistProcessorRegistry {
/**
* Get the contributed {@link IContentAssistProcessor}s that are relevant to hook on source viewer according
- * to document content types.
+ * to document content types.
* @param sourceViewer the source viewer we're hooking completion to.
* @param editor the text editor
* @param contentTypes the content types of the document we're editing.
diff --git a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/ExtensionBasedTextEditor.java b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/ExtensionBasedTextEditor.java
index 3de682896bb..cbb910cefe0 100644
--- a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/ExtensionBasedTextEditor.java
+++ b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/ExtensionBasedTextEditor.java
@@ -56,7 +56,7 @@ public class ExtensionBasedTextEditor extends TextEditor {
private ImageDescriptor contentTypeImageDescripter;
/**
- *
+ *
*/
public ExtensionBasedTextEditor() {
configuration = new ExtensionBasedTextViewerConfiguration(this, getPreferenceStore());
@@ -101,10 +101,10 @@ public class ExtensionBasedTextEditor extends TextEditor {
/**
* Configure the {@link ICharacterPairMatcher} from the "org.eclipse.ui.genericeditor.characterPairMatchers" extension point.
- *
+ *
* @param viewer
* the source viewer.
- *
+ *
* @param support
* the source viewer decoration support.
*/
diff --git a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/GenericContentTypeRelatedExtension.java b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/GenericContentTypeRelatedExtension.java
index 20da9266f48..ed8cf24fee5 100644
--- a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/GenericContentTypeRelatedExtension.java
+++ b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/GenericContentTypeRelatedExtension.java
@@ -29,7 +29,7 @@ import org.eclipse.ui.texteditor.ITextEditor;
/**
* This class wraps and proxies an instance of T provided through extensions and loads it lazily when it can contribute to the editor, then delegates all operations to actual instance.
- *
+ *
* @param <T>
* the actual type to proxy, typically the one defined on the extension point.
*/
diff --git a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/GenericEditorPlugin.java b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/GenericEditorPlugin.java
index dcb29fa0c5d..6f18293898a 100644
--- a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/GenericEditorPlugin.java
+++ b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/GenericEditorPlugin.java
@@ -33,7 +33,7 @@ import org.osgi.framework.BundleContext;
/**
* Generic editor plugin activator and singletons.
- *
+ *
* @since 1.0
*/
public class GenericEditorPlugin extends AbstractUIPlugin {
diff --git a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/PresentationReconcilerRegistry.java b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/PresentationReconcilerRegistry.java
index 3ec021f28af..b88137f899e 100644
--- a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/PresentationReconcilerRegistry.java
+++ b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/PresentationReconcilerRegistry.java
@@ -34,7 +34,7 @@ import org.eclipse.ui.texteditor.ITextEditor;
/**
* A registry of presentation reconciliers provided by extension <code>org.eclipse.ui.genericeditor.presentationReconcilers</code>.
* Those extensions are specific to a given {@link IContentType}.
- *
+ *
* @since 1.0
*/
public class PresentationReconcilerRegistry {
@@ -58,7 +58,7 @@ public class PresentationReconcilerRegistry {
/**
* Get the contributed {@link IPresentationReconciliers}s that are relevant to hook on source viewer according
- * to document content types.
+ * to document content types.
* @param sourceViewer the source viewer we're hooking completion to.
* @param editor the text editor
* @param contentTypes the content types of the document we're editing.
diff --git a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/QuickAssistProcessorRegistry.java b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/QuickAssistProcessorRegistry.java
index a9dbfc07b6a..8c7a4ed771b 100644
--- a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/QuickAssistProcessorRegistry.java
+++ b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/QuickAssistProcessorRegistry.java
@@ -51,7 +51,7 @@ public class QuickAssistProcessorRegistry {
/**
* Get the contributed {@link IQuickAssistProcessor}s
- *
+ *
* @return the list of {@link IQuickAssistProcessor} contributed
*/
diff --git a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/ReconcilerRegistry.java b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/ReconcilerRegistry.java
index 6766bf71d06..c5e9bda47da 100644
--- a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/ReconcilerRegistry.java
+++ b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/ReconcilerRegistry.java
@@ -70,7 +70,7 @@ public class ReconcilerRegistry {
/**
* Get the contributed {@link IReconciliers}s that are relevant to hook on
* source viewer according to document content types.
- *
+ *
* @param sourceViewer the source viewer we're hooking completion to.
* @param editor the text editor
* @param contentTypes the content types of the document we're editing.
@@ -93,7 +93,7 @@ public class ReconcilerRegistry {
/**
* Get the contributed highlight {@link IReconciliers}s that are relevant to
* hook on source viewer according to document content types.
- *
+ *
* @param sourceViewer the source viewer we're hooking completion to.
* @param editor the text editor
* @param contentTypes the content types of the document we're editing.
@@ -117,7 +117,7 @@ public class ReconcilerRegistry {
/**
* Get the contributed folding {@link IReconciliers}s that are relevant to hook
* on source viewer according to document content types.
- *
+ *
* @param sourceViewer the source viewer we're hooking completion to.
* @param editor the text editor
* @param contentTypes the content types of the document we're editing.
diff --git a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/folding/IndentFoldingStrategy.java b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/folding/IndentFoldingStrategy.java
index 9c44642fa43..16d4f4066b2 100644
--- a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/folding/IndentFoldingStrategy.java
+++ b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/folding/IndentFoldingStrategy.java
@@ -7,11 +7,11 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Angelo Zerr <angelo.zerr@gmail.com> - adapt code org.eclipse.wst.sse.ui.internal.projection.AbstractStructuredFoldingStrategy to support generic indent folding strategy.
- * [generic editor] Default Code folding for generic editor should use IndentFoldingStrategy - Bug 520659
+ * [generic editor] Default Code folding for generic editor should use IndentFoldingStrategy - Bug 520659
*/
package org.eclipse.ui.internal.genericeditor.folding;
@@ -68,7 +68,7 @@ public class IndentFoldingStrategy implements IReconcilingStrategy, IReconciling
/**
* Creates a new FoldingAnnotation.
- *
+ *
* @param isCollapsed true if this annotation should be collapsed, false
* otherwise
*/
@@ -80,7 +80,7 @@ public class IndentFoldingStrategy implements IReconcilingStrategy, IReconciling
/**
* Does not paint hidden annotations. Annotations are hidden when they only span
* one line.
- *
+ *
* @see ProjectionAnnotation#paint(org.eclipse.swt.graphics.GC,
* org.eclipse.swt.widgets.Canvas, org.eclipse.swt.graphics.Rectangle)
*/
@@ -118,7 +118,7 @@ public class IndentFoldingStrategy implements IReconcilingStrategy, IReconciling
/**
* The folding strategy must be associated with a viewer for it to function
- *
+ *
* @param viewer the viewer to associate this folding strategy with
*/
public void setViewer(ProjectionViewer viewer) {
@@ -291,7 +291,7 @@ public class IndentFoldingStrategy implements IReconcilingStrategy, IReconciling
/**
* Returns the line state for line which starts with a given keyword.
- *
+ *
* @param lineContent line content.
* @param lastLineForKeyword last line for the given keyword.
* @return
@@ -314,7 +314,7 @@ public class IndentFoldingStrategy implements IReconcilingStrategy, IReconciling
/**
* Compute indentation level of the given line by using the given tab size.
- *
+ *
* @param line the line text.
* @param tabSize the tab size.
* @return the indentation level of the given line by using the given tab size.
@@ -342,10 +342,10 @@ public class IndentFoldingStrategy implements IReconcilingStrategy, IReconciling
/**
* Given a {@link DirtyRegion} returns an {@link Iterator} of the already
* existing annotations in that region.
- *
+ *
* @param dirtyRegion the {@link DirtyRegion} to check for existing annotations
* in
- *
+ *
* @return an {@link Iterator} over the annotations in the given
* {@link DirtyRegion}. The iterator could have no annotations in it. Or
* <code>null</code> if projection has been disabled.
@@ -362,7 +362,7 @@ public class IndentFoldingStrategy implements IReconcilingStrategy, IReconciling
/**
* Update annotations.
- *
+ *
* @param modifications the folding annotations to update.
* @param deletions the folding annotations to delete.
* @param existing the existing folding annotations.
@@ -387,7 +387,7 @@ public class IndentFoldingStrategy implements IReconcilingStrategy, IReconciling
/**
* Update annotations.
- *
+ *
* @param existingAnnotation the existing annotations that need to be updated
* based on the given dirtied IndexRegion
* @param newPos the new position that caused the annotations need
@@ -424,7 +424,7 @@ public class IndentFoldingStrategy implements IReconcilingStrategy, IReconciling
* These {@link FoldingAnnotation}s are then added to the {@link List} of
* {@link FoldingAnnotation}s to be deleted
* </p>
- *
+ *
* @param dirtyRegion find the now invalid {@link FoldingAnnotation}s in this
* {@link DirtyRegion}
* @param deletions the current list of {@link FoldingAnnotation}s marked for
diff --git a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/hover/CompositeInformationControlCreator.java b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/hover/CompositeInformationControlCreator.java
index f624680b843..74d60d1cad7 100644
--- a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/hover/CompositeInformationControlCreator.java
+++ b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/hover/CompositeInformationControlCreator.java
@@ -113,7 +113,7 @@ public class CompositeInformationControlCreator
} while (thisIterator.hasNext());
return true;
}
-
+
@Override
public IInformationControl createInformationControl(Shell parent) {
diff --git a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/markers/MarkerResoltionQuickAssistProcessor.java b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/markers/MarkerResoltionQuickAssistProcessor.java
index 4e88d54c5a6..50e01494a35 100644
--- a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/markers/MarkerResoltionQuickAssistProcessor.java
+++ b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/markers/MarkerResoltionQuickAssistProcessor.java
@@ -66,5 +66,5 @@ public class MarkerResoltionQuickAssistProcessor implements IQuickAssistProcesso
}
return resolutions.toArray(new ICompletionProposal[resolutions.size()]);
}
-
+
}
diff --git a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/preferences/GenericEditorPreferenceConstants.java b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/preferences/GenericEditorPreferenceConstants.java
index 13660961fad..203913dce81 100644
--- a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/preferences/GenericEditorPreferenceConstants.java
+++ b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/preferences/GenericEditorPreferenceConstants.java
@@ -38,7 +38,7 @@ public class GenericEditorPreferenceConstants {
* <p>
* Value is of type <code>Boolean</code>.
* </p>
- *
+ *
* @since 1.2
*/
public final static String EDITOR_MATCHING_BRACKETS = "matchingBrackets"; //$NON-NLS-1$
@@ -52,7 +52,7 @@ public class GenericEditorPreferenceConstants {
*
* @see org.eclipse.jface.resource.StringConverter
* @see org.eclipse.jface.preference.PreferenceConverter
- *
+ *
* @since 1.2
*/
public final static String EDITOR_MATCHING_BRACKETS_COLOR = "matchingBracketsColor"; //$NON-NLS-1$
@@ -63,7 +63,7 @@ public class GenericEditorPreferenceConstants {
* <p>
* Value is of type <code>Boolean</code>.
* </p>
- *
+ *
* @since 1.2
*/
public final static String EDITOR_HIGHLIGHT_BRACKET_AT_CARET_LOCATION = "highlightBracketAtCaretLocation"; //$NON-NLS-1$
@@ -74,7 +74,7 @@ public class GenericEditorPreferenceConstants {
* <p>
* Value is of type <code>Boolean</code>.
* </p>
- *
+ *
* @since 1.2
*/
public final static String EDITOR_ENCLOSING_BRACKETS = "enclosingBrackets"; //$NON-NLS-1$
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/BasicTextEditorActionContributor.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/BasicTextEditorActionContributor.java
index f23c2164823..5d26c8c64d7 100644
--- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/BasicTextEditorActionContributor.java
+++ b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/BasicTextEditorActionContributor.java
@@ -54,7 +54,7 @@ import org.eclipse.ui.part.EditorActionBarContributor;
* line</li>
* <li><code>setActiveEditor</code> - extend to react to editor changes</li>
* </ul>
- *
+ *
* @see org.eclipse.ui.texteditor.ITextEditorActionConstants
*/
public class BasicTextEditorActionContributor extends EditorActionBarContributor {
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/ITextEditorActionDefinitionIds.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/ITextEditorActionDefinitionIds.java
index 8ee59776c76..ca9a78d948f 100644
--- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/ITextEditorActionDefinitionIds.java
+++ b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/ITextEditorActionDefinitionIds.java
@@ -485,7 +485,7 @@ public interface ITextEditorActionDefinitionIds extends IWorkbenchActionDefiniti
* </p>
* (value
* <code>"org.eclipse.jdt.ui.edit.text.java.correction.assist.proposals"</code>).
- *
+ *
* @since 3.2
*/
String QUICK_ASSIST= "org.eclipse.jdt.ui.edit.text.java.correction.assist.proposals"; //$NON-NLS-1$

Back to the top