Searched refs:badGrammarPhraseLength (Results 1 - 2 of 2) sorted by relevance

/macosx-10.9.5/WebCore-7537.78.1/editing/
H A DTextCheckingHelper.cpp418 int TextCheckingHelper::findFirstGrammarDetail(const Vector<GrammarDetail>& grammarDetails, int badGrammarPhraseLocation, int /*badGrammarPhraseLength*/, int startOffset, int endOffset, bool markAll)
474 int badGrammarPhraseLength = 0; local
475 m_client->textChecker()->checkGrammarOfString(paragraph.textCharacters() + startOffset, paragraph.textLength() - startOffset, grammarDetails, &badGrammarPhraseLocation, &badGrammarPhraseLength);
477 if (!badGrammarPhraseLength) {
487 int badGrammarIndex = findFirstGrammarDetail(grammarDetails, badGrammarPhraseLocation, badGrammarPhraseLength, paragraph.checkingStart(), paragraph.checkingEnd(), markAll);
497 firstBadGrammarPhrase = paragraph.textSubstring(badGrammarPhraseLocation, badGrammarPhraseLength);
506 startOffset = badGrammarPhraseLocation + badGrammarPhraseLength;
H A DTextCheckingHelper.h91 int findFirstGrammarDetail(const Vector<GrammarDetail>& grammarDetails, int badGrammarPhraseLocation, int badGrammarPhraseLength, int startOffset, int endOffset, bool markAll);

Completed in 236 milliseconds