Changeset 153


Ignore:
Timestamp:
10/16/02 02:00:48 (21 years ago)
Author:
piso
Message:

Initialize history and undo in CommandInterpreter? constructor.

File:
1 edited

Legend:

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

    r150 r153  
    33 *
    44 * Copyright (C) 1998-2002 Peter Graves
    5  * $Id: Shell.java,v 1.12 2002-10-15 16:27:31 piso Exp $
     5 * $Id: Shell.java,v 1.13 2002-10-16 02:00:48 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    4545    protected Shell()
    4646    {
    47         initializeUndo();
    4847        type = TYPE_SHELL;
    4948        mode = Editor.getModeList().getMode(SHELL_MODE);
    5049        formatter = mode.getFormatter(this);
    51         initializeHistory();
    5250        setInitialized(true);
    5351    }
     
    6361    protected Shell(String shellCommand, Mode mode)
    6462    {
    65         initializeUndo();
    6663        type = TYPE_SHELL;
    6764        this.shellCommand = shellCommand;
    6865        this.mode = mode;
    6966        formatter = mode.getFormatter(this);
    70         initializeHistory();
    7167        setInitialized(true);
    7268    }
Note: See TracChangeset for help on using the changeset viewer.