HomeSort by relevance Sort by last modified time
    Searched full:resultlocation (Results 1 - 1 of 1) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/editing/
SpellChecker.cpp 562 int resultLocation = result->location + paragraph.checkingStart();
564 bool resultEndsAtAmbiguousBoundary = ambiguousBoundaryOffset >= 0 && resultLocation + resultLength == ambiguousBoundaryOffset;
571 if (shouldMarkSpelling && result->decoration == TextDecorationTypeSpelling && resultLocation >= paragraph.checkingStart() && resultLocation + resultLength <= spellingRangeEndOffset && !resultEndsAtAmbiguousBoundary) {
572 ASSERT(resultLength > 0 && resultLocation >= 0);
573 RefPtrWillBeRawPtr<Range> misspellingRange = paragraph.subrange(resultLocation, resultLength);
575 } else if (shouldMarkGrammar && result->decoration == TextDecorationTypeGrammar && paragraph.checkingRangeCovers(resultLocation, resultLength)) {
576 ASSERT(resultLength > 0 && resultLocation >= 0);
580 if (paragraph.checkingRangeCovers(resultLocation + detail->location, detail->length)) {
581 RefPtrWillBeRawPtr<Range> badGrammarRange = paragraph.subrange(resultLocation + detail->location, detail->length)
    [all...]

Completed in 457 milliseconds