Changeset 8672


Ignore:
Timestamp:
03/01/05 20:20:17 (16 years ago)
Author:
piso
Message:

getMark(), setMark()

File:
1 edited

Legend:

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

    r7510 r8672  
    22 * Buffer.java
    33 *
    4  * Copyright (C) 1998-2003 Peter Graves
    5  * $Id: Buffer.java,v 1.52 2004-08-30 17:13:48 piso Exp $
     4 * Copyright (C) 1998-2005 Peter Graves
     5 * $Id: Buffer.java,v 1.53 2005-03-01 20:20:17 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    133133    {
    134134        this.parentBuffer = b;
     135    }
     136
     137    private Position mark;
     138
     139    public final Position getMark()
     140    {
     141        return mark;
     142    }
     143
     144    public final void setMark(Position pos)
     145    {
     146        mark = pos;
    135147    }
    136148
     
    21012113        maxColsValid = false;
    21022114        setTags(null);
     2115        setMark(null);
    21032116    }
    21042117
Note: See TracChangeset for help on using the changeset viewer.