if (documentFilter != null)
if (documentFilter == null) removeImpl(offset, length); else
  public void remove(int offset, int length) throws BadLocationException  {    if (documentFilter != null)      documentFilter.remove(getBypass(), offset, length);    else      removeImpl(offset, length);  }