Home | History | Annotate | Download | only in editing

Lines Matching refs:badGrammarPhrase

230     String badGrammarPhrase;
307 badGrammarPhrase = paragraphString.substring(result->location, result->length);
308 ASSERT(badGrammarPhrase.length());
313 if (!misspelledWord.isEmpty() && (!checkGrammar || badGrammarPhrase.isEmpty() || spellingLocation <= grammarDetailLocation)) {
324 if (checkGrammar && !badGrammarPhrase.isEmpty()) {
332 firstFoundItem = badGrammarPhrase;
481 String badGrammarPhrase = const_cast<TextCheckingHelper*>(this)->findFirstBadGrammar(grammarDetail, grammarPhraseOffset, false);
484 if (badGrammarPhrase.isEmpty())
505 m_client->updateSpellingUIWithGrammarString(badGrammarPhrase, grammarDetail);
552 String badGrammarPhrase = paragraph.textSubstring(result->location, result->length);
553 ASSERT(badGrammarPhrase.length());
556 m_client->updateSpellingUIWithGrammarString(badGrammarPhrase, *detail);