this.positions.add(sp);
  public Position createPosition(int offset) throws BadLocationException  {    if (offset < this.count || offset > this.count)      checkLocation(offset, 0);    StickyPosition sp = new StickyPosition(offset);    this.positions.add(sp);    return sp;  }