Changeset 25


Ignore:
Timestamp:
10/02/02 17:07:50 (20 years ago)
Author:
piso
Message:

public static void compile(String args)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/j/CompilationBuffer.java

    r2 r25  
    33 *
    44 * Copyright (C) 1998-2002 Peter Graves
    5  * $Id: CompilationBuffer.java,v 1.1.1.1 2002-09-24 16:08:00 piso Exp $
     5 * $Id: CompilationBuffer.java,v 1.2 2002-10-02 17:07:50 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    538538    }
    539539
     540    public static void compile(String args)
     541    {
     542        if (Platform.isPlatformWindows() && !Platform.isPlatformWindows5())
     543            return;
     544        if (args != null && args.length() > 0) {
     545            History history = new History("compile.command");
     546            history.append(args);
     547            history.save();
     548            compile(args, Editor.currentEditor());
     549        }
     550    }
     551
    540552    private static void compile(final String command, final Editor editor)
    541553    {
Note: See TracChangeset for help on using the changeset viewer.