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
monitor);
		if (cancelled) {
			result.clear();
		}
		return result;
	}
	/**
	 * Refresh gathered markers entries
	 * @param result
	 * @param monitor
	 */
	boolean generateMarkerEntries(Collection result,IProgressMonitor monitor) {
		String[] typeIds = getTypes();
		boolean includeSubTypes = builder.includeMarkerSubTypes();
		return gatherMarkers(typeIds, includeSubTypes, result, monitor);
	}
	/**
	 * Gather markers into result.
	 * @param typeIds
	 * @param includeSubTypes
	 * @param result
	 * @param monitor
	 */
	boolean gatherMarkers(String[] typeIds, boolean includeSubTypes,
			Collection result, IProgressMonitor monitor) {
		try {
			Collection resources = getResourcesForBuild();
			if (includeSubTypes) {
				
				String[] superTypes = MarkerResourceUtil