Changeset 147


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

Added protected constructor for LispShellMode?.

File:
1 edited

Legend:

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

    r133 r147  
    33 *
    44 * Copyright (C) 1998-2002 Peter Graves
    5  * $Id: LispMode.java,v 1.6 2002-10-14 03:42:38 piso Exp $
     5 * $Id: LispMode.java,v 1.7 2002-10-15 01:32:11 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 LispMode extends AbstractMode implements Constants, Mode
     26public class LispMode extends AbstractMode implements Constants, Mode
    2727{
    2828    private static final LispMode mode = new LispMode();
     
    3535    }
    3636
    37     public static final LispMode getMode()
     37    protected LispMode(int id, String displayName)
     38    {
     39        super(id, displayName);
     40    }
     41
     42    public static Mode getMode()
    3843    {
    3944        return mode;
     
    138143            }
    139144        }
    140        
     145
    141146        int depth = depth(new Position(line, 0), buffer);
    142147        if (depth > 0)
     
    178183        }
    179184    }
    180    
     185
    181186    protected Position findContainingSexp(Position start)
    182187    {
     
    202207        }
    203208    }
    204    
     209
    205210    protected Position forwardSexp(Position start)
    206211    {
Note: See TracChangeset for help on using the changeset viewer.