ide/src/wombat/util/files/DocumentManager.java
public static boolean Undo() {
		if (me == null) throw new RuntimeException("Document manager not initialized.");
		SchemeTextArea doc = me.activeDocument;
		
		try {
            if (doc.Undo.canUndo())
            	doc.Undo.undo();
            return true;
        } catch (CannotUndoException e) {
        	return false;
        }
	}
/**
	 * Undo on the active document.
	 * @return If it worked.
	 */
Undo on the active document.
@return If it worked.
Undo on the active document . @return If it worked .
public static boolean Undo() {
		if (me == null) throw new RuntimeException("Document manager not initialized.");
		SchemeTextArea doc = me.activeDocument;
		try {
            if (doc.Undo.canUndo())
            	doc.Undo.undo();
            return true;
        } catch (CannotUndoException e) {
        	return false;
        }
	}
public static boolean Undo ( ) { if ( me == null ) throw new RuntimeException ( "Document manager not initialized." ) ; SchemeTextArea doc = me . activeDocument ; try { if ( doc . Undo . canUndo ( ) ) doc . Undo . undo ( ) ; return true ; } catch ( CannotUndoException e ) { return false ; } }
Undo on the active document.
Undo on the active document .