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/ExtendedMarkersView.java
if (preferredWidth <= 0) {
			
			GC gc = new GC(tree);
			gc.setFont(tree.getFont());
			FontMetrics fontMetrics = gc.getFontMetrics();
			gc.dispose();
			preferredWidth = Math.max(markerField.getDefaultColumnWidth(tree),
					fontMetrics.getAverageCharWidth() * 5);
		}
		if (considerUIWidths) {
			TreeColumn[] columns = tree.getColumns();
			for (int i = 0; i < columns.length; i++) {
				if (markerField.equals(columns[i].getData(MARKER_FIELD))) {
					preferredWidth = Math.max(preferredWidth,
							columns[i].getWidth());
					return preferredWidth;
				}
			}
		}
		return preferredWidth;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * org.eclipse.ui.part.WorkbenchPart#createPartControl(org.eclipse.swt.widgets
	 * .Composite)
	 */
	public void createPartControl(Composite parent) {
		createViewer(parent);