Bug 128381 [Markers] group should only show (10 of 10 items) if beyond the limit
Version: 3.2.0 Build id: I20060216-2000 Until there are more problems in a particular category than the configured limit, telling "(10 of 10 items)" (behind category name) is useless. I would only expect to see "(10 items)" until I hit the limit.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerAdapter.java
}
			if (monitor.isCanceled()) {
				return;
			}
			ViewerSorter sorter = view.getViewer().getSorter();
			if (markerLimit == -1 || isShowingHierarchy()) {
				sorter.sort(view.getViewer(), lastMarkers.toArray());
			} else {
				monitor.subTask(MarkerMessages.MarkerView_18);
				SubProgressMonitor mon = new SubProgressMonitor(monitor, 40);
				lastMarkers = SortUtil.getFirst(lastMarkers,
						(Comparator) sorter, markerLimit, mon);
				if (monitor.isCanceled()) {
					return;
				}
				sorter.sort(view.getViewer(), lastMarkers.toArray());
			}
			if (lastMarkers.getSize() == 0) {
				categories = new MarkerCategory[0];
				monitor.done();
				return;
			}
			monitor.subTask(MarkerMessages.MarkerView_queueing_updates);
			if (isShowingHierarchy()) {
				categories = buildHierarchy(lastMarkers, 0, lastMarkers
						.getSize() - 1, 0);
			}
			if (monitor.isCanceled()) {
				return;
			}