Bug 339347 [Markers] Can't toggle item limits in Problems view any more without losing limit
I20110308-2000 I can't toggle item limits in Problems view any more without losing limits. After I've disabled the limits, the next time I enable limits, the value is "1". The stored value should not be changed.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/MarkerContentGenerator.java
getSelectedResources(), getEnabledFilters(), andFilters());
		return currentResources;
	}
	
	/*
	 * See Bug 296695: This method is trickier than it may seem/appears to be.If
	 * it is ever desired to use this, it would need to be *RE-IMPLEMENTED* and
	 * would need a good amount of testing with various combination of filters
	 * and scopes. The key here is to understand and getting it right how filter
	 * scope and our trimmed, optimized resources and selected resource elements
	 * interact.
	 * Another possible way to check if content has changed is by
	 * comparing the markers gathered freshly with the previously gathered
	 * markers(cache them when an update is not canceled), whether this up to a
	 * visible limit, or completely, or selected filters we have to see. I am
	 * assuming that this takes little time to do. If this is done prior to
	 * sorting a good amount of time can be saved; we still save the UI time if
	 * checked after sorting. In the sorted case we can use a Binary search as
	 * well.Anyhow if this does take up time, we should skip this method.
	 */
	/**
	 * Refresh gathered markers entries
	 * 
	 * @param monitor
	 */
	Collection generateMarkerEntries(IProgressMonitor monitor) {
		List result = new LinkedList();
		String[] typeIds = getTypes();
		boolean includeSubTypes = builder.includeMarkerSubTypes();
		boolean cancelled = gatherMarkers(typeIds, includeSubTypes, result,