if(this.getActivePage() != 0) { this.switchToJava();
IEditorPart editorPart = this.getActiveEditor(); if(editorPart == null || !(this.getActiveEditor() instanceof ITextEditor)) { return;
	public void selectAndReveal(int offset, int length) {		if(this.getActivePage() != 0) {			this.switchToJava();		}		ITextEditor textEditor = (ITextEditor)compilationUnitEditor;		textEditor.selectAndReveal(offset, length);	}