Bug 164375 [Undo] - WorkspaceUndoUtil shouldn't reset change count for any context
N20061112-0010, WinXP I noticed with the WorkspaceUndoMonitor tracing on that the workspace change count was being reset when undoing and redoing text changes from an editor. This should not be the case. The workspace undo monitor listener should only be responding to undo/redo operations that have the workbench/workspace context.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/undo/WorkspaceUndoMonitor.java
/*******************************************************************************
 * Copyright (c) 2006 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 ******************************************************************************/
package org.eclipse.ui.internal.ide.undo;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.commands.operations.IAdvancedUndoableOperation;
import org.eclipse.core.commands.operations.IAdvancedUndoableOperation2;
import org.eclipse.core.commands.operations.IOperationHistory;