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
* {@link #gatherMarkers(String[], boolean, Collection, IProgressMonitor)}
	 * 
	 * @param resources
	 * @param typeId
	 * @param includeSubTypes
	 * @param result
	 * @param monitor
	 */
	private boolean internalGatherMarkers(Collection resources, String typeId,
			boolean includeSubTypes, Collection result, IProgressMonitor monitor) {
		if (monitor.isCanceled()) {
			return false;
		}
		IResource[] selected = getSelectedResources();
		Collection filters = getEnabledFilters();
		boolean andFilters = andFilters();
		Iterator iterator = resources.iterator();
		while (iterator.hasNext()) {
			IMarker[] markers = null;
			try {
				IResource resource = (IResource) iterator.next();
				if (!resource.isAccessible()) {
					continue;
				}
				markers = resource.findMarkers(typeId, includeSubTypes,
						IResource.DEPTH_INFINITE);
			} catch (CoreException e) {
				MarkerSupportInternalUtilities.logViewError(e);
			}
			if (markers == null) {