mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-16 12:45:41 +02:00
Cosmetics.
This commit is contained in:
parent
d2a6012539
commit
4a50f5a33e
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue