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/Markers.java
}
			markerEntryArray = new MarkerEntry[markerEntries.size()];
			markerEntries.toArray(markerEntryArray);
			if (sortAndGroup) {
				if (monitor.isCanceled()) {
					return false;
				}
				sortAndMakeCategories(monitor);
				if (monitor.isCanceled()) {
					return false;
				}
			} else {
				categories = EMPTY_CATEGORY_ARRAY;
			}
			return true;
		} finally {
			inChange = initialVal;
		}
	}
	/**
	 * Sort the contained marker entries and build categories if required.
	 * 
	 * @param monitor
	 */
	synchronized boolean sortAndMakeCategories(IProgressMonitor monitor) {
		boolean initialVal = inChange;
		try {
			inChange = true;
			
			if (builder.isShowingHierarchy()) {