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
}
	/**
	 * 
	 */
	private void addPageAndPartSelectionListener() {
		
		pageSelectionListener = new ViewerPageSelectionListener(this);
		getSite().getPage().addPostSelectionListener(pageSelectionListener);
		partListener = getPartListener();
		getSite().getPage().addPartListener(partListener);
		pageSelectionListener.selectionChanged(getSite().getPage()
				.getActivePart(), getSite().getPage().getSelection());
	}
	/**
	 * 
	 */
	private void addSelectionListener() {
		viewer.addSelectionChangedListener(new ISelectionChangedListener() {
			public void selectionChanged(SelectionChangedEvent event) {
				ISelection selection = event.getSelection();
				if (selection instanceof IStructuredSelection){
					updateStatusLine((IStructuredSelection)selection);
				}
			}
		});
	}
	/**
	 * 
	 */
	private void addHelpListener() {