Searched refs:resultRange (Results 1 – 3 of 3) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | PlainTextRange.cpp | 74 RefPtrWillBeRawPtr<Range> resultRange = scope.document().createRange(); in createRangeFor() local 90 resultRange->setStart(textRunRange->startContainer(), 0, ASSERT_NO_EXCEPTION); in createRangeFor() 91 resultRange->setEnd(textRunRange->startContainer(), 0, ASSERT_NO_EXCEPTION); in createRangeFor() 93 return resultRange.release(); in createRangeFor() 127 …resultRange->setStart(textRunRange->startContainer(), offset + textRunRange->startOffset(), IGNORE… in createRangeFor() 130 …resultRange->setStart(textRunRange->startContainer(), textRunRange->startOffset(), IGNORE_EXCEPTIO… in createRangeFor() 132 … resultRange->setStart(textRunRange->endContainer(), textRunRange->endOffset(), IGNORE_EXCEPTION); in createRangeFor() 139 …resultRange->setEnd(textRunRange->startContainer(), offset + textRunRange->startOffset(), IGNORE_E… in createRangeFor() 142 …resultRange->setEnd(textRunRange->startContainer(), textRunRange->startOffset(), IGNORE_EXCEPTION); in createRangeFor() 144 … resultRange->setEnd(textRunRange->endContainer(), textRunRange->endOffset(), IGNORE_EXCEPTION); in createRangeFor() [all …]
|
D | Editor.cpp | 1183 …RefPtrWillBeRawPtr<Range> resultRange = rangeOfString(target, selection.firstRange().get(), option… in findString() local 1185 if (!resultRange) in findString() 1188 m_frame.selection().setSelection(VisibleSelection(resultRange.get(), DOWNSTREAM)); in findString() 1219 …RefPtrWillBeRawPtr<Range> resultRange = Range::create(*resultStart.document(), resultStart, result… in findStringBetweenPositions() local 1220 if (!resultRange->collapsed()) in findStringBetweenPositions() 1221 return resultRange.release(); in findStringBetweenPositions() 1255 …RefPtrWillBeRawPtr<Range> resultRange = findStringBetweenPositions(target, searchStart, searchEnd,… in rangeOfString() local 1260 …if (resultRange && startInReferenceRange && areRangesEqual(VisibleSelection(resultRange.get()).toN… in rangeOfString() 1262 searchStart = resultRange->endPosition(); in rangeOfString() 1264 searchEnd = resultRange->startPosition(); in rangeOfString() [all …]
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | TextFinder.cpp | 271 …RefPtrWillBeRawPtr<Range> resultRange = Range::create(*resultStart.document(), resultStart, result… in scopeStringMatches() local 272 if (resultRange->collapsed()) { in scopeStringMatches() 284 IntRect resultBounds = resultRange->boundingBox(); in scopeStringMatches() 312 addMarker(resultRange.get(), foundActiveMatch); in scopeStringMatches() 314 m_findMatchesCache.append(FindMatch(resultRange.get(), m_lastMatchCount + matchCount)); in scopeStringMatches()
|