Bug 124883 problems view: automatically disable marker limits when in group mode
20060123 When in the problem view shows groups, the marker limits should be automatically disabled. Or the limits should specify the maximum numbers of all markers in a group, not for the total number of problems.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerAdapter.java
(Comparator) sorter, markerLimit, mon);
				if (monitor.isCanceled())
					return;
				sorter.sort(view.getViewer(), lastMarkers.toArray());
			}
			if (lastMarkers.getSize() == 0) {
				monitor.done();
				return;
			}
			monitor.subTask(MarkerMessages.MarkerView_queueing_updates);
			if (isShowingHierarchy()) {
				categories = buildHierarchy(lastMarkers, 0, lastMarkers
						.getSize() - 1, 0);
			}
			if (monitor.isCanceled())
				return;
			monitor.done();
		} finally {
			building = false;
		}
	}
	/**
	 * Return whether or not a hierarchy is showing.
	 * 
	 * @return boolean
	 */
	private boolean isShowingHierarchy() {
		ViewerSorter sorter = view.getViewer().getSorter();
		if (sorter instanceof CategorySorter)
			return ((CategorySorter) sorter).getCategoryField() != null;