public int selectToEnd(boolean extend) {
		if (mSize > 0) {
			if (extend && !isEmpty()) {
				if (mAnchor < 0) {
					mAnchor = firstSelectedIndex();
				}
				select(mAnchor, mSize - 1, true);
			} else {
				select(mSize - 1, false);
			}
			return mSize - 1;
		}
		return -1;
	}