if (p0 != getStartOffset()) fragment.startOffset = p0; if (p1 != getEndOffset()) fragment.endOffset = p1;
fragment.offset = p0 - el.getStartOffset(); fragment.length = p1 - p0; fragment.glyphPainter = glyphPainter.getPainter(fragment, p0, p1);
  public View createFragment(int p0, int p1)  {    GlyphView fragment = (GlyphView) clone();    if (p0 != getStartOffset())    fragment.startOffset = p0;    if (p1 != getEndOffset())    fragment.endOffset = p1;    return fragment;  }