Lines Matching refs:badGrammarPhrase
1745 String badGrammarPhrase;
1757 badGrammarPhrase = foundItem;
1775 badGrammarPhrase = TextCheckingHelper(client(), grammarSearchRange).findFirstBadGrammar(grammarDetail, grammarPhraseOffset, false);
1781 if (startedWithSelection && !misspelledWord && !badGrammarPhrase) {
1793 badGrammarPhrase = foundItem;
1809 badGrammarPhrase = TextCheckingHelper(client(), grammarSearchRange).findFirstBadGrammar(grammarDetail, grammarPhraseOffset, false);
1814 if (!badGrammarPhrase.isEmpty()) {
1820 ASSERT(badGrammarPhrase.length() > 0);
1828 client()->updateSpellingUIWithGrammarString(badGrammarPhrase, grammarDetail);