int offset= (newOffset > -1 && fRememberedElementOffset > -1) ? newOffset - fRememberedElementOffset : 0; selectAndReveal(offset + fRememberedSelection.getOffset(), fRememberedSelection.getLength());
int delta= (newOffset > -1 && fRememberedElementOffset > -1) ? newOffset - fRememberedElementOffset : 0; if (isValidSelection(delta + fRememberedSelection.getOffset(), fRememberedSelection.getLength())) selectAndReveal(delta + fRememberedSelection.getOffset(), fRememberedSelection.getLength());
	protected void restoreSelection() {				try {						if (getSourceViewer() == null || fRememberedSelection == null)				return;							IJavaElement newElement= findElement(fRememberedElement);			int newOffset= getOffset(newElement);			int offset= (newOffset > -1 && fRememberedElementOffset > -1) ? newOffset - fRememberedElementOffset : 0;			selectAndReveal(offset + fRememberedSelection.getOffset(), fRememberedSelection.getLength());								} finally {			fRememberedSelection= null;			fRememberedElement= null;			fRememberedElementOffset= -1;		}	}