@Override
    public String getText(int offset, int length) throws BadLocationException {
      return myDocument.getText(offset, length);
    }
@Override
    public String getText(int offset, int length)