Searched defs:offsetAsRange (Results 1 - 1 of 1) sorted by relevance

/external/webkit/WebCore/editing/
H A DEditor.cpp1579 RefPtr<Range> offsetAsRange = Range::create(paragraphRange->startContainer(ec)->document(), paragraphRange->startPosition(), arbitraryRange->startPosition()); local
1580 offsetIntoParagraphAlignedRange = TextIterator::rangeLength(offsetAsRange.get());
1724 RefPtr<Range> offsetAsRange = Range::create(paragraphRange->startContainer(ec)->document(), paragraphRange->startPosition(), searchRange->startPosition()); local
1725 int searchRangeStartOffset = TextIterator::rangeLength(offsetAsRange.get());
2405 RefPtr<Range> offsetAsRange = Range::create(paragraphRange->startContainer(ec)->document(), paragraphRange->startPosition(), spellingRange->startPosition()); local
2406 spellingRangeStartOffset = TextIterator::rangeLength(offsetAsRange.get());
2419 RefPtr<Range> offsetAsRange = Range::create(paragraphRange->startContainer(ec)->document(), paragraphRange->startPosition(), paragraphRange->startPosition()); local
2421 offsetAsRange->setEnd(caretPosition.containerNode(), caretPosition.computeOffsetInContainerNode(), ec);
2423 selectionOffset = TextIterator::rangeLength(offsetAsRange.get());

Completed in 41 milliseconds