if (javaSourceViewer != null && isFoldingEnabled())
IPreferenceStore store= getPreferenceStore(); if (javaSourceViewer != null && isFoldingEnabled() &&(store == null || !store.getBoolean(PreferenceConstants.EDITOR_SHOW_SEGMENTS)))
	private void internalDoSetInput(IEditorInput input) throws CoreException {		ISourceViewer sourceViewer= getSourceViewer();		JavaSourceViewer javaSourceViewer= null;		if (sourceViewer instanceof JavaSourceViewer)			javaSourceViewer= (JavaSourceViewer)sourceViewer;				if (javaSourceViewer != null && isFoldingEnabled())			javaSourceViewer.prepareDelayedProjection();				super.doSetInput(input);		if (javaSourceViewer != null && javaSourceViewer.getReconciler() == null) {			IReconciler reconciler= getSourceViewerConfiguration().getReconciler(javaSourceViewer);			if (reconciler != null) {				reconciler.install(javaSourceViewer);				javaSourceViewer.setReconciler(reconciler);			}		}		if (fEncodingSupport != null)			fEncodingSupport.reset();		setOutlinePageInput(fOutlinePage, input);		if (isShowingOverrideIndicators())			installOverrideIndicator(false);	}