Bug 135559 [Markers] Problem view sections collapse after manual build
3.2 M6 The sections in the problem view collapse after a manual build For example: - set autobuild off - expand the errors section in the problem view - click on a problem - fix the problem - build - notice that the "error" section is now collapsed.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerView.java
* Given a selection of IMarker, reveals the corresponding elements in the
	 * viewer
	 * 
	 * @param structuredSelection
	 * @param reveal
	 */
	public void setSelection(IStructuredSelection structuredSelection,
			boolean reveal) {
		TreeViewer viewer = getViewer();
		List newSelection = new ArrayList(structuredSelection.size());
		for (Iterator i = structuredSelection.iterator(); i.hasNext();) {
			Object next = i.next();
			if (next instanceof IMarker) {
				ConcreteMarker marker = getCurrentMarkers().getMarker(
						(IMarker) next);
				if (marker != null) {
					newSelection.add(marker);
				}
			}
		}
		if (viewer != null) {
			viewer.setSelection(new StructuredSelection(newSelection), reveal);
		}
	}
	protected MarkerList getVisibleMarkers() {
		return getCurrentMarkers();
	}
	/**
	 * Returns the total number of markers. Should not be called while the
	 * marker list is still updating.