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 590 int resultLocation = result->location + paragraph.checkingStart();
592 bool resultEndsAtAmbiguousBoundary = ambiguousBoundaryOffset >= 0 && resultLocation + resultLength == ambiguousBoundaryOffset;
599 if (shouldMarkSpelling && result->decoration == TextDecorationTypeSpelling && resultLocation >= paragraph.checkingStart() && resultLocation + resultLength <= spellingRangeEndOffset && !resultEndsAtAmbiguousBoundary) {
600 ASSERT(resultLength > 0 && resultLocation >= 0);
601 RefPtr<Range> misspellingRange = paragraph.subrange(resultLocation, resultLength);
603 } else if (shouldMarkGrammar && result->decoration == TextDecorationTypeGrammar && paragraph.checkingRangeCovers(resultLocation, resultLength)) {
604 ASSERT(resultLength > 0 && resultLocation >= 0);
608 if (paragraph.checkingRangeCovers(resultLocation + detail->location, detail->length)) {
609 RefPtr<Range> badGrammarRange = paragraph.subrange(resultLocation + detail->location, detail->length)
    [all...]

Completed in 113 milliseconds