public void setBuffer(CharSequence buffer, int startOffset, int endOffset) {
    myBuffer = buffer;
    myStartOffset = startOffset;
    myEndOffset = endOffset;
  }
public void setBuffer(CharSequence buffer, int startOffset, int endOffset)