Implement rangeText