1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 185133 - [Editor] cannot open very large files in CDT Editor

This commit is contained in:
Anton Leherbauer 2008-10-09 12:03:03 +00:00
parent 67b68db542
commit f8fefa6ec2

View file

@ -3352,4 +3352,11 @@ public class CEditor extends TextEditor implements ISelectionChangedListener, IC
public boolean isEnableScalablilityMode() {
return fEnableScalablilityMode;
}
@Override
protected boolean isPrefQuickDiffAlwaysOn() {
// enable only if not in scalability mode
// workaround for http://bugs.eclipse.org/75555
return super.isPrefQuickDiffAlwaysOn() && !isEnableScalablilityMode();
}
}