ide/src/wombat/util/files/DocumentManager.java
public static boolean Save() {
    	if (me == null) throw new RuntimeException("Document manager not initialized.");
    	if (!verifyActiveDocument()) return false;
    	
        if (me.activeDocument.myFile == null) return SaveAs();
        
        try {
            me.activeDocument.save();
            
            RecentDocumentManager.addFile(me.activeDocument.myFile);
            
            return true;
        } catch(FileNotFoundException ex) {
            return false;
        } catch(IOException ex) {
            return false;
        }
    }
/**
     * Save the current file.
     * @return If the save worked.
     */
Save the current file.
@return If the save worked.
Save the current file . @return If the save worked .
public static boolean Save() {
    	if (me == null) throw new RuntimeException("Document manager not initialized.");
    	if (!verifyActiveDocument()) return false;
        if (me.activeDocument.myFile == null) return SaveAs();
        try {
            me.activeDocument.save();
            RecentDocumentManager.addFile(me.activeDocument.myFile);
            return true;
        } catch(FileNotFoundException ex) {
            return false;
        } catch(IOException ex) {
            return false;
        }
    }
public static boolean Save ( ) { if ( me == null ) throw new RuntimeException ( "Document manager not initialized." ) ; if ( ! verifyActiveDocument ( ) ) return false ; if ( me . activeDocument . myFile == null ) return SaveAs ( ) ; try { me . activeDocument . save ( ) ; RecentDocumentManager . addFile ( me . activeDocument . myFile ) ; return true ; } catch ( FileNotFoundException ex ) { return false ; } catch ( IOException ex ) { return false ; } }
Save the current file.
Save the current file .