Bug 7945 Search results not selected in external jar
Build 20020115 1. Make sure you have JDK1.3.1 as the default JRE (and that you have source for rt.jar) 2. Open java.io.File 3. Select field 'tmpFir' 4. Searcg for references to this field 5. You should get 3 matches in method getTempDir() 6. Double-click on the search result Observe: The first match is not selected.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileMarkerAnnotationModel.java
}
			
	/**
	 * @see IResourceDeltaVisitor#visit
	 */
	public boolean visit(IResourceDelta delta) throws CoreException {
		
		if (delta == null)
			return false;
		if (fMarkerResource != null) {
			IPath path= fMarkerResource.getFullPath();
			delta= delta.findMember(path);
			if (delta == null)
				return false;			
		}
		
		IMarkerDelta[] markerDeltas= delta.getMarkerDeltas();
		for (int i= 0; i < markerDeltas.length; i++) {
			if (isAffected(markerDeltas[i])) {
				IMarker marker= markerDeltas[i].getMarker();
				switch (markerDeltas[i].getKind()) {
					case IResourceDelta.ADDED :
						addMarkerAnnotation(marker);
						fChangesApplied= true;
						break;
					case IResourceDelta.REMOVED :
						removeMarkerAnnotation(marker);
						fChangesApplied= true;
						break;
					case IResourceDelta.CHANGED: