Bug 52810 [Problems] Problem filter "Only resource in same project" filters everything out
Build 20040219 When using this problem filter, no more problem is visible any longer. The only viable solution is to render *all* problems in workspace to find those in same projects. Big regression.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerView.java
if (oldProjects.size() == newProjects.size()) {
				return !newProjects.containsAll(oldProjects);
			} else {
				return true;
			}
		} 
		
		return true;
	}
	/**
	 * Returns the marker limit or -1 if unlimited
	 *  
	 * @return
	 */
	private int getMarkerLimit() {
		MarkerFilter filter = getFilter();
		if (!filter.isEnabled() || !filter.getFilterOnMarkerLimit()) {
			return -1;
		}
		
		return filter.getMarkerLimit();			
	}
	
	private boolean withinMarkerLimit(int toTest) {
		int limit = getMarkerLimit();
		
		return (limit == -1 || toTest <= limit);
	}