Lines 7-12
Link Here
|
7 |
* |
7 |
* |
8 |
* Contributors: |
8 |
* Contributors: |
9 |
* IBM Corporation - initial API and implementation |
9 |
* IBM Corporation - initial API and implementation |
|
|
10 |
* Sebastian Davids <sdavids@gmx.de> - bug 22712 |
10 |
*******************************************************************************/ |
11 |
*******************************************************************************/ |
11 |
|
12 |
|
12 |
package org.eclipse.jdt.internal.ui.preferences; |
13 |
package org.eclipse.jdt.internal.ui.preferences; |
Lines 131-136
Link Here
|
131 |
|
132 |
|
132 |
new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, PreferenceConstants.EDITOR_MATCHING_BRACKETS_COLOR), |
133 |
new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, PreferenceConstants.EDITOR_MATCHING_BRACKETS_COLOR), |
133 |
new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, PreferenceConstants.EDITOR_MATCHING_BRACKETS), |
134 |
new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, PreferenceConstants.EDITOR_MATCHING_BRACKETS), |
|
|
135 |
|
136 |
new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, PreferenceConstants.EDITOR_WHITESPACE_COLOR), |
137 |
new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, PreferenceConstants.EDITOR_WHITESPACE), |
134 |
|
138 |
|
135 |
new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, PreferenceConstants.EDITOR_CURRENT_LINE_COLOR), |
139 |
new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, PreferenceConstants.EDITOR_CURRENT_LINE_COLOR), |
136 |
new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, PreferenceConstants.EDITOR_CURRENT_LINE), |
140 |
new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, PreferenceConstants.EDITOR_CURRENT_LINE), |
Lines 240-245
Link Here
|
240 |
{PreferencesMessages.getString("JavaEditorPreferencePage.findScopeColor2"), PreferenceConstants.EDITOR_FIND_SCOPE_COLOR}, //$NON-NLS-1$ |
244 |
{PreferencesMessages.getString("JavaEditorPreferencePage.findScopeColor2"), PreferenceConstants.EDITOR_FIND_SCOPE_COLOR}, //$NON-NLS-1$ |
241 |
{PreferencesMessages.getString("JavaEditorPreferencePage.linkedPositionColor2"), PreferenceConstants.EDITOR_LINKED_POSITION_COLOR}, //$NON-NLS-1$ |
245 |
{PreferencesMessages.getString("JavaEditorPreferencePage.linkedPositionColor2"), PreferenceConstants.EDITOR_LINKED_POSITION_COLOR}, //$NON-NLS-1$ |
242 |
{PreferencesMessages.getString("JavaEditorPreferencePage.linkColor2"), PreferenceConstants.EDITOR_LINK_COLOR}, //$NON-NLS-1$ |
246 |
{PreferencesMessages.getString("JavaEditorPreferencePage.linkColor2"), PreferenceConstants.EDITOR_LINK_COLOR}, //$NON-NLS-1$ |
|
|
247 |
{PreferencesMessages.getString("TextEditorPreferencePage.whitespaceColor"), PreferenceConstants.EDITOR_WHITESPACE_COLOR}, //$NON-NLS-1$ |
243 |
}; |
248 |
}; |
244 |
|
249 |
|
245 |
private final String[][] fAnnotationColorListModel= new String[][] { |
250 |
private final String[][] fAnnotationColorListModel= new String[][] { |
Lines 629-634
Link Here
|
629 |
label= PreferencesMessages.getString("JavaEditorPreferencePage.showPrintMargin"); //$NON-NLS-1$ |
634 |
label= PreferencesMessages.getString("JavaEditorPreferencePage.showPrintMargin"); //$NON-NLS-1$ |
630 |
addCheckBox(appearanceComposite, label, PreferenceConstants.EDITOR_PRINT_MARGIN, 0); |
635 |
addCheckBox(appearanceComposite, label, PreferenceConstants.EDITOR_PRINT_MARGIN, 0); |
631 |
|
636 |
|
|
|
637 |
label= PreferencesMessages.getString("JavaEditorPreferencePage.showWhitespace"); //$NON-NLS-1$ |
638 |
addCheckBox(appearanceComposite, label, PreferenceConstants.EDITOR_WHITESPACE, 0); |
632 |
|
639 |
|
633 |
Label l= new Label(appearanceComposite, SWT.LEFT ); |
640 |
Label l= new Label(appearanceComposite, SWT.LEFT ); |
634 |
GridData gd= new GridData(GridData.HORIZONTAL_ALIGN_FILL); |
641 |
GridData gd= new GridData(GridData.HORIZONTAL_ALIGN_FILL); |