Lines Matching defs:rangeLength
2266 int TextIterator::rangeLength(const Range* r, bool forSelectionPreservation)
2281 PassRefPtr<Range> TextIterator::rangeFromLocationAndLength(Element* scope, int rangeLocation, int rangeLength, bool forSelectionPreservation)
2286 int rangeEnd = rangeLocation + rangeLength;
2294 if (rangeLocation == 0 && rangeLength == 0 && it.atEnd()) {
2372 if (rangeLength != 0 && rangeEnd > docTextPosition) { // rangeEnd is out of bounds
2403 location = TextIterator::rangeLength(testRange.get());
2408 length = TextIterator::rangeLength(testRange.get()) - location;