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
if (creationTime != null) {
			creationTime.setText(Util.getCreationTime(marker));
		}
        if (resourceText != null) {
			resourceText.setText(Util.getResourceName(marker));
		}
        if (folderText != null) {
			folderText.setText(Util.getContainerName(marker));
		}
        if (locationText != null) {
            String line = Util.getProperty(IMarker.LINE_NUMBER, marker);
            if (line.equals("")) { 
				locationText.setText(""); 
			} else {
				locationText.setText(NLS.bind(MarkerMessages.label_lineNumber, line));
			}
        }
        descriptionText.selectAll();
    }
    
    /**
     * Updates the dialog from the predefined attributes.
     */
    protected void updateDialogForNewMarker() {
        if (resource != null && resourceText != null && folderText != null) {
            resourceText.setText(resource.getName());
            IPath path = resource.getFullPath();
            int n = path.segmentCount() - 1; 
            if (n > 0) {
                int len = 0;