return null;
return new UndoRemove(where, removedText);
  public UndoableEdit remove(int where, int nitems) throws BadLocationException  {    // check arguments    int length = length();    if (where >= length)      throw new BadLocationException("the where argument cannot be greater"          + " than the content length", where);    if ((where + nitems) > length)      throw new BadLocationException("where + nitems cannot be greater"          + " than the content length", where + nitems);    replace(where, nitems, null, 0);    return null;  }