IEditorPart editorPart = this.getActiveEditor(); if(editorPart == null) { return;
if(this.getActivePage() != 0) { this.switchToJava();
	public void showHighlightRangeOnly(boolean showHighlightRangeOnly) {		IEditorPart editorPart = this.getActiveEditor();		if(editorPart == null) {			return;		}		if(!(editorPart instanceof ITextEditor)) {			return;		}		ITextEditor textEditor = (ITextEditor)editorPart;		textEditor.showHighlightRangeOnly(showHighlightRangeOnly);	}