Lines Matching full:grammardetail
225 String TextCheckingHelper::findFirstMisspellingOrBadGrammar(bool checkGrammar, bool& outIsSpelling, int& outFirstFoundOffset, GrammarDetail& outGrammarDetail)
296 const GrammarDetail* detail = &result->details[j];
356 int TextCheckingHelper::findFirstGrammarDetail(const Vector<GrammarDetail>& grammarDetails, int badGrammarPhraseLocation, int /*badGrammarPhraseLength*/, int startOffset, int endOffset, bool markAll)
364 const GrammarDetail* detail = &grammarDetails[i];
403 String TextCheckingHelper::findFirstBadGrammar(GrammarDetail& outGrammarDetail, int& outGrammarPhraseOffset, bool markAll)
423 Vector<GrammarDetail> grammarDetails;
480 GrammarDetail grammarDetail;
481 String badGrammarPhrase = const_cast<TextCheckingHelper*>(this)->findFirstBadGrammar(grammarDetail, grammarPhraseOffset, false);
491 ASSERT(grammarDetail.location >= 0 && grammarDetail.length > 0);
494 if (grammarDetail.location + grammarPhraseOffset)
498 if (grammarDetail.length != TextIterator::rangeLength(m_range.get()))
505 m_client->updateSpellingUIWithGrammarString(badGrammarPhrase, grammarDetail);
549 const GrammarDetail* detail = &result->details[j];
587 GrammarDetail ignoredGrammarDetail;