Bug 156864 [Undo] Edit > Add Bookmark... does not work
I20060906-1200 1. start fresh workspace 2. create simple project P 3. create simple file f 4. close the editor (the editor actions works) 5. Edit > Add Bookmark... ==> bookmark is not added
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/DialogMarkerProperties.java
private void saveChanges() {
		Map attrs = getMarkerAttributes();
		IUndoableOperation op = null;
		if (marker == null) {
			if (resource == null)
				return;
			op = new CreateMarkersOperation(type, attrs,
					resource, getCreateOperationTitle()); 
		} else {
			if (isDirty()) {
				op = new UpdateMarkersOperation(marker, attrs,
						getModifyOperationTitle(), true);
			}
		}
		if (op != null) {
			try {
				PlatformUI.getWorkbench()
						.getOperationSupport()
						.getOperationHistory().execute(op,
								null, new IAdaptable() {
									public Object getAdapter(
											Class clazz) {
										if (clazz == Shell.class) {
											return getShell();
										}
										return null;
									}
								});
			} catch (ExecutionException e) {
				IDEWorkbenchPlugin.log(e.getMessage(), e);