Changeset 148


Ignore:
Timestamp:
10/15/02 01:32:57 (20 years ago)
Author:
piso
Message:

LispShellMode? now extends LispMode?.

File:
1 edited

Legend:

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

    r137 r148  
    33 *
    44 * Copyright (C) 2002 Peter Graves
    5  * $Id: LispShellMode.java,v 1.1 2002-10-14 23:37:17 piso Exp $
     5 * $Id: LispShellMode.java,v 1.2 2002-10-15 01:32:57 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    2424import java.awt.event.KeyEvent;
    2525
    26 public final class LispShellMode extends AbstractMode implements Constants, Mode
     26public final class LispShellMode extends LispMode implements Constants, Mode
    2727{
    2828    private static final LispShellMode mode = new LispShellMode();
     
    3434        setProperty(Property.SHOW_LINE_NUMBERS, false);
    3535        setProperty(Property.SHOW_CHANGE_MARKS, false);
     36        setProperty(Property.HIGHLIGHT_BRACKETS, true);
    3637    }
    3738
    38     public static final LispShellMode getMode()
     39    public static final Mode getMode()
    3940    {
    4041        return mode;
     42    }
     43
     44    public Formatter getFormatter(Buffer buffer)
     45    {
     46        return new ShellFormatter(buffer);
    4147    }
    4248
     
    5561        km.mapKey(')', "closeParen");
    5662    }
    57 
    58     public Formatter getFormatter(Buffer buffer)
    59     {
    60         return new ShellFormatter(buffer);
    61     }
    6263}
Note: See TracChangeset for help on using the changeset viewer.