ContentAssistant assistant= new PropertiesFileCorrectionAssistant(getEditor()); assistant.setDocumentPartitioning(getConfiguredDocumentPartitioning(sourceViewer)); return assistant;
if (getEditor() != null) { ContentAssistant assistant= new PropertiesFileCorrectionAssistant(getEditor()); assistant.setDocumentPartitioning(getConfiguredDocumentPartitioning(sourceViewer)); return assistant; } return null;
	public IContentAssistant getQuickAssistAssistant(ISourceViewer sourceViewer) {		ContentAssistant assistant= new PropertiesFileCorrectionAssistant(getEditor());		assistant.setDocumentPartitioning(getConfiguredDocumentPartitioning(sourceViewer));		return assistant;	}