HomeSort by relevance Sort by last modified time
    Searched refs:badGrammarPhraseLocation (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/editing/
TextCheckingHelper.cpp 413 int TextCheckingHelper::findFirstGrammarDetail(const Vector<GrammarDetail>& grammarDetails, int badGrammarPhraseLocation, int startOffset, int endOffset, bool markAll) const
423 int detailStartOffsetInParagraph = badGrammarPhraseLocation + detail->location;
434 RefPtr<Range> badGrammarRange = TextIterator::subrange(m_range.get(), badGrammarPhraseLocation - startOffset + detail->location, detail->length);
468 int badGrammarPhraseLocation = -1;
470 m_client->textChecker()->checkGrammarOfString(paragraph.textSubstring(startOffset), grammarDetails, &badGrammarPhraseLocation, &badGrammarPhraseLength);
473 ASSERT(badGrammarPhraseLocation == -1);
477 ASSERT(badGrammarPhraseLocation >= 0);
478 badGrammarPhraseLocation += startOffset;
482 int badGrammarIndex = findFirstGrammarDetail(grammarDetails, badGrammarPhraseLocation, paragraph.checkingStart(), paragraph.checkingEnd(), markAll);
491 outGrammarPhraseOffset = badGrammarPhraseLocation - paragraph.checkingStart()
    [all...]
TextCheckingHelper.h 93 int findFirstGrammarDetail(const Vector<GrammarDetail>& grammarDetails, int badGrammarPhraseLocation, int startOffset, int endOffset, bool markAll) const;

Completed in 165 milliseconds