@Override
  public void moveToOffset(int offset, boolean locateBeforeSoftWrap) {
    if (offset < 0)
      offset = 0;
    myStart = myPos = myEnd = offset;
  }
@Override
  public void moveToOffset(int offset, boolean locateBeforeSoftWrap)