1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-16 12:45:41 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2011-05-20 03:23:58 +00:00
parent d2a6012539
commit 4a50f5a33e

View file

@ -1438,7 +1438,7 @@ public class CEditor extends TextEditor implements ISelectionChangedListener, IC
boolean wasEnabled = fEnableScalablilityMode; boolean wasEnabled = fEnableScalablilityMode;
fEnableScalablilityMode = lines > getPreferenceStore().getInt(PreferenceConstants.SCALABILITY_NUMBER_OF_LINES); fEnableScalablilityMode = lines > getPreferenceStore().getInt(PreferenceConstants.SCALABILITY_NUMBER_OF_LINES);
if (fEnableScalablilityMode && !wasEnabled) { if (fEnableScalablilityMode && !wasEnabled) {
//Alert users that scalability mode should be turned on // Alert users that scalability mode should be turned on
if (getPreferenceStore().getBoolean(PreferenceConstants.SCALABILITY_ALERT)) { if (getPreferenceStore().getBoolean(PreferenceConstants.SCALABILITY_ALERT)) {
MessageDialogWithToggle dialog = new MessageDialogWithToggle( MessageDialogWithToggle dialog = new MessageDialogWithToggle(
Display.getCurrent().getActiveShell(), Display.getCurrent().getActiveShell(),
@ -3620,7 +3620,7 @@ public class CEditor extends TextEditor implements ISelectionChangedListener, IC
if (model == null) if (model == null)
return; return;
fOverrideIndicatorManager= new OverrideIndicatorManager(model); fOverrideIndicatorManager= new OverrideIndicatorManager(model);
addReconcileListener(fOverrideIndicatorManager); addReconcileListener(fOverrideIndicatorManager);