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
}
		
		
		
		
		if (currentOp instanceof IAdvancedUndoableOperation
				&& currentOp instanceof IAdvancedUndoableOperation2) {
			((IAdvancedUndoableOperation2) currentOp).setQuietCompute(true);
			IStatus status;
			try {
				status = ((IAdvancedUndoableOperation) currentOp)
						.computeUndoableStatus(null);
			} catch (ExecutionException e) {
				
				
				
				
				
				status = Status.OK_STATUS;
			}
			((IAdvancedUndoableOperation2) currentOp).setQuietCompute(false);
			if (status.getSeverity() == IStatus.ERROR) {
				flushWorkspaceHistory(currentOp);
			}
		}
		resetChangeCount();
	}
	/**
	 * Flush the undo and redo history for the workspace undo context.
	 */