Bug 71354 [painting] IAE in StyledText.getBidiSegments upon revert
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaSourceViewer.java
fOutlinePresenter= null;
		}
		if (fStructurePresenter != null) {
			fStructurePresenter.uninstall();
			fStructurePresenter= null;
		}
		if (fHierarchyPresenter != null) {
			fHierarchyPresenter.uninstall();
			fHierarchyPresenter= null;
		}
		
		StyledText textWidget= getTextWidget();
		if (fForegroundColor != null) {
			if (textWidget != null && !textWidget.isDisposed())
				textWidget.setForeground(null);
			fForegroundColor.dispose();
			fForegroundColor= null;
		}
		if (fBackgroundColor != null) {
			if (textWidget != null && !textWidget.isDisposed())
				textWidget.setBackground(null);
			fBackgroundColor.dispose();
			fBackgroundColor= null;
		}
		
		if (fPreferenceStore != null)
			fPreferenceStore.removePropertyChangeListener(this);
		
		super.unconfigure();