Assert.isNotNull(editor); fEditor= editor;
	public JavaCorrectionAssistant(IEditorPart editor) {		super();		JavaCorrectionProcessor processor= new JavaCorrectionProcessor(editor); 				setContentAssistProcessor(processor, IDocument.DEFAULT_CONTENT_TYPE);		setContentAssistProcessor(processor, JavaPartitionScanner.JAVA_STRING);				enableAutoActivation(false);		enableAutoInsert(false);				setContextInformationPopupOrientation(CONTEXT_INFO_ABOVE);		setInformationControlCreator(getInformationControlCreator());		JavaTextTools textTools= JavaPlugin.getDefault().getJavaTextTools();		IColorManager manager= textTools.getColorManager();		IPreferenceStore store=  JavaPlugin.getDefault().getPreferenceStore();		Color c= getColor(store, ContentAssistPreference.PROPOSALS_FOREGROUND, manager);		setProposalSelectorForeground(c);				c= getColor(store, ContentAssistPreference.PROPOSALS_BACKGROUND, manager);		setProposalSelectorBackground(c);	}