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:
parent
67b68db542
commit
f8fefa6ec2
1 changed files with 7 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue