diff options
author | Paul Pazderski | 2019-05-18 21:39:58 +0000 |
---|---|---|
committer | Paul Pazderski | 2019-05-19 23:44:04 +0000 |
commit | 8bc461175ceded9ec872cff17d84fbce8fc4795d (patch) | |
tree | 341effbc5c46d3376180e05cefa509d7d4ec270b /org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java | |
parent | 9e7f66919496659795478f8cd80804da71498fff (diff) | |
download | eclipse.platform.text-8bc461175ceded9ec872cff17d84fbce8fc4795d.tar.gz eclipse.platform.text-8bc461175ceded9ec872cff17d84fbce8fc4795d.tar.xz eclipse.platform.text-8bc461175ceded9ec872cff17d84fbce8fc4795d.zip |
Bug 547304 - [cleanup] Fix wrong space/tab indentationS4_12_0_RC2S4_12_0_RC1aS4_12_0_RC1S4_12_0_M3R4_12I20190605-1800I20190605-0600I20190604-1800I20190604-0600I20190603-1800I20190603-0600I20190602-1800I20190602-0600I20190601-1800I20190531-1800I20190531-0245I20190529-2005I20190529-1800I20190529-0600I20190528-1800I20190528-0915I20190528-0850I20190528-0600I20190527-1805I20190527-0600I20190526-1800I20190526-0600I20190525-1800I20190525-0600I20190524-1800I20190524-0135I20190522-1800I20190522-0600I20190521-1800I20190521-0600I20190520-1805I20190520-0600R4_12_maintenance
This change fixes space or mixed tab/space indentations in all Java
files. This also includes two or three space indentations and even fix
most stray single spaces in indentations.
The change includes only whitespace formatting and no code changes.
Change-Id: I3e7b6abb69a1894c402f9123417346a44fc0992a
Diffstat (limited to 'org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java')
-rw-r--r-- | org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java index 2d93bbb6f98..1583a795f63 100644 --- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java +++ b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java @@ -832,24 +832,24 @@ public abstract class TemplatePreferencePage extends PreferencePage implements I layout.marginWidth= 0; parent.setLayout(layout); - Composite innerParent= new Composite(parent, SWT.NONE); - GridLayout innerLayout= new GridLayout(); - innerLayout.numColumns= 2; - innerLayout.marginHeight= 0; - innerLayout.marginWidth= 0; - innerParent.setLayout(innerLayout); - GridData gd= new GridData(GridData.FILL_BOTH); - gd.horizontalSpan= 2; - innerParent.setLayoutData(gd); - - Composite tableComposite= new Composite(innerParent, SWT.NONE); - GridData data= new GridData(GridData.FILL_BOTH); - data.widthHint= 360; - data.heightHint= convertHeightInCharsToPixels(10); - tableComposite.setLayoutData(data); - - ColumnLayout columnLayout= new ColumnLayout(); - tableComposite.setLayout(columnLayout); + Composite innerParent= new Composite(parent, SWT.NONE); + GridLayout innerLayout= new GridLayout(); + innerLayout.numColumns= 2; + innerLayout.marginHeight= 0; + innerLayout.marginWidth= 0; + innerParent.setLayout(innerLayout); + GridData gd= new GridData(GridData.FILL_BOTH); + gd.horizontalSpan= 2; + innerParent.setLayoutData(gd); + + Composite tableComposite= new Composite(innerParent, SWT.NONE); + GridData data= new GridData(GridData.FILL_BOTH); + data.widthHint= 360; + data.heightHint= convertHeightInCharsToPixels(10); + tableComposite.setLayoutData(data); + + ColumnLayout columnLayout= new ColumnLayout(); + tableComposite.setLayout(columnLayout); Table table= new Table(tableComposite, SWT.CHECK | SWT.BORDER | SWT.MULTI | SWT.FULL_SELECTION | SWT.H_SCROLL | SWT.V_SCROLL); table.setHeaderVisible(true); @@ -959,10 +959,10 @@ public abstract class TemplatePreferencePage extends PreferencePage implements I if (isShowFormatterSetting()) { fFormatButton= new Button(parent, SWT.CHECK); fFormatButton.setText(TemplatesMessages.TemplatePreferencePage_use_code_formatter); - GridData gd1= new GridData(); - gd1.horizontalSpan= 2; - fFormatButton.setLayoutData(gd1); - fFormatButton.setSelection(getPreferenceStore().getBoolean(getFormatterPreferenceKey())); + GridData gd1= new GridData(); + gd1.horizontalSpan= 2; + fFormatButton.setLayoutData(gd1); + fFormatButton.setSelection(getPreferenceStore().getBoolean(getFormatterPreferenceKey())); } fTableViewer.setInput(fTemplateStore); |